4 * Copyright 2016 RIFT.IO Inc
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
10 * http://www.apache.org/licenses/LICENSE-2.0
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.
23 namespace "http://riftio.com/ns/riftware-1.0/rw-vnfd";
34 import rw-pb-ext { prefix "rwpb"; }
36 import ietf-yang-types {
46 "Initial revision. This YANG file augments
49 "Derived from earlier versions of base YANG files";
52 augment /vnfd:vnfd-catalog/vnfd:vnfd {
53 uses manotypes:control-param;
54 uses manotypes:action-param;
57 "Any meta-data needed by the UI";
62 "This section defines the RIFT.ware
65 rwpb:msg-new VcsComponent;
66 rwpb:application-request-point;
75 type rwvcstypes:component_type;
80 case rwvcs-rwcollection {
81 uses rwvcstypes:rwvcs-rwcollection;
84 uses rwvcstypes:rwvcs-rwvm;
87 uses rwvcstypes:rwvcs-rwproc;
90 uses rwvcstypes:native-proc;
92 case rwvcs-rwtasklet {
93 uses rwvcstypes:rwvcs-rwtasklet;
99 augment /vnfd:vnfd-catalog/vnfd:vnfd/vnfd:vdu {
100 leaf vcs-component-ref {
102 "This defines the software components using the
103 RIFT.ware Virtual Component System (VCS). This
104 also allows specifying a state machine during
106 NOTE: This is an significant addition to MANO,
107 since MANO doesn't clearly specify a method to
108 identify various software components in a VM.
109 Also using a state machine is not something that
110 is well described in MANO.";
112 path "/vnfd:vnfd-catalog/vnfd:vnfd/rw-vnfd:component/rw-vnfd:component-name";