update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / rwlaunchpad / plugins / yang / rw-launchpad.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 /**
24  * @file rw-launchpad.yang
25  * @author Joshua Downer
26  * @date 2015/09/14
27  * @brief Launchpad Yang
28  */
29
30 module rw-launchpad
31 {
32   namespace "http://riftio.com/ns/riftware-1.0/rw-launchpad";
33   prefix "rw-launchpad";
34
35   import ietf-yang-types {
36     prefix "yang";
37   }
38
39   import ietf-inet-types {
40     prefix "inet";
41   }
42
43   import rw-cli-ext {
44     prefix "rwcli";
45   }
46
47   import rw-yang-types {
48     prefix "rwt";
49   }
50
51   import rwcal {
52     prefix "rwcal";
53   }
54
55   import rw-project-vnfd {
56     prefix "rw-project-vnfd";
57   }
58
59   import vld {
60     prefix "vld";
61   }
62
63   import rw-project-nsd {
64     prefix "rw-project-nsd";
65   }
66
67   import rw-cloud {
68     prefix "rw-cloud";
69   }
70
71   import rw-nsr {
72     prefix "rw-nsr";
73   }
74
75   import rw-conman {
76     prefix "rw-conman";
77   }
78
79   import rw-config-agent {
80     prefix "rw-config-agent";
81   }
82
83   import rw-monitor {
84     prefix "rw-monitor";
85   }
86
87   import rw-image-mgmt {
88     prefix "rw-image-mgmt";
89   }
90   
91   import rw-pkg-mgmt {
92     prefix "rw-pkg-mgmt";
93   }
94   
95
96   import mano-types {
97     prefix "manotypes";
98   }
99
100   import rw-project {
101     prefix "rw-project";
102   }
103
104   import rw-project-mano {
105     prefix "rw-project-mano";
106   }
107
108         import rw-ro-account {
109                 prefix "rw-ro-account";
110         }
111         
112   revision 2017-02-08 {
113     description
114       "Update model to support projects.";
115   }
116
117   revision 2015-09-14 {
118     description
119       "Initial revision.";
120   }
121
122   augment "/rw-project:project" {
123     container launchpad-config {
124       leaf public-ip {
125         description
126           "An IP address that can, at least, be reached by the host that the
127           launchpad is running on. This is not a mandatory but is required for
128           alarms to function correctly.";
129         type string;
130       }
131     }
132   }
133 }