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.
24 * @file rw-launchpad.yang
25 * @author Joshua Downer
27 * @brief Launchpad Yang
32 namespace "http://riftio.com/ns/riftware-1.0/rw-launchpad";
33 prefix "rw-launchpad";
35 import ietf-yang-types {
43 import ietf-inet-types {
52 import rw-yang-types {
84 import rw-config-agent {
85 prefix "rw-config-agent";
92 import rw-image-mgmt {
93 prefix "rw-image-mgmt";
109 revision 2017-02-08 {
111 "Update model to support projects.";
114 revision 2015-09-14 {
119 augment "/rw-project:project" {
120 container datacenters {
121 description "OpenMano data centers";
123 rwpb:msg-new DataCenters;
128 "A list of OpenMano cloud accounts that have data centers associated
131 rwpb:msg-new ROAccount;
135 description "The name of the cloud account";
137 path "../../../rw-launchpad:resource-orchestrator/rw-launchpad:name";
142 rwpb:msg-new DataCenter;
144 description "The UUID of the data center";
149 description "The name of the data center";
157 typedef resource-orchestrator-account-type {
158 description "RO account type";
165 augment "/rw-project:project" {
166 container resource-orchestrator {
167 rwpb:msg-new ResourceOrchestrator;
174 type resource-orchestrator-account-type;
177 choice resource-orchestrator {
179 "The resource orchestrator to use by the Launchpad";
184 "Use the RIFT.io resource orchestrator";
195 "Use OpenMano as RO";
220 augment "/rw-project:project" {
221 container launchpad-config {
224 "An IP address that can, at least, be reached by the host that the
225 launchpad is running on. This is not a mandatory but is required for
226 alarms to function correctly.";