Commit c04eafec authored by Mahesh Jethanandani's avatar Mahesh Jethanandani

added a missing mandatory statement

parent 851a4b3e
Pipeline #249 passed with stage
in 0 seconds
...@@ -446,33 +446,34 @@ submodule etsi-nfv-ns { ...@@ -446,33 +446,34 @@ submodule etsi-nfv-ns {
} }
choice constituent-base-element-id { choice constituent-base-element-id {
container vnf-profile { mandatory "true";
leaf vnf-profile-id { container vnf-profile {
must ". = deref(../../vnfd-profile-id)" { leaf vnf-profile-id {
} must ". = deref(../../vnfd-profile-id)" {
type leafref { }
path "/nfv/nsd/df/vnf-profile/id"; type leafref {
} path "/nfv/nsd/df/vnf-profile/id";
} }
} }
container pnf-profile { }
leaf pnf-profile-id { container pnf-profile {
must ". = deref(../../pnfd-profile-id)" { leaf pnf-profile-id {
} must ". = deref(../../pnfd-profile-id)" {
type leafref { }
path "/nfv/nsd/df/pnf-profile/id"; type leafref {
} path "/nfv/nsd/df/pnf-profile/id";
} }
} }
}
container ns-profile { container ns-profile {
leaf ns-profile-id { leaf ns-profile-id {
must ". = deref(../../ns-profile-id)" { must ". = deref(../../ns-profile-id)" {
} }
type leafref { type leafref {
path "/nfv/nsd/df/ns-profile/id"; path "/nfv/nsd/df/ns-profile/id";
} }
} }
} }
description description
"Reference to the profile of an NS constituent."; "Reference to the profile of an NS constituent.";
reference reference
......
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