vCPE Tosca: use direct for vnic_type 57/86457/2
authorLianhao Lu <lianhao.lu@intel.com>
Sun, 28 Apr 2019 01:06:11 +0000 (09:06 +0800)
committerLianhao Lu <lianhao.lu@intel.com>
Sun, 28 Apr 2019 07:50:37 +0000 (15:50 +0800)
Since SDC onboarding DM has added the 'direct' value for vnic_type by
patch https://gerrit.onap.org/r/#/c/86346/, we need to use 'direct' for
SRIOV use case.

Change-Id: I2858195643e970e252e357c45ad1d919764ab20f
Issue-ID: INT-1037
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
tosca/vCPE/Definitions/onap_dm.yaml
tosca/vCPE/vbng/MainServiceTemplate_sriov.yaml
tosca/vCPE/vbrgemu/MainServiceTemplate_sriov.yaml
tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml
tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml

index bd185c7..80d1153 100644 (file)
@@ -1334,7 +1334,7 @@ node_types:
         description: Describes the type of the virtual network interface realizing the CPs instantiated from this CPD
         required: false
         constraints:
-        - valid_values: [ normal, virtio, direct-physical ]
+        - valid_values: [ direct, normal, virtio, direct-physical ]
       vnic_name: # Introduced from Beijing release, aligned with ONAP resource IM, outside the scope of SOL001 v2.5.1
         type: string
         required: false
index 99d217b..55c56e7 100644 (file)
@@ -285,7 +285,7 @@ topology_template:
                   floating_ip_activated: false
                   fixed_ip_address:
                     - { get_input: vbng_private_ip_0 }
-        vnic_type: "direct-physical"
+        vnic_type: "direct"
         virtual_network_interface_requirements:
           - name: "sriov-support"
             support_mandatory: true
@@ -332,7 +332,7 @@ topology_template:
                   floating_ip_activated: false
                   fixed_ip_address:
                     - { get_input: vbng_private_ip_3 }
-        vnic_type: "direct-physical"
+        vnic_type: "direct"
         virtual_network_interface_requirements:
           - name: "sriov-support"
             support_mandatory: true
index af778c2..abd948e 100644 (file)
@@ -189,7 +189,7 @@ topology_template:
                   floating_ip_activated: false
                   fixed_ip_address:
                     - { get_input: vbrgemu_private_ip_0 }
-        vnic_type: "direct-physical"
+        vnic_type: "direct"
         virtual_network_interface_requirements:
           - name: "sriov-support"
             support_mandatory: true
index 171f878..d197fb9 100644 (file)
@@ -252,7 +252,7 @@ topology_template:
                   floating_ip_activated: false
                   fixed_ip_address:
                     - { get_input: vgmux_private_ip_0 }
-        vnic_type: "direct-physical"
+        vnic_type: "direct"
         virtual_network_interface_requirements:
           - name: "sriov-support"
             support_mandatory: true
@@ -281,7 +281,7 @@ topology_template:
                   floating_ip_activated: false
                   fixed_ip_address:
                     - { get_input: vgmux_private_ip_2 }
-        vnic_type: "direct-physical"
+        vnic_type: "direct"
         virtual_network_interface_requirements:
           - name: "sriov-support"
             support_mandatory: true
index 4063f95..a9e2b47 100644 (file)
@@ -252,7 +252,7 @@ topology_template:
                   floating_ip_activated: false
                   fixed_ip_address:
                     - { get_input: vgw_private_ip_0 }
-        vnic_type: "direct-physical"
+        vnic_type: "direct"
         virtual_network_interface_requirements:
           - name: "sriov-support"
             support_mandatory: true