Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL006
Commits
b83e4882
Commit
b83e4882
authored
Sep 16, 2019
by
Mahesh Jethanandani
Browse files
Bug#253
parent
2f4f6fe9
Pipeline
#1521
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/yang/etsi-nfv-ns.yang
View file @
b83e4882
...
@@ -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
"
Ident
ifies a CPD or SAPD in the context of a profile
"
Spec
ifies 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
...
...
src/yang/etsi-nfv-nsd.yang
View file @
b83e4882
...
@@ -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
v
nf
;
prefix
nf
v
;
}
}
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
v
nf
:
nsd
;
uses
nf
v
:
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment