3 //contact "Pol Alemany, Ricard Vilalta, Juan Luis de la Cruz";
4 //description "Network Slice components definition";
7 module instantiation-parameters {
10 namespace "urn:ietf:params:xml:ns:yang:nfvo:instantiation-parameters";
11 prefix "instantiation-parameters";
29 import ietf-inet-types {
33 import ietf-yang-types {
39 description "Initial version";
42 grouping ns_instantiate {
53 path "/nsd:nsd-catalog/nsd:nsd/nsd:id";
66 path "/rw-project:project/nsr:ns-instance-opdata/nsr:nsr/nsr:ns-instance-config-ref";
70 key "member-vnf-index";
79 leaf member-vnf-index{
88 uses ns_instantiate_vdu;
92 uses ns-instantiate-internal-vld;
100 leaf vim-network-name {
103 container ip-profile {
104 uses ip-profile-update-schema;
106 list vnfd-connection-point-ref {
107 key "member-vnf-index-ref vnfd-connection-point-ref";
108 leaf member-vnf-index-ref {
110 path "../../../vnf/member-vnf-index";
113 leaf vnfd-connection-point-ref {
115 path "/vnfd:vnfd-catalog/vnfd:vnfd/vnfd:connection-point/vnfd:name";
119 type inet:ip-address;
125 grouping ns_instantiate_vdu {
148 type inet:ip-address;
151 type ietf-yang:mac-address;
153 leaf floating-ip-required {
159 grouping ns-instantiate-internal-vld {
164 leaf vim-network-name {
167 container ip-profile {
168 uses ip-profile-update-schema;
170 list internal-connection-point {
177 type inet:ip-address;
182 grouping ip-profile-update-schema { //each leaf/list is either null or something
184 type inet:ip-version;
186 leaf subnet-address {
189 leaf gateway-address {
196 type inet:ip-address;
199 container dhcp-params {
207 type inet:ip-address;
212 list instantiation-parameters {