Merge changes I3b2a87cd,If344b5e0
[osm/IM.git] / models / yang / project-vnfd.yang
1
2 /*
3  * 
4  *   Copyright 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 project-vnfd
22 {
23   namespace "http://riftio.com/ns/riftware-1.0/project-vnfd";
24   prefix "project-vnfd";
25
26   import rw-project {
27     prefix "rw-project";
28   }
29
30   import vnfd-base {
31     prefix "vnfd-base";
32   }
33
34   revision 2017-02-28 {
35     description
36       "Initial revision. This YANG file defines
37        the Virtual Network Function (VNF) descriptor
38        under a project";
39     reference
40       "Derived from earlier versions of base YANG files";
41   }
42
43   augment /rw-project:project {
44     container vnfd-catalog {
45       description
46         "Virtual Network Function Descriptor (VNFD).";
47
48       list vnfd {
49         key "id";
50
51         uses vnfd-base:vnfd-descriptor;
52       }
53     }
54   }
55 }
56
57 // vim: sw=2