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.
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";
105 revision 2015-09-14 {
110 container datacenters {
111 description "OpenMano data centers";
113 rwpb:msg-new DataCenters;
118 "A list of OpenMano cloud accounts that have data centers associated
121 rwpb:msg-new ROAccount;
125 description "The name of the cloud account";
127 path "/rw-launchpad:resource-orchestrator/rw-launchpad:name";
132 rwpb:msg-new DataCenter;
134 description "The UUID of the data center";
139 description "The name of the data center";
146 typedef resource-orchestrator-account-type {
147 description "RO account type";
154 container resource-orchestrator {
155 rwpb:msg-new ResourceOrchestrator;
162 type resource-orchestrator-account-type;
165 choice resource-orchestrator {
167 "The resource orchestrator to use by the Launchpad";
172 "Use the RIFT.io resource orchestrator";
183 "Use OpenMano as RO";
207 container launchpad-config {
210 "An IP address that can, at least, be reached by the host that the
211 launchpad is running on. This is not a mandatory but is required for
212 alarms to function correctly.";