From f3a40fd6e5601a484d3524fac6e044477e2eee8d Mon Sep 17 00:00:00 2001 From: Preethika Date: Thu, 18 Mar 2021 08:44:38 +0000 Subject: [PATCH] issue #39 segmentationType definition to subport level Signed-off-by: Preethika --- src/yang/etsi-nfv-vnf.yang | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/yang/etsi-nfv-vnf.yang b/src/yang/etsi-nfv-vnf.yang index 538addf..941cd21 100755 --- a/src/yang/etsi-nfv-vnf.yang +++ b/src/yang/etsi-nfv-vnf.yang @@ -619,25 +619,6 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.11, Information elements related to TrunkPort Topology."; } - leaf segmentation-type { - default "vlan"; - type enumeration { - enum "vlan"; - enum "inherit"; - } - description - "Specifies the encapsulation type for the traffics - coming in and out of the trunk subport. - Values: - • VLAN: the subport uses VLAN as encapsulation type. - • INHERIT: the subport gets its segmentation type - from the network it’s connected to. - - Cardinality 0 means default value VLAN is used."; - reference - "GS NFV IFA011: Section 7.1.6.11, Information elements - related to TrunkPort Topology."; - } list sub-port-list { key "sub-port-cpd"; @@ -658,6 +639,25 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.12, Information elements related to subport of a trunk parent port."; } + leaf segmentation-type { + default "vlan"; + type enumeration { + enum "vlan"; + enum "inherit"; + } + description + "Specifies the encapsulation type for the traffics + coming in and out of the trunk subport. + Values: + • VLAN: the subport uses VLAN as encapsulation type. + • INHERIT: the subport gets its segmentation type + from the network it’s connected to. + + Cardinality 0 means default value VLAN is used."; + reference + "GS NFV IFA011: Section 7.1.6.12, Information elements + related to to subport of a trunk parent port."; + } leaf segmentation-id { type uint32; description -- GitLab