From fcd813a13fc5a32aca1e12471c580716bf646df1 Mon Sep 17 00:00:00 2001 From: Preethika Date: Fri, 27 May 2022 07:17:08 +0000 Subject: [PATCH] issue #55 New Scope for affinityorantiaffinity IFA014 Signed-off-by: Preethika --- src/yang/etsi-nfv-common.yang | 2 ++ src/yang/etsi-nfv-ns.yang | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/src/yang/etsi-nfv-common.yang b/src/yang/etsi-nfv-common.yang index 8088299..ac87a2a 100644 --- a/src/yang/etsi-nfv-common.yang +++ b/src/yang/etsi-nfv-common.yang @@ -413,6 +413,8 @@ submodule etsi-nfv-common { enum "zone"; enum "nfvi-pop"; enum "network-link-and-node"; + enum "L2-network"; + enum "conatiner_namespace"; } } diff --git a/src/yang/etsi-nfv-ns.yang b/src/yang/etsi-nfv-ns.yang index aa0b909..208939e 100644 --- a/src/yang/etsi-nfv-ns.yang +++ b/src/yang/etsi-nfv-ns.yang @@ -927,6 +927,18 @@ submodule etsi-nfv-ns { element"; } } + + leaf-list affinity-or-anti-affinity-group-id { + type leafref { + path "../../../affinity-or-anti-affinity-group/id"; + } + description + "Reference(s) the affinity or anti-affinity + group(s) the NsVirtualLinkConnectivity belong to."; + reference + "GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity + information element."; + } } leaf service-availability-level { @@ -1032,6 +1044,18 @@ submodule etsi-nfv-ns { element"; } } + + leaf-list affinity-or-anti-affinity-group-id { + type leafref { + path "../../../affinity-or-anti-affinity-group/id"; + } + description + "Reference(s) the affinity or anti-affinity + group(s) the NsVirtualLinkConnectivity belong to."; + reference + "GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity + information element."; + } } } @@ -1374,6 +1398,8 @@ submodule etsi-nfv-ns { • NFVI_NODE • NFVI_POP • NETWORK_LINK_AND_NODE + • L2_NETWORK + • CONTAINER_NAMESPACE • etc."; reference "GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity @@ -1756,6 +1782,18 @@ submodule etsi-nfv-ns { element"; } } + + leaf-list affinity-or-anti-affinity-group-id { + type leafref { + path "../../../affinity-or-anti-affinity-group/id"; + } + description + "Reference(s) the affinity or anti-affinity + group(s) the NsVirtualLinkConnectivity belong to."; + reference + "GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity + information element."; + } } } -- GitLab