Skip to content
Snippets Groups Projects
Commit 343f16df authored by Mahesh Jethanandani's avatar Mahesh Jethanandani
Browse files

Fix for bug#212

parent 5a370aa1
No related branches found
No related tags found
1 merge request!31Fix for bug#212
Pipeline #
......@@ -80,14 +80,14 @@
<instantiation-level>
<id>double</id>
<vdu-level>
<id>firewall</id>
<vdu-id>firewall</vdu-id>
<number-of-instances>2</number-of-instances>
</vdu-level>
</instantiation-level>
<instantiation-level>
<id>single</id>
<vdu-level>
<id>firewall</id>
<vdu-id>firewall</vdu-id>
<number-of-instances>1</number-of-instances>
</vdu-level>
</instantiation-level>
......@@ -175,14 +175,14 @@
<instantiation-level>
<id>double</id>
<vdu-level>
<id>router</id>
<vdu-id>router</vdu-id>
<number-of-instances>2</number-of-instances>
</vdu-level>
</instantiation-level>
<instantiation-level>
<id>single</id>
<vdu-level>
<id>router</id>
<vdu-id>router</vdu-id>
<number-of-instances>1</number-of-instances>
</vdu-level>
</instantiation-level>
......
......@@ -1610,7 +1610,7 @@ submodule etsi-nfv-vnf {
information element";
}
list vdu-level {
key "id";
key "vdu-id";
min-elements 1;
description
"Sets the number of instances for the VDU in this
......@@ -1618,7 +1618,8 @@ submodule etsi-nfv-vnf {
reference
"GS NFV IFA011: Section 7.1.8.7 InstantiationLevel
information element";
leaf id {
leaf vdu-id {
type leafref {
path "../../../../nfv:vdu/nfv:id";
}
......@@ -1631,10 +1632,10 @@ submodule etsi-nfv-vnf {
leaf number-of-instances {
type uint16;
must ". <= ../../../../nfv:df/" +
"nfv:vdu-profile[id=current()/../nfv:id]/" +
"nfv:vdu-profile[id=current()/../nfv:vdu-id]/" +
"nfv:max-number-of-instances";
must ". >= ../../../../nfv:df/" +
"nfv:vdu-profile[id=current()/../nfv:id]/" +
"nfv:vdu-profile[id=current()/../nfv:vdu-id]/" +
"nfv:min-number-of-instances";
default 1;
description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment