X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=vimconn_openstack.py;h=1c6227e77fa4c50fa08706febcd060558b4638ff;hp=76e7e4c509521aaa5a018cc53e26f3d1f9336226;hb=809a78061788fc197903303f89ceaf7ae1324599;hpb=1b8c143f19b163b5899164cd43c73c6e02a29895 diff --git a/vimconn_openstack.py b/vimconn_openstack.py index 76e7e4c5..1c6227e7 100644 --- a/vimconn_openstack.py +++ b/vimconn_openstack.py @@ -421,7 +421,7 @@ class vimconnector(vimconn.vimconnector): numa_properties["hw:cpu_policy"] = "isolated" for interface in numa.get("interfaces",() ): if interface["dedicated"]=="yes": - raise vimconn.HTTP_Service_Unavailable("Passthrough interfaces are not supported for the openstack connector") + 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"="