summaryrefslogtreecommitdiff
path: root/opendc-core/src
AgeCommit message (Collapse)Author
2017-09-28Implement JPA integrationFabian Mastenbroek
2017-09-24Allow listening to changes of topologyFabian Mastenbroek
2017-09-24Allow mutation of topology during simulationFabian Mastenbroek
2017-09-21Create simple datacenter experimentFabian Mastenbroek
2017-09-20Allow suspendable processing of message envelopesFabian Mastenbroek
This change allows a process to suspend within a receive block.
2017-09-20Add support for timeouts on receive callsFabian Mastenbroek
This change allows processes to set a timeout when waiting for a message to arrive.
2017-09-20Improve simulation time managementFabian Mastenbroek
2017-09-18Refactor and split up code baseFabian Mastenbroek
This change splits up the current code base into three different module: - opendc-core - This module defines the API which you can use to write simulatable entities in a topology. - opendc-omega - This module is the reference implementation of the API defined the `opendc-core` module. - opendc-stdlib - This module provides a standard library of entities which can be used for datacenter simulation.
2017-09-08Make edges a property of a nodeFabian Mastenbroek
This change converts the ingoingEdges() and outgoingEdges() to a property in Kotlin. This better conveys the meaning of the attribute and is more in line with a Kotlin design.
2017-09-08Remove obsolete messaging classesFabian Mastenbroek
This change removes some unused messaging classes, which have become obselete after the design change.
2017-09-08Allow easier construction of graph via TopologyBuilderFabian Mastenbroek
This change allows for easier construction of a topology.
2017-09-08Refactor default Simulator implementationFabian Mastenbroek
This change refactors the default Simulator implementation, reformatting the code, adding input validation and extracting common code.
2017-09-06Implement time jumps to next eventFabian Mastenbroek
This change implements a time jump to the next event in the queue if there are no events scheduled for the current tick.
2017-09-06Move default Simulator into own packageFabian Mastenbroek
This change moves the default Simulator implementation into its own package called 'omega'.
2017-09-06Rename kernel package to simulatorFabian Mastenbroek
This change renames the package named 'kernel' to 'simulator' to better convey the use of this package.
2017-09-06Separate Simulator interface and implementationFabian Mastenbroek
This change separates the Simulator interface from one of its possible implementations. This allows us to easily swap simulators between experiments.
2017-09-05Rename sleep() to wait()Fabian Mastenbroek
This change renames the sleep(n) method to wait(n) to make clear that the method will not cause the thread to sleep, but instead suspends the kernel and allows other kernels to still run during the waiting period.
2017-09-05Fix bug in helper methods in NodeFabian Mastenbroek
This change fixes a bug where an incorrect value was cast and returned by helper methods in the Node module.
2017-09-05Provide Set interface for TopologyFabian Mastenbroek
This change makes the Topology interface implement the Set interface to provide common methods like checking whether a node is part of the given topology.
2017-09-04Move simulation kernels into topology entitiesFabian Mastenbroek
This change embeds simulation kernels into the entities and relations of the topology.
2017-09-01Add notion of initial states of entitiesFabian Mastenbroek
This change adds a notion of entities having an initial state specified in the topology.
2017-09-01Finish basic implementation of simulatorFabian Mastenbroek
This change introduces a basic coroutine-based simulator implementation. The simulator currently misses the crucial ability to send messages over channels, which will be implemented in later commits.
2017-08-10Start implementation of new architectureFabian Mastenbroek
This change introduces a new architecture based on implicit, untyped connections between nodes in the topology of a cloud network. This model assumes that entities can only communicate to other entities directly if they are connected via a channel (edge).
2017-08-08Add job identifier and nameFabian Mastenbroek
2017-08-08Rename data center to datacenterFabian Mastenbroek
2017-08-08Fix copyright headers and licenseFabian Mastenbroek
This change fixes the copyright headers and license of the project in order to assign the copyright to atlarge-research.
2017-08-08Create initial architectureFabian Mastenbroek
This change adds the initial architecture of the Kotlin rewrite. The representation of the topology of a cloud network is unfinished and I am still not sure what would be the best way to represent it.