projects
/
osm
/
IM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added name to nsi and nst as mandatory; removed wrong nst params; netslice instantiat...
[osm/IM.git]
/
models
/
yang
/
nsi.yang
diff --git
a/models/yang/nsi.yang
b/models/yang/nsi.yang
index
32087d3
..
b6184e1
100644
(file)
--- a/
models/yang/nsi.yang
+++ b/
models/yang/nsi.yang
@@
-30,6
+30,10
@@
module nsi {
prefix "instantiation-parameters";
}
prefix "instantiation-parameters";
}
+ import ietf-yang-types {
+ prefix "yang";
+ }
+
//revision history
revision 2018-09-28 {
description "Initial version";
//revision history
revision 2018-09-28 {
description "Initial version";
@@
-37,23
+41,35
@@
module nsi {
grouping nsi {
leaf id {
grouping nsi {
leaf id {
+ description "Identifier for the NSI.";
+ type yang:uuid;
+ }
+
+ leaf name {
+ description "NSI name.";
+ type string;
+ mandatory true;
+ }
+
+ leaf short-name {
+ description "NSI short name.";
type string;
}
type string;
}
+
+ leaf description {
+ description "NSI description.";
+ type string;
+ }
+
leaf nst-ref {
type leafref {
path "/nst:nst/nst:id";
}
leaf nst-ref {
type leafref {
path "/nst:nst/nst:id";
}
+ mandatory true;
}
container instantiation-parameters {
}
container instantiation-parameters {
- list netslice-subnet {
- key "nsdId";
- uses instantiation-parameters:ns_instantiate;
- }
- list netslice-vld {
- key "name";
- uses instantiation-parameters:vld;
- }
+ uses instantiation-parameters:netslice_params;
}
container network-slice-template {
}
container network-slice-template {
@@
-87,6
+103,7
@@
module nsi {
list nsi{
key "id";
list nsi{
key "id";
+ unique "name";
uses nsi;
}
uses nsi;
}