blob: f1229e7a06b89be6f804338bcb1eeb0fd463c95c [file] [log] [blame]
velandy793e5ea2017-06-07 13:01:55 -04001
2/*
3 *
Rajesh Velandye27e0b22017-09-18 17:21:48 -04004 * Copyright 2016-2017 RIFT.IO Inc
velandy793e5ea2017-06-07 13:01:55 -04005 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 *
19 */
20
21module vnfd
22{
23 namespace "urn:ietf:params:xml:ns:yang:nfvo:vnfd";
24 prefix "vnfd";
25
Rajesh Velandye27e0b22017-09-18 17:21:48 -040026 import vnfd-base {
27 prefix "vnfd-base";
velandy793e5ea2017-06-07 13:01:55 -040028 }
29
Rajesh Velandye27e0b22017-09-18 17:21:48 -040030 revision 2017-02-28 {
31 description
32 "Update model to support projects.";
velandy793e5ea2017-06-07 13:01:55 -040033 }
34
35 revision 2015-09-10 {
36 description
37 "Initial revision. This YANG file defines
38 the Virtual Network Function (VNF)";
39 reference
40 "Derived from earlier versions of base YANG files";
41 }
velandy793e5ea2017-06-07 13:01:55 -040042 container vnfd-catalog {
43 description
Rajesh Velandye27e0b22017-09-18 17:21:48 -040044 "Virtual Network Function Descriptor (VNFD).";
velandy793e5ea2017-06-07 13:01:55 -040045
garciadeblas781fe342017-12-18 11:34:47 +010046 leaf schema-version {
47 description "Schema version for the VNFD. If unspecified, it assumes v3.0";
48 type string;
49 default "v3.0";
50 }
51
velandy793e5ea2017-06-07 13:01:55 -040052 list vnfd {
53 key "id";
54
garciadeblas0ec676d2017-12-18 18:22:27 +010055 uses vnfd-base:vnfd-descriptor;
Rajesh Velandye27e0b22017-09-18 17:21:48 -040056 }
velandy793e5ea2017-06-07 13:01:55 -040057 }
58}
59
60// vim: sw=2