4 * Copyright 2016-2017 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-base";
24 prefix "rw-vnfd-base";
34 import rw-pb-ext { prefix "rwpb"; }
36 import ietf-yang-types {
46 "Initial revision. This YANG file defines
47 common structs for extending MANO VNFD";
49 "Derived from earlier versions of base YANG files";
52 grouping rw-vnfd-ext {
53 uses manotypes:control-param;
54 uses manotypes:action-param;
58 "Any meta-data needed by the UI";
64 "This section defines the RIFT.ware
67 rwpb:msg-new VcsComponent;
68 rwpb:application-request-point;
77 type rwvcstypes:component_type;
82 case rwvcs-rwcollection {
83 uses rwvcstypes:rwvcs-rwcollection;
86 uses rwvcstypes:rwvcs-rwvm;
89 uses rwvcstypes:rwvcs-rwproc;
92 uses rwvcstypes:native-proc;
94 case rwvcs-rwtasklet {
95 uses rwvcstypes:rwvcs-rwtasklet;
101 grouping vcs-component-ref {
102 leaf vcs-component-ref {
104 "This defines the software components using the
105 RIFT.ware Virtual Component System (VCS). This
106 also allows specifying a state machine during
108 NOTE: This is an significant addition to MANO,
109 since MANO doesn't clearly specify a method to
110 identify various software components in a VM.
111 Also using a state machine is not something that
112 is well described in MANO.";
114 path "../../component/component-name";