blob: 8120c5a6b3ed97bf19a59b9fd623148968f59dff [file] [log] [blame]
garciaale76f6a622020-11-19 17:57:42 -03001/*
2 Copyright 2020 Whitestack LLC
3
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
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
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
13 implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16*/
17
18module configuration {
19 yang-version 1.1;
20 namespace "urn:etsi:osm:yang:configuration";
21 prefix "configuration";
22
23 import etsi-nfv-vnfd {
24 prefix vnfd;
25 }
26
27 import day1-2 {
28 prefix day1-2;
29 }
30
garciaale76f6a622020-11-19 17:57:42 -030031 grouping extended-vnf-configuration {
32 leaf vnf-configuration-id {
33 description
34 "Reference for the VNF configuration to use in this DF";
35 type leafref {
36 path "/vnfd:vnfd/day1-2:vnf-configuration/day1-2:id";
37 }
38 }
39 }
40
41 grouping extended-vdu-configuration {
42 leaf vdu-configuration-id {
43 description
44 "Reference for the VDU configuration to use in this DF";
45 type leafref {
46 path "/vnfd:vnfd/day1-2:vdu-configuration/day1-2:id";
47 }
48 }
49 }
50
garciaale76f6a622020-11-19 17:57:42 -030051 augment "/vnfd:vnfd/vnfd:df" {
52 uses extended-vnf-configuration;
garciaale76f6a622020-11-19 17:57:42 -030053 }
54
55 augment "/vnfd:vnfd/vnfd:df/vnfd:vdu-profile" {
56 uses extended-vdu-configuration;
57 }
garciadeblas7df13642020-12-10 17:32:36 +000058}