X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=vimconn_openstack.py;h=0907e6678c55e333017cdd3005f5059bbb6de9a2;hb=0c317ee648f2bec1c4fc2158ff3e4b6fb18e0ac5;hp=76e7e4c509521aaa5a018cc53e26f3d1f9336226;hpb=ae4a8d1771650d4016cb4e910b61670bb2478390;p=osm%2FRO.git diff --git a/vimconn_openstack.py b/vimconn_openstack.py index 76e7e4c5..0907e667 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"="