From ed44393c10548b712a4c9c55f5d51c9e01554c2b Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Sun, 28 Apr 2019 09:06:11 +0800 Subject: vCPE Tosca: use direct for vnic_type 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 --- tosca/vCPE/Definitions/onap_dm.yaml | 2 +- tosca/vCPE/vbng/MainServiceTemplate_sriov.yaml | 4 ++-- tosca/vCPE/vbrgemu/MainServiceTemplate_sriov.yaml | 2 +- tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml | 4 ++-- tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tosca/vCPE/Definitions/onap_dm.yaml b/tosca/vCPE/Definitions/onap_dm.yaml index bd185c75..80d1153d 100644 --- a/tosca/vCPE/Definitions/onap_dm.yaml +++ b/tosca/vCPE/Definitions/onap_dm.yaml @@ -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 diff --git a/tosca/vCPE/vbng/MainServiceTemplate_sriov.yaml b/tosca/vCPE/vbng/MainServiceTemplate_sriov.yaml index 99d217b3..55c56e74 100644 --- a/tosca/vCPE/vbng/MainServiceTemplate_sriov.yaml +++ b/tosca/vCPE/vbng/MainServiceTemplate_sriov.yaml @@ -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 diff --git a/tosca/vCPE/vbrgemu/MainServiceTemplate_sriov.yaml b/tosca/vCPE/vbrgemu/MainServiceTemplate_sriov.yaml index af778c25..abd948e4 100644 --- a/tosca/vCPE/vbrgemu/MainServiceTemplate_sriov.yaml +++ b/tosca/vCPE/vbrgemu/MainServiceTemplate_sriov.yaml @@ -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 diff --git a/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml b/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml index 171f8782..d197fb93 100644 --- a/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml +++ b/tosca/vCPE/vgmux/MainServiceTemplate_sriov.yaml @@ -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 diff --git a/tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml b/tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml index 4063f957..a9e2b47e 100644 --- a/tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml +++ b/tosca/vCPE/vgw/MainServiceTemplate_sriov.yaml @@ -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 -- cgit 1.2.3-korg