7d487ca98f05b3fd4531b18027fdafebb6f6e70d
[osm/SO.git] / models / plugins / yang / vnfd.yang
1
2 /*
3  *
4  *   Copyright 2016-2017 RIFT.IO Inc
5  *
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
21 module vnfd
22 {
23   namespace "urn:ietf:params:xml:ns:yang:nfvo:vnfd";
24   prefix "vnfd";
25
26   import vnfd-base {
27     prefix "vnfd-base";
28   }
29
30   revision 2017-02-28 {
31     description
32       "Update model to support projects.";
33   }
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   }
42
43   container vnfd-catalog {
44     description
45       "Virtual Network Function Descriptor (VNFD).";
46
47     list vnfd {
48       key "id";
49
50         uses vnfd-base:vnfd-descriptor;
51     }
52   }
53 }
54
55 // vim: sw=2