Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
78002fec
Commit
78002fec
authored
Jan 30, 2018
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug: we where not get the largest VM for multicast
parent
af9d245f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
dum_planner.py
drip_planner2/src/planner/dum_planner.py
+1
-2
dum_planner.pyc
drip_planner2/src/planner/dum_planner.pyc
+0
-0
No files found.
drip_planner2/src/planner/dum_planner.py
View file @
78002fec
...
...
@@ -41,7 +41,7 @@ class DumpPlanner:
return
self
.
yaml_dict_tpl
[
'topology_template'
][
'node_templates'
]
def
get_network_templates
(
self
):
if
'network_templates'
in
self
.
yaml_dict_tpl
:
if
'network_templates'
in
self
.
yaml_dict_tpl
[
'topology_template'
]
:
return
self
.
yaml_dict_tpl
[
'topology_template'
][
'network_templates'
]
else
:
return
None
...
...
@@ -102,7 +102,6 @@ class DumpPlanner:
def
plan
(
self
,
max_vms
):
network_templates
=
self
.
get_network_templates
()
vms
=
[]
print
network_templates
if
network_templates
and
network_templates
[
'network'
]
and
network_templates
[
'network'
][
'multicast'
]
==
True
:
vm
=
{}
vm
[
'name'
]
=
'id'
...
...
drip_planner2/src/planner/dum_planner.pyc
View file @
78002fec
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment