2 Copyright 2019 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:cloud-init";
23 import etsi-nfv-vnfd {
27 grouping extended-cloud-init {
28 choice cloud-init-input {
30 "Indicates how the contents of cloud-init script are provided.
31 There are 2 choices - inline or in a file";
36 "Contents of cloud-init script, provided inline, in cloud-config format";
42 leaf cloud-init-file {
44 "Name of file with contents of cloud-init script in cloud-config format";
51 augment "/vnfd:vnfd/vnfd:vdu" {
52 uses extended-cloud-init;