73aab73df78d3818f2baa13a5d1f6c3928be907a
[osm/SO.git] / models / plugins / yang / rw-nsd.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 rw-nsd
22 {
23   namespace "http://riftio.com/ns/riftware-1.0/rw-nsd";
24   prefix "rw-nsd";
25
26   import nsd {
27     prefix "nsd";
28   }
29
30   import ietf-yang-types {
31     prefix "yang";
32   }
33
34   import mano-types {
35     prefix "manotypes";
36   }
37
38   import rw-project {
39     prefix "rw-project";
40   }
41
42   revision 2017-02-08 {
43     description
44       "Update model to support projects.";
45   }
46
47   revision 2015-09-10 {
48     description
49       "Initial revision. This YANG file augments
50        the base MANO NSD";
51     reference
52       "Derived from earlier versions of base YANG files";
53   }
54
55   augment /rw-project:project/nsd:nsd-catalog/nsd:nsd {
56     uses manotypes:control-param;
57     uses manotypes:action-param;
58     leaf meta {
59       description
60         "Any meta-data needed by the UI";
61       type string;
62     }
63   }
64 }
65
66 // vim: sw=2