projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New feature: Support static IP in VNF connection points
[osm/SO.git]
/
models
/
plugins
/
yang
/
nsd.yang
diff --git
a/models/plugins/yang/nsd.yang
b/models/plugins/yang/nsd.yang
index
ac0987c
..
84b6325
100644
(file)
--- a/
models/plugins/yang/nsd.yang
+++ b/
models/plugins/yang/nsd.yang
@@
-292,9
+292,9
@@
module nsd
}
}
}
}
-
leaf vnfd-id-ref {
-
description
-
"A reference to a vnfd. This is a
+ leaf vnfd-id-ref {
+ description
+ "A reference to a vnfd. This is a
leafref to path:
../../nsd:constituent-vnfd
+ [nsd:id = current()/../nsd:id-ref]
leafref to path:
../../nsd:constituent-vnfd
+ [nsd:id = current()/../nsd:id-ref]
@@
-304,12
+304,12
@@
module nsd
to leafref, whose target is in a different module.
Once that is resovled this will switched to use
leafref";
to leafref, whose target is in a different module.
Once that is resovled this will switched to use
leafref";
-
type string;
-
}
+ type string;
+ }
-
leaf vnfd-connection-point-ref {
-
description
-
"A reference to a connection point name
+ leaf vnfd-connection-point-ref {
+ description
+ "A reference to a connection point name
in a vnfd. This is a leafref to path:
/vnfd:vnfd-catalog/vnfd:vnfd
+ [vnfd:id = current()/../nsd:vnfd-id-ref]
in a vnfd. This is a leafref to path:
/vnfd:vnfd-catalog/vnfd:vnfd
+ [vnfd:id = current()/../nsd:vnfd-id-ref]
@@
-319,13
+319,19
@@
module nsd
to leafref, whose target is in a different module.
Once that is resovled this will switched to use
leafref";
to leafref, whose target is in a different module.
Once that is resovled this will switched to use
leafref";
-
type string;
+ type string;
}
}
// replicate for pnfd container here
uses manotypes:provider-network;
}
}
// replicate for pnfd container here
uses manotypes:provider-network;
+ leaf mgmt-network {
+ description "Flag indicating whether this network is a VIM management network";
+ type boolean;
+ default false;
+ }
+
choice init-params {
description "Extra parameters for VLD instantiation";
choice init-params {
description "Extra parameters for VLD instantiation";
@@
-337,12
+343,14
@@
module nsd
type string;
}
}
type string;
}
}
+
case vim-network-profile {
leaf ip-profile-ref {
description "Named reference to IP-profile object";
type string;
}
case vim-network-profile {
leaf ip-profile-ref {
description "Named reference to IP-profile object";
type string;
}
- }
+ }
+
}
}
}
}