From f50a2ad4f8b12243d73bc1ae0940da0c0965cd88 Mon Sep 17 00:00:00 2001 From: Alexis Romero Date: Fri, 29 Apr 2022 11:29:57 +0200 Subject: [PATCH 1/2] Package for testing bug 2013 in test Basic24 - affinity groups as instantiation parameters Signed-off-by: Alexis Romero --- affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml diff --git a/affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml b/affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml new file mode 100644 index 00000000..e3dbb5fd --- /dev/null +++ b/affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml @@ -0,0 +1,36 @@ +nsd: + nsd: + - description: Simple NS with two VNFs and a single VL + df: + - id: default-df + vnf-profile: + - id: 'affinity-basic-1' + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: 'affinity-basic-1' + constituent-cpd-id: vnf-cp0-ext-1 + virtual-link-profile-id: mgmtnet + - constituent-cpd-id: + - constituent-base-element-id: 'affinity-basic-1' + constituent-cpd-id: vnf-cp0-ext-2 + virtual-link-profile-id: mgmtnet + vnfd-id: affinity_basic-vnf + - id: 'affinity-basic-2' + virtual-link-connectivity: + - constituent-cpd-id: + - constituent-base-element-id: 'affinity-basic-2' + constituent-cpd-id: vnf-cp0-ext-1 + virtual-link-profile-id: mgmtnet + - constituent-cpd-id: + - constituent-base-element-id: 'affinity-basic-2' + constituent-cpd-id: vnf-cp0-ext-2 + virtual-link-profile-id: mgmtnet + vnfd-id: affinity_basic-vnf + id: affinity_2vnfs-ns + name: affinity_2vnfs-ns + version: '1.0' + virtual-link-desc: + - id: mgmtnet + mgmt-network: true + vnfd-id: + - affinity_basic-vnf -- GitLab From 23fa5fc38d50547c8259f754c580619813899698 Mon Sep 17 00:00:00 2001 From: romeromonser Date: Thu, 12 May 2022 14:13:43 +0000 Subject: [PATCH 2/2] Update affinity_2vnfs_nsd.yaml to remove single quotes in vnf profile id --- affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml b/affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml index e3dbb5fd..fb20a039 100644 --- a/affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml +++ b/affinity_2vnfs_ns/affinity_2vnfs_nsd.yaml @@ -4,25 +4,25 @@ nsd: df: - id: default-df vnf-profile: - - id: 'affinity-basic-1' + - id: affinity-basic-1 virtual-link-connectivity: - constituent-cpd-id: - - constituent-base-element-id: 'affinity-basic-1' + - constituent-base-element-id: affinity-basic-1 constituent-cpd-id: vnf-cp0-ext-1 virtual-link-profile-id: mgmtnet - constituent-cpd-id: - - constituent-base-element-id: 'affinity-basic-1' + - constituent-base-element-id: affinity-basic-1 constituent-cpd-id: vnf-cp0-ext-2 virtual-link-profile-id: mgmtnet vnfd-id: affinity_basic-vnf - - id: 'affinity-basic-2' + - id: affinity-basic-2 virtual-link-connectivity: - constituent-cpd-id: - - constituent-base-element-id: 'affinity-basic-2' + - constituent-base-element-id: affinity-basic-2 constituent-cpd-id: vnf-cp0-ext-1 virtual-link-profile-id: mgmtnet - constituent-cpd-id: - - constituent-base-element-id: 'affinity-basic-2' + - constituent-base-element-id: affinity-basic-2 constituent-cpd-id: vnf-cp0-ext-2 virtual-link-profile-id: mgmtnet vnfd-id: affinity_basic-vnf -- GitLab