Commit e092d97f authored by Mahesh Jethanandani's avatar Mahesh Jethanandani

Address bug#169

parent 537c2f8c
Pipeline #256 passed with stage
in 0 seconds
...@@ -1328,8 +1328,10 @@ submodule etsi-nfv-vnf { ...@@ -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.";
...@@ -1349,29 +1351,9 @@ submodule etsi-nfv-vnf { ...@@ -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
...@@ -1403,6 +1385,7 @@ submodule etsi-nfv-vnf { ...@@ -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 {
...@@ -1420,6 +1403,7 @@ submodule etsi-nfv-vnf { ...@@ -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;
...@@ -1725,6 +1709,7 @@ submodule etsi-nfv-vnf { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment