diff --git a/example-data/nfv.xml b/example-data/nfv.xml
index b755820714c122015aa4aa6ea65fa229db98d558..bd49ea32a01ca2f1d2d8b74e4dd26acbd531e48e 100644
--- a/example-data/nfv.xml
+++ b/example-data/nfv.xml
@@ -80,14 +80,14 @@
double
- firewall
+ firewall
2
single
- firewall
+ firewall
1
@@ -175,14 +175,14 @@
double
- router
+ router
2
single
- router
+ router
1
diff --git a/src/yang/etsi-nfv-vnf.yang b/src/yang/etsi-nfv-vnf.yang
index 7ac233894492e67b3330c1e88c2a5ffb4d66eec1..be22aa19fa9dd7294eaea0df27a1b022041e17e5 100755
--- a/src/yang/etsi-nfv-vnf.yang
+++ b/src/yang/etsi-nfv-vnf.yang
@@ -1589,7 +1589,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
@@ -1597,7 +1597,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";
}
@@ -1610,10 +1611,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