Revert "Full Juju Charm support"
[osm/SO.git] / models / plugins / yang / rw-vnfd-base.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-vnfd-base
22 {
23   namespace "http://riftio.com/ns/riftware-1.0/rw-vnfd-base";
24   prefix "rw-vnfd-base";
25
26   import vnfd {
27     prefix "vnfd";
28   }
29
30   import rwvcs-types {
31     prefix "rwvcstypes";
32   }
33
34   import ietf-yang-types {
35     prefix "yang";
36   }
37
38   import mano-types {
39     prefix "manotypes";
40   }
41
42   revision 2017-02-28 {
43     description
44       "Initial revision. This YANG file defines
45        common structs for extending MANO VNFD";
46     reference
47       "Derived from earlier versions of base YANG files";
48   }
49
50   grouping rw-vnfd-ext {
51     leaf meta {
52       description
53         "Any meta-data needed by the UI";
54       type string;
55     }
56
57   }
58   grouping ssh-key {
59     leaf ssh-key {
60       description
61         "Whether SSH keys need to be generated and passed
62          to the RO and VCA during instantiation.";
63       type boolean;
64     }
65   }
66 }
67 // vim: sw=2