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
b34017eb
Commit
b34017eb
authored
Nov 26, 2019
by
Mahesh Jethanandani
Browse files
Changing must to a when statement.
parent
89d67e34
Pipeline
#2056
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/yang/etsi-nfv-vnf.yang
View file @
b34017eb
...
...
@@ -855,9 +855,7 @@ submodule etsi-nfv-vnf {
choice
storage
{
container
block-storage-data
{
must
'../type-of-storage = "nfv:block"'
{
error-message
"type-of-storage must be set to 'block'"
;
}
when
'../type-of-storage = "nfv:block"'
;
description
"Specifies the details of block storage. It shall
be present when the 'typeOfStorage' attribute is set to
...
...
@@ -870,9 +868,7 @@ submodule etsi-nfv-vnf {
}
container
object-storage-data
{
must
'../type-of-storage = "nfv:object"'
{
error-message
"type-of-storage must be set to 'object'"
;
}
when
'../type-of-storage = "nfv:object"'
;
description
"Specifies the details of object storage. It shall be
present when the 'typeOfStorage' attribute is set to
...
...
@@ -894,9 +890,7 @@ submodule etsi-nfv-vnf {
}
container
file-storage-data
{
must
'../type-of-storage = "nfv:file"'
{
error-message
"type-of-storage must be set to 'file'"
;
}
when
'../type-of-storage = "nfv:file"'
;
description
"Specifies the details of file storage. It shall be present
when the 'typeOfStorage' attribute is set to 'FILE'. It
...
...
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