Loading src/yang/etsi-nfv-vnf.yang +6 −21 Original line number Original line Diff line number Diff line Loading @@ -1328,8 +1328,10 @@ submodule etsi-nfv-vnf { element."; element."; } } uses local-affinity-or-anti-affinity-rule; uses local-affinity-or-anti-affinity-rule; list affinity-or-anti-affinity-group { list affinity-or-anti-affinity-group { key "id"; key "id"; description description "Identifier(s) of the affinity or anti-affinity "Identifier(s) of the affinity or anti-affinity group(s) the VDU belongs to."; group(s) the VDU belongs to."; Loading @@ -1349,29 +1351,9 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.8.12, AffinityOrAntiAffinity "GS NFV IFA011: Section 7.1.8.12, AffinityOrAntiAffinity information element."; information element."; } } leaf type { type enumeration { enum affinity; enum anti-affinity; } description "Specifies whether the rule is an affinity rule or an anti-affinity rule."; reference "GS NFV IFA011: Section 7.1.8.12, AffinityOrAntiAffinity information element."; } leaf scope { type affinity-scope; description "Specifies the scope of the rule, possible values are 'NFVI-PoP', 'Zone', 'ZoneGroup', 'NFVI-node'"; reference "GS NFV IFA011: Section 7.1.8.12, AffinityOrAntiAffinity information element."; } } } } } list virtual-link-profile { list virtual-link-profile { key "id flavor"; key "id flavor"; description description Loading Loading @@ -1403,6 +1385,7 @@ submodule etsi-nfv-vnf { information element."; information element."; } } uses local-affinity-or-anti-affinity-rule; uses local-affinity-or-anti-affinity-rule; list affinity-or-anti-affinity-group { list affinity-or-anti-affinity-group { key "id"; key "id"; leaf id { leaf id { Loading @@ -1420,6 +1403,7 @@ submodule etsi-nfv-vnf { information element."; information element."; } } } } list instantiation-level { list instantiation-level { key "id"; key "id"; min-elements 1; min-elements 1; Loading Loading @@ -1725,6 +1709,7 @@ submodule etsi-nfv-vnf { } } } } } } list affinity-or-anti-affinity-group { list affinity-or-anti-affinity-group { key "id"; key "id"; description description Loading Loading
src/yang/etsi-nfv-vnf.yang +6 −21 Original line number Original line Diff line number Diff line Loading @@ -1328,8 +1328,10 @@ submodule etsi-nfv-vnf { element."; element."; } } uses local-affinity-or-anti-affinity-rule; uses local-affinity-or-anti-affinity-rule; list affinity-or-anti-affinity-group { list affinity-or-anti-affinity-group { key "id"; key "id"; description description "Identifier(s) of the affinity or anti-affinity "Identifier(s) of the affinity or anti-affinity group(s) the VDU belongs to."; group(s) the VDU belongs to."; Loading @@ -1349,29 +1351,9 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.8.12, AffinityOrAntiAffinity "GS NFV IFA011: Section 7.1.8.12, AffinityOrAntiAffinity information element."; information element."; } } leaf type { type enumeration { enum affinity; enum anti-affinity; } description "Specifies whether the rule is an affinity rule or an anti-affinity rule."; reference "GS NFV IFA011: Section 7.1.8.12, AffinityOrAntiAffinity information element."; } leaf scope { type affinity-scope; description "Specifies the scope of the rule, possible values are 'NFVI-PoP', 'Zone', 'ZoneGroup', 'NFVI-node'"; reference "GS NFV IFA011: Section 7.1.8.12, AffinityOrAntiAffinity information element."; } } } } } list virtual-link-profile { list virtual-link-profile { key "id flavor"; key "id flavor"; description description Loading Loading @@ -1403,6 +1385,7 @@ submodule etsi-nfv-vnf { information element."; information element."; } } uses local-affinity-or-anti-affinity-rule; uses local-affinity-or-anti-affinity-rule; list affinity-or-anti-affinity-group { list affinity-or-anti-affinity-group { key "id"; key "id"; leaf id { leaf id { Loading @@ -1420,6 +1403,7 @@ submodule etsi-nfv-vnf { information element."; information element."; } } } } list instantiation-level { list instantiation-level { key "id"; key "id"; min-elements 1; min-elements 1; Loading Loading @@ -1725,6 +1709,7 @@ submodule etsi-nfv-vnf { } } } } } } list affinity-or-anti-affinity-group { list affinity-or-anti-affinity-group { key "id"; key "id"; description description Loading