X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=nfvo.py;h=80a606ba91c995f8d524c29385af53ff2cec036d;hb=a7d34d04639c12d4260518c6e92f3f5701f5e150;hp=4565f00a164c2d036ce8905600d5000a0285e206;hpb=d6ee554499316e21f44efab0b2187b9b7e34f13d;p=osm%2FRO.git diff --git a/nfvo.py b/nfvo.py index 4565f00a..80a606ba 100644 --- 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) - 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"))