update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / rwlaunchpad / plugins / yang / rw-nsm.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
22 /**
23  * @file rw-nsm.yang
24  * @author Rajesh Velandy
25  * @date 2015/10/07
26  * @brief NSM  yang
27  */
28
29 module rw-nsm
30 {
31   namespace "http://riftio.com/ns/riftware-1.0/rw-nsm";
32   prefix "rw-nsm";
33
34   import rw-cli-ext {
35     prefix "rwcli";
36   }
37
38   import ietf-inet-types {
39     prefix "inet";
40   }
41
42   import rw-project-nsd {
43     prefix "rw-project-nsd";
44   }
45
46   import project-nsd {
47     prefix "project-nsd";
48   }
49
50   import rw-nsr {
51     prefix "rw-nsr";
52   }
53
54   import vld {
55     prefix "vld";
56   }
57
58   import rw-vlr {
59     prefix "rw-vlr";
60   }
61
62   import rw-vns {
63     prefix "rw-vns";
64   }
65
66   import rw-project-vnfd {
67     prefix "rw-project-vnfd";
68   }
69
70   import project-vnfd {
71     prefix "project-vnfd";
72   }
73
74   import rw-vnfr {
75     prefix "rw-vnfr";
76   }
77
78   import rw-yang-types {
79     prefix "rwt";
80   }
81
82   import rw-launchpad {
83     prefix "rw-launchpad";
84   }
85
86   import rw-cloud {
87     prefix "rw-cloud";
88   }
89
90   import rw-sdn {
91     prefix "rw-sdn";
92   }
93
94   import rw-config-agent {
95     prefix "rw-config-agent";
96   }
97
98   import rw-project {
99     prefix "rw-project";
100   }
101
102   import rw-project-mano {
103     prefix "rw-project-mano";
104   }
105
106   revision 2017-02-08 {
107     description
108       "Update model to support projects.";
109   }
110
111   revision 2015-10-07 {
112     description
113       "Initial revision.";
114   }
115
116   grouping cm-endpoint {
117     leaf cm-ip-address {
118       type inet:ip-address;
119       description "IP Address";
120       default "127.0.0.1";
121     }
122     leaf cm-port {
123       type inet:port-number;
124       description "Port Number";
125       default 2022;
126     }
127     leaf cm-username {
128       description "RO endpoint username";
129       type string;
130       default "@rift";
131     }
132     leaf cm-password {
133       description "RO endpoint password";
134       type string;
135       default "rift";
136     }
137   }
138 }