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