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
6b8c6407
Commit
6b8c6407
authored
Sep 24, 2019
by
Mahesh Jethanandani
Browse files
Address a syntax error
parent
e886caab
Pipeline
#1569
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/yang/etsi-nfv-descriptors.yang
View file @
6b8c6407
...
...
@@ -24,6 +24,7 @@ module etsi-nfv-descriptors {
container
nfv
{
list
vnfd
{
key
"id"
;
description
"A VNF Descriptor (VNFD) is a deployment template which
describes a VNF in terms of deployment and operational
...
...
src/yang/etsi-nfv-ns.yang
View file @
6b8c6407
...
...
@@ -418,7 +418,7 @@ submodule etsi-nfv-ns {
list
nfp-position-element
{
key
"id"
;
min-elements
1
;
min-elements
1
;
leaf
id
{
type
string
;
...
...
@@ -443,6 +443,7 @@ submodule etsi-nfv-ns {
}
}
}
container
pnf-profile
{
leaf
pnf-profile-id
{
must
". = deref(../../pnfd-profile-id)"
{
...
...
@@ -452,6 +453,7 @@ submodule etsi-nfv-ns {
}
}
}
container
ns-profile
{
leaf
ns-profile-id
{
must
". = deref(../../ns-profile-id)"
{
...
...
@@ -468,41 +470,41 @@ submodule etsi-nfv-ns {
CpdInConstituentElement information element"
;
}
choice
constituent-cpd-id
{
container
vnf
{
leaf
vnfd-id
{
must
". = deref(../../vnfd-profile-id)/../vnfd-id"
{
}
type
leafref
{
path
"/nfv:nfv/nfv:vnfd/nfv:id"
;
choice
constituent-cpd-id
{
container
vnf
{
leaf
vnfd-id
{
must
". = deref(../../vnfd-profile-id)/../vnfd-id"
{
}
type
leafref
{
path
"/nfv:nfv/nfv:vnfd/nfv:id"
;
}
}
}
leaf
cpd-id
{
type
leafref
{
path
"deref(../vnfd-id)/../nfv:ext-cpd/nfv:id"
;
leaf
cpd-id
{
type
leafref
{
path
"deref(../vnfd-id)/../nfv:ext-cpd/nfv:id"
;
}
}
}
container
pnf
{
leaf
pnfd-id
{
must
". = deref(../../pnfd-profile-id)/../pnfd-id"
{
}
type
leafref
{
path
"
../../../../../../
pnfd/id"
;
path
"
/nfv:nfv/nfv:
pnfd/
nfv:
id"
;
}
}
type
leafref
{
path
"/nfv:nfv/nfv:pnfd/nfv:id"
;
}
}
leaf
pnf-cpd-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
{
leaf
nsd-id
{
must
". = deref(../../nested-ns-profile-id)/"
+
"../nsd-id"
{
"../nsd-id"
{
}
type
leafref
{
...
...
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