From aaf0b66c894b0a05fa3ce6a08a71047909e5a913 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Fri, 9 Apr 2021 16:09:07 +0100 Subject: Include 4.1.1 vduCp in deployment Node type was already added, but not include in the list of types to be deployed during install or upgrade Signed-off-by: MichaelMorris Issue-ID: SDC-3509 Change-Id: I71a3a9942cb7d5b6adb194b7e7f2aa4be6533ac6 --- .../src/main/resources/import/tosca/nfv-types/4.1.1/vduCp/vduCp.yml | 2 +- .../main/resources/scripts/sdcBePy/tosca/data/onapTypesToUpgrade.json | 1 + .../main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/4.1.1/vduCp/vduCp.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/4.1.1/vduCp/vduCp.yml index 5d1db0211d..622f5ed7bb 100644 --- a/catalog-be/src/main/resources/import/tosca/nfv-types/4.1.1/vduCp/vduCp.yml +++ b/catalog-be/src/main/resources/import/tosca/nfv-types/4.1.1/vduCp/vduCp.yml @@ -27,7 +27,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, macvtap, direct, baremetal, virtio-forwarder, direct-physical, smart-nic, bridge, ipvlan, loopback, macvlan, ptp, vlan, host-device ] + - valid_values: [ normal, macvtap, direct, baremetal, virtio, virtio-forwarder, direct-physical, smart-nic, bridge, ipvlan, loopback, macvlan, ptp, vlan, host-device ] requirements: - virtual_link: capability: tosca.capabilities.nfv.VirtualLinkable diff --git a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/data/onapTypesToUpgrade.json b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/data/onapTypesToUpgrade.json index 8167b09100..96c30e25f0 100644 --- a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/data/onapTypesToUpgrade.json +++ b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/data/onapTypesToUpgrade.json @@ -25,6 +25,7 @@ "VNF", "osContainer", "osContainerGroup", + "vduCp", "virtualCp" ], "onap": [ diff --git a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py index b6cfb9e264..0ee2d6ca99 100644 --- a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py +++ b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/models/normativeTypesList.py @@ -138,6 +138,7 @@ def get_nfv_4_1_1(base_file_location="/"): ["VNF", "osContainer", "osContainerGroup", + "vduCp", "virtualCp"]) def get_onap(base_file_location="/"): -- cgit 1.2.3-korg