4 * Copyright 2018 Telefonica Investigacion y Desarrollo S.A.U.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
21 module instantiation-parameters {
24 namespace "urn:etsi:osm:yang:instantiation-parameters";
25 prefix "instantiation-parameters";
35 import ietf-inet-types {
39 import ietf-yang-types {
45 description "Initial version";
57 key "member-vnf-index";
67 leaf member-vnf-index{
80 uses internal_vld_params;
84 grouping vld_common_params {
88 leaf vim-network-name {
91 container ip-profile {
92 uses ip-profile-update-schema;
97 uses vld_common_params;
98 list vnfd-connection-point-ref {
99 key "member-vnf-index-ref vnfd-connection-point-ref";
100 leaf member-vnf-index-ref {
102 //path "../../../vnf/member-vnf-index";
103 path "/nsd:nsd-catalog/nsd:nsd/nsd:constituent-vnfd/nsd:member-vnf-index";
106 leaf vnfd-connection-point-ref {
108 path "/vnfd:vnfd-catalog/vnfd:vnfd/vnfd:connection-point/vnfd:name";
112 type inet:ip-address;
117 grouping vdu_params {
140 type inet:ip-address;
143 type ietf-yang:mac-address;
145 leaf floating-ip-required {
151 grouping internal_vld_params {
156 leaf vim-network-name {
159 container ip-profile {
160 uses ip-profile-update-schema;
162 list internal-connection-point {
169 type inet:ip-address;
174 grouping ip-profile-update-schema { //each leaf/list is either null or something
176 type inet:ip-version;
178 leaf subnet-address {
181 leaf gateway-address {
182 type inet:ip-address;
188 type inet:ip-address;
191 container dhcp-params {
199 type inet:ip-address;