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.";
61 leaf port-security-disable-strategy {
62 description "Strategy to disable port security, either Enables the port security for the port.
63 full : disable port security in the whole port
64 allow-address-pairs : allow address pairs for virtual IP (any virtual IP can be configured)";
67 enum allow-address-pairs;
73 grouping extended-vdu {
76 "Type of PDU. If this field exists, the deployment unit must be
77 understood as a PDU, not as a VDU. This field is used to identify
78 the category of PDU instances to be used at instantiation time. For
79 the instantiation to be successful, there must be available
80 PDU instances of this type in the selected datacenter.";
84 container supplemental-boot-data {
85 leaf boot-data-drive {
87 "Some VIMs implement additional drives to host config-files or meta-data";
94 grouping extended-device-bus {
97 "Type of disk-bus on which this disk is exposed to guest";
107 augment "/vnfd:vnfd/vnfd:int-virtual-link-desc" {
111 augment "/vnfd:vnfd/vnfd:df/vnfd:virtual-link-profile/vnfd:virtual-link-protocol-data/vnfd:l3-protocol-data" {
112 uses extended-security-group;
115 augment "/vnfd:vnfd/vnfd:ext-cpd" {
119 augment "/vnfd:vnfd/vnfd:vdu/vnfd:int-cpd" {
123 augment "/vnfd:vnfd/vnfd:vdu" {
127 augment "/vnfd:vnfd/vnfd:virtual-storage-desc" {
128 uses extended-device-bus;