WIP: Added VIO support for PCI-PT interfaces 13/9013/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 27 May 2020 09:48:48 +0000 (09:48 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Mon, 1 Jun 2020 07:27:34 +0000 (07:27 +0000)
Change-Id: I9707515fbd15567ac6c51764f1c0b34ccd935a84
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py

index f1cccf6..e392ca7 100644 (file)
@@ -1260,13 +1260,6 @@ class vimconnector(vimconn.vimconnector):
                         port_dict["provider_security_groups"]=[]
                         port_dict["security_groups"]=[]
                 else:   # For PT PCI-PASSTHROUGH
-                    # VIO specific Changes
-                    # Current VIO release does not support port with type 'direct-physical'
-                    # So no need to create virtual port in case of PCI-device.
-                    # Will update port_dict code when support gets added in next VIO release
-                    if self.vim_type == "VIO":
-                        raise vimconn.vimconnNotSupportedException(
-                            "Current VIO release does not support full passthrough (PT)")
                     # if "vpci" in net:
                     #     if "PF" not in metadata_vpci:
                     #         metadata_vpci["PF"]=[]