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:various";
23 import etsi-nfv-vnfd {
27 grouping extended-vld {
28 container provider-network {
30 "Container for the provider network.";
31 leaf physical-network {
33 "Name of the physical network on which the provider
38 leaf segmentation_id {
40 "ID of segregated virtual networks";
46 grouping extended-security-group {
49 "Name of the security group";
54 grouping extended-cpd {
55 leaf port-security-enabled {
57 "Enables the port security for the port.";
63 grouping extended-vdu {
66 "Type of PDU. If this field exists, the deployment unit must be
67 understood as a PDU, not as a VDU. This field is used to identify
68 the category of PDU instances to be used at instantiation time. For
69 the instantiation to be successful, there must be available
70 PDU instances of this type in the selected datacenter.";
74 container supplemental-boot-data {
75 leaf boot-data-drive {
77 "Some VIMs implement additional drives to host config-files or meta-data";
84 grouping extended-device-bus {
87 "Type of disk-bus on which this disk is exposed to guest";
97 augment "/vnfd:vnfd/vnfd:int-virtual-link-desc" {
101 augment "/vnfd:vnfd/vnfd:df/vnfd:virtual-link-profile/vnfd:virtual-link-protocol-data/vnfd:l3-protocol-data" {
102 uses extended-security-group;
105 augment "/vnfd:vnfd/vnfd:ext-cpd" {
109 augment "/vnfd:vnfd/vnfd:vdu/vnfd:int-cpd" {
113 augment "/vnfd:vnfd/vnfd:vdu" {
117 augment "/vnfd:vnfd/vnfd:virtual-storage-desc" {
118 uses extended-device-bus;