Commit b83e4882 authored by Mahesh Jethanandani's avatar Mahesh Jethanandani
Browse files

Bug#253

parent 2f4f6fe9
Pipeline #1521 passed with stage
in 0 seconds
...@@ -418,7 +418,7 @@ submodule etsi-nfv-ns { ...@@ -418,7 +418,7 @@ submodule etsi-nfv-ns {
list nfp-position-element { list nfp-position-element {
key "id"; key "id";
min-elements 1; min-elements 1;
leaf id { leaf id {
type string; type string;
...@@ -468,18 +468,19 @@ submodule etsi-nfv-ns { ...@@ -468,18 +468,19 @@ submodule etsi-nfv-ns {
CpdInConstituentElement information element"; CpdInConstituentElement information element";
} }
choice constituent-cpd-id { choice constituent-cpd-id {
container vnf { container vnf {
leaf vnfd-id { leaf vnfd-id {
must ". = deref(../../vnfd-profile-id)/../vnfd-id" { must ". = deref(../../vnfd-profile-id)/../vnfd-id" {
} }
type leafref { type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:id"; path "/nfv:nfv/nfv:vnfd/nfv:id";
}
} }
} leaf cpd-id {
leaf cpd-id { type leafref {
type leafref { path "deref(../vnfd-id)/../nfv:ext-cpd/nfv:id";
path "deref(../vnfd-id)/../nfv:ext-cpd/nfv:id"; }
} }
} }
container pnf { container pnf {
...@@ -487,16 +488,13 @@ submodule etsi-nfv-ns { ...@@ -487,16 +488,13 @@ submodule etsi-nfv-ns {
must ". = deref(../../pnfd-profile-id)/../pnfd-id" { must ". = deref(../../pnfd-profile-id)/../pnfd-id" {
} }
type leafref { type leafref {
path "../../../../../../pnfd/id"; path "/nfv:nfv/nfv:pnfd/nfv:id";
} }
} }
type leafref { leaf pnf-cpd-id {
path "/nfv:nfv/nfv:pnfd/nfv:id"; type leafref {
} path "deref(../pnfd-id)/../nfv:ext-cpd/nfv:id";
} }
leaf pnf-cpd-id {
type leafref {
path "deref(../pnfd-id)/../nfv:ext-cpd/nfv:id";
} }
} }
container ns { container ns {
...@@ -525,7 +523,7 @@ submodule etsi-nfv-ns { ...@@ -525,7 +523,7 @@ submodule etsi-nfv-ns {
CpdInConstituentElement information element"; CpdInConstituentElement information element";
} }
description description
"Identifies a CPD or SAPD in the context of a profile "Specifies a CPD or SAPD in the context of a profile
of an NS constituent element."; of an NS constituent element.";
reference reference
"GS NFV IFA014: Section 6.4.6.2 NfpPositionElement "GS NFV IFA014: Section 6.4.6.2 NfpPositionElement
......
...@@ -4,7 +4,7 @@ module etsi-nfv-nsd { ...@@ -4,7 +4,7 @@ module etsi-nfv-nsd {
prefix nsd; prefix nsd;
import etsi-nfv-descriptors { import etsi-nfv-descriptors {
prefix vnf; prefix nfv;
} }
organization organization
...@@ -13,6 +13,11 @@ module etsi-nfv-nsd { ...@@ -13,6 +13,11 @@ module etsi-nfv-nsd {
description description
"Network Services Descriptors"; "Network Services Descriptors";
revision 2019-10-01 {
description
"Revision 2.7.1.
NSD according to ETSI GS NFV-IFA 014 Ed271v264.";
}
revision 2019-04-25 { revision 2019-04-25 {
description description
"Initial revision. "Initial revision.
...@@ -23,7 +28,7 @@ module etsi-nfv-nsd { ...@@ -23,7 +28,7 @@ module etsi-nfv-nsd {
list nsd { list nsd {
key "id"; key "id";
max-elements 1; max-elements 1;
uses vnf:nsd; uses nfv:nsd;
description description
"The NSD information element is a deployment template whose "The NSD information element is a deployment template whose
instances are used by the NFVO for the lifecycle management instances are used by the NFVO for the lifecycle management
......
Supports Markdown
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