Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added VNF resource consumption functions #78

Merged
merged 11 commits into from
Aug 22, 2019
Prev Previous commit
Next Next commit
Satisfy pedantic flake8
  • Loading branch information
ldklenner committed Aug 21, 2019
commit 389fbb613db36cbf394ece5a856171858e88dce3
2 changes: 1 addition & 1 deletion params/services/resource_functions/A.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def resource_function(load):
return load
return load
2 changes: 1 addition & 1 deletion params/services/resource_functions/B.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def resource_function(load):
return load
return load
2 changes: 0 additions & 2 deletions src/coordsim/simulation/simulatorparams.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ def __init__(self, network, ing_nodes, sfc_list, sf_list, config, seed, schedule
for sf in placed_sf_list:
available_sf[sf] = self.network.nodes[node_id]['available_sf'].get(sf, {'load': 0.0})
self.network.nodes[node_id]['available_sf'] = available_sf


# Flow interarrival exponential distribution mean: float
self.inter_arr_mean = config['inter_arrival_mean']
# Flow data rate normal distribution mean: float
Expand Down