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
ddcea57e
Commit
ddcea57e
authored
Mar 14, 2019
by
jethanandani
Browse files
Merge branch 'bug#133' into 'master'
Proposed fix for Bug#133 See merge request
!19
parents
eef9411d
4f3146d2
Pipeline
#409
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/yang/etsi-nfv-ns.yang
View file @
ddcea57e
...
...
@@ -146,63 +146,66 @@ submodule etsi-nfv-ns {
"GS NFV IFA014: Section 6.2.3.2 Sapd information element"
;
}
leaf
virtual-link-desc
{
type
leafref
{
path
"../../virtual-link-desc/id"
;
choice
cpd-or-virtual-link
{
leaf
virtual-link-desc
{
type
leafref
{
path
"../../virtual-link-desc/id"
;
}
description
"References the descriptor of the NS VL instance to
which the SAP instantiated from this SAPD connects to."
;
reference
"GS NFV IFA014: Section 6.2.3.2 Sapd information element"
;
}
description
"References the descriptor of the NS VL instance to
which the SAP instantiated from this SAPD connects to."
;
reference
"GS NFV IFA014: Section 6.2.3.2 Sapd information element"
;
}
choice
associated-cpd-id
{
container
vnf
{
leaf
vnfd-id
{
mandatory
true
;
type
leafref
{
path
"../../../../nfv:vnfd/nfv:id"
;
choice
associated-cpd-id
{
container
vnf
{
leaf
vnfd-id
{
mandatory
true
;
type
leafref
{
path
"../../../../nfv:vnfd/nfv:id"
;
}
must
"boolean(../../../vnfd-id[.=current()])"
;
}
must
"boolean(../../../vnfd-id[.=current()])"
;
}
leaf
ext-cpd-id
{
mandatory
true
;
type
leafref
{
path
"deref(../vnfd-id)/../nfv:ext-cpd/nfv:id"
;
leaf
ext-cpd-id
{
mandatory
true
;
type
leafref
{
path
"deref(../vnfd-id)/../nfv:ext-cpd/nfv:id"
;
}
}
}
}
container
pnf
{
leaf
pnfd-id
{
mandatory
true
;
container
pnf
{
leaf
pnfd-id
{
mandatory
true
;
type
leafref
{
path
"../../../../nfv:pnfd/nfv:id"
;
path
"../../../../nfv:pnfd/nfv:id"
;
}
must
"boolean(../pnfd-id[.=current()])"
;
}
must
"boolean(../pnfd-id[.=current()])"
;
}
leaf
ext-cpd-id
{
mandatory
true
;
type
leafref
{
path
"deref(../pnfd-id)/../nfv:ext-cpd/nfv:id"
;
leaf
ext-cpd-id
{
mandatory
true
;
type
leafref
{
path
"deref(../pnfd-id)/../nfv:ext-cpd/nfv:id"
;
}
}
}
}
container
ns
{
leaf
nsd-id
{
mandatory
true
;
type
leafref
{
path
"../../../../nfv:nsd/nfv:id"
;
container
ns
{
leaf
nsd-id
{
mandatory
true
;
type
leafref
{
path
"../../../../nfv:nsd/nfv:id"
;
}
must
"boolean(../nsd-id[.=current()])"
;
}
must
"boolean(../nsd-id[.=current()])"
;
}
leaf
ext-cpd-id
{
mandatory
true
;
type
leafref
{
path
"deref(../nsd-id)/../nfv:sapd/nfv:id"
;
leaf
ext-cpd-id
{
mandatory
true
;
type
leafref
{
path
"deref(../nsd-id)/../nfv:sapd/nfv:id"
;
}
}
}
}
...
...
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