You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will run a simulation on a provided GraphML network file and a YAML placement file for a duration of 20 timesteps.
@@ -95,7 +95,7 @@ This will run a simulation on a provided GraphML network file and a YAML placeme
95
95
96
96
By default, all SFs have a node resource consumption, which exactly equals the aggregated traffic that they have to handle.
97
97
98
-
It is possible to specify arbitrary other resource consumption models simply by implementing a python module with a
98
+
It is possible to specify arbitrary other resource consumption models simply by implementing a python module with a
99
99
function `resource_function(load)` (see examples [here](https://github.com/RealVNF/coordination-simulation/tree/master/params/services/resource_functions)).
100
100
101
101
To use these modules, they need to be referenced in the service file:
@@ -113,6 +113,15 @@ And the path to the folder with the Python modules needs to be passed via the `-
113
113
See PR https://github.com/RealVNF/coordination-simulation/pull/78 for details.
114
114
115
115
116
+
### Egress nodes
117
+
118
+
- A node can be set to be a `Egress` node in the `NodeType` attribute of the network file
119
+
- If some nodes are set as `Egress` then only the simulator will randomly choose one of them as the Egress node for each flow in the network
120
+
- If some nodes are set to be Egress then once the flow is processed we check if for the flow, `current node == egress node` . If Yes then we depart , otherwise we forward the flow to the egress_node using the shortest_path routing.
121
+
-**Todo**: Ideally the coordination algorithms should keep the path(Ingress to Egress) of the flow in view while creating the schedule/placement.
122
+
123
+
See [PR 137](https://github.com/RealVNF/coord-sim/pull/137) for details.
0 commit comments