2 Copyright 2020 Whitestack LLC
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14 See the License for the specific language governing permissions and
15 limitations under the License.
20 namespace "urn:etsi:osm:yang:augments:ns-vld";
27 import ietf-inet-types {
31 grouping extended-vld {
32 container provider-network {
34 "Container for the provider network.";
35 leaf physical-network {
37 "Name of the physical network on which the provider
42 leaf segmentation_id {
44 "ID of segregated virtual networks";
51 "Flag indicating whether this network is a VIM management network";
56 leaf vim-network-name {
58 "Name of network in VIM account. This is used to indicate
59 pre-provisioned network name in cloud account.";
64 augment "/nsd:nsd/nsd:nsd/nsd:virtual-link-desc" {
68 grouping deviated-constituent-cpd-id {
69 list constituent-cpd-id {
70 key "constituent-base-element-id constituent-cpd-id";
73 "Describes a connection point on a VNF/PNF or a SAP
74 which connects to virtual links instantiated from
75 the profile identified in the virtualLinkProfileId
78 "GS NFV IFA014: Section 6.3.7
79 NsVirtualLinkConnectivity information element";
81 leaf constituent-base-element-id {
83 path "../../../nsd:id";
86 "Reference to the profile of an NS constituent.";
88 "GS NFV IFA014: Section 6.4.8
89 CpdInConstituentElement information element";
92 leaf constituent-cpd-id {
94 path "deref(../../../nsd:vnfd-id)/../nsd:ext-cpd/nsd:id";
97 "A reference to the descriptor of a connection point
98 attached to one of the constituent VNFs and PNFs or to
99 the descriptor of a NS SAP.";
101 "GS NFV IFA014: Section 6.4.4.2 CpdPool information
107 "IP address assigned to the internal connection point";
108 type inet:ip-address;
113 deviation "/nsd:nsd/nsd:nsd/nsd:df/nsd:vnf-profile/nsd:virtual-link-connectivity/nsd:constituent-cpd-id" {
115 "Deviation of the list of constituent-cpd-id, because the key must be
116 a compound key 'constituent-base-element-id constituent-cpd-id'";
117 deviate not-supported;
120 augment "/nsd:nsd/nsd:nsd/nsd:df/nsd:vnf-profile/nsd:virtual-link-connectivity" {
122 "Augment of nsd:virtual-link-connectivity to define a list of constituent-cpd-id,
123 replacing the one in SOL006, with a compound key
124 'constituent-base-element-id constituent-cpd-id', and the
125 addition of the leaf ip-address for each item in the list.";
126 uses deviated-constituent-cpd-id;