X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=vimconn_openstack.py;h=35cffaeac9ba67923722fb31f4d1bc870e760fa4;hb=ae3fa6137b603b4d6b44e8c7897427a7e535b2a7;hp=2c238db6cc5f877eeb924febef1437d926dd5289;hpb=3fbff9b6666ea4981e953c98d236b54fb86c583b;p=osm%2FRO.git diff --git a/vimconn_openstack.py b/vimconn_openstack.py index 2c238db6..35cffaea 100644 --- a/vimconn_openstack.py +++ b/vimconn_openstack.py @@ -389,7 +389,7 @@ class vimconnector(vimconn.vimconnector): subnet = {"id": subnet_id, "fault": str(e)} subnets.append(subnet) net["subnets"] = subnets - net["network_type"] = net.get('provider:network_type') + net["encapsulation"] = net.get('provider:network_type') net["segmentation_id"] = net.get('provider:segmentation_id') return net @@ -552,10 +552,10 @@ class vimconnector(vimconn.vimconnector): elif 'threads' in numa: vcpus = numa['threads'] numa_properties["hw:cpu_policy"] = "isolated" - for interface in numa.get("interfaces",() ): - if interface["dedicated"]=="yes": - raise vimconn.vimconnException("Passthrough interfaces are not supported for the openstack connector", http_code=vimconn.HTTP_Service_Unavailable) - #TODO, add the key 'pci_passthrough:alias"="