summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2018-11-13 11:41:16 +0800
committerPamela Dragosh <pdragosh@research.att.com>2018-11-13 13:52:25 +0000
commite51d784579da98ae10b9568c259394cfcddcb686 (patch)
tree7a0393616a178fb65079814d8ed1c19d447efddf
parenta8ceb88ad6f3ce90b00283bd88ff680e6b0a149f (diff)
s3p: Remove temporary workaround
Since bug POLICY-1254 has been fixed, remove the workaround for it. Change-Id: I40a706b439b8db8530299921c8a59ef04e0d250d Issue-ID: POLICY-837 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> (cherry picked from commit 9b18d4f702586fd022fd142f0f23e5a0e3b24359)
-rw-r--r--s3p/templates/interfaceType/Definitions/resource-Vgw1181049-template.yml7
-rw-r--r--s3p/templates/pciDeviceId/Definitions/resource-Vgw1181049-template.yml5
-rw-r--r--s3p/templates/pciNumDevices/Definitions/resource-Vgw1181049-template.yml5
-rw-r--r--s3p/templates/pciVendorId/Definitions/resource-Vgw1181049-template.yml7
4 files changed, 10 insertions, 14 deletions
diff --git a/s3p/templates/interfaceType/Definitions/resource-Vgw1181049-template.yml b/s3p/templates/interfaceType/Definitions/resource-Vgw1181049-template.yml
index 0d4423e9..520287b4 100644
--- a/s3p/templates/interfaceType/Definitions/resource-Vgw1181049-template.yml
+++ b/s3p/templates/interfaceType/Definitions/resource-Vgw1181049-template.yml
@@ -213,10 +213,9 @@ topology_template:
layer_protocol:
- ipv4
requirements:
- # Uncomment when POLICY-1254 fixed
- #- virtual_link:
- # capability: virtual_linkable
- # node: VL_mux_gw_private_net
+ - virtual_link:
+ capability: virtual_linkable
+ node: VL_mux_gw_private_net
- virtual_binding:
capability: virtual_binding
node: VDU_vgw_0
diff --git a/s3p/templates/pciDeviceId/Definitions/resource-Vgw1181049-template.yml b/s3p/templates/pciDeviceId/Definitions/resource-Vgw1181049-template.yml
index edb4ba1b..76087a6e 100644
--- a/s3p/templates/pciDeviceId/Definitions/resource-Vgw1181049-template.yml
+++ b/s3p/templates/pciDeviceId/Definitions/resource-Vgw1181049-template.yml
@@ -210,9 +210,8 @@ topology_template:
virtual_network_interface_requirements:
- name: "sriov-support"
support_mandatory: true
- # Uncomment when POLICY-1254 fixed
- #network_interface_requirements:
- # interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
+ network_interface_requirements:
+ interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
nic_io_requirements:
logical_node_requirements:
pciDeviceId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "5678"}'
diff --git a/s3p/templates/pciNumDevices/Definitions/resource-Vgw1181049-template.yml b/s3p/templates/pciNumDevices/Definitions/resource-Vgw1181049-template.yml
index 73c05454..62f4cae7 100644
--- a/s3p/templates/pciNumDevices/Definitions/resource-Vgw1181049-template.yml
+++ b/s3p/templates/pciNumDevices/Definitions/resource-Vgw1181049-template.yml
@@ -210,9 +210,8 @@ topology_template:
virtual_network_interface_requirements:
- name: "sriov-support"
support_mandatory: true
- # Uncomment when POLICY-1254 fixed
- #network_interface_requirements:
- # interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
+ network_interface_requirements:
+ interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
nic_io_requirements:
logical_node_requirements:
pciNumDevices: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1"}'
diff --git a/s3p/templates/pciVendorId/Definitions/resource-Vgw1181049-template.yml b/s3p/templates/pciVendorId/Definitions/resource-Vgw1181049-template.yml
index f5d3ef82..55fe2ba8 100644
--- a/s3p/templates/pciVendorId/Definitions/resource-Vgw1181049-template.yml
+++ b/s3p/templates/pciVendorId/Definitions/resource-Vgw1181049-template.yml
@@ -143,7 +143,7 @@ topology_template:
configurable_properties:
additional_vnfc_configurable_properties: {
}
- name: vdu_vgw_0
+ name: vdu_vgw
description: vgw
vdu_profile:
watchdog: none
@@ -210,9 +210,8 @@ topology_template:
virtual_network_interface_requirements:
- name: "sriov-support"
support_mandatory: true
- # Uncomment when POLICY-1254 fixed
- #network_interface_requirements:
- # interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
+ network_interface_requirements:
+ interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
nic_io_requirements:
logical_node_requirements:
pciVendorId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1234"}'