projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vimconn.py: Better documentation.
[osm/RO.git]
/
nfvo.py
diff --git
a/nfvo.py
b/nfvo.py
index
4565f00
..
80a606b
100644
(file)
--- a/
nfvo.py
+++ b/
nfvo.py
@@
-2855,7
+2855,8
@@
def vim_action_create(mydb, tenant_id, datacenter, item, descriptor):
net_type = net.pop("type", "bridge")
net_public = net.pop("shared", False)
net_ipprofile = net.pop("ip_profile", None)
net_type = net.pop("type", "bridge")
net_public = net.pop("shared", False)
net_ipprofile = net.pop("ip_profile", None)
- content = myvim.new_network(net_name, net_type, net_ipprofile, shared=net_public, **net)
+ net_vlan = net.pop("vlan", None)
+ content = myvim.new_network(net_name, net_type, net_ipprofile, shared=net_public, vlan=net_vlan) #, **net)
elif item=="tenants":
tenant = descriptor["tenant"]
content = myvim.new_tenant(tenant["name"], tenant.get("description"))
elif item=="tenants":
tenant = descriptor["tenant"]
content = myvim.new_tenant(tenant["name"], tenant.get("description"))