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 {
60 import rw-project-vnfd {
61 prefix "rw-project-vnfd";
68 import rw-project-nsd {
69 prefix "rw-project-nsd";
84 import rw-config-agent {
85 prefix "rw-config-agent";
92 import rw-image-mgmt {
93 prefix "rw-image-mgmt";
109 import rw-project-mano {
110 prefix "rw-project-mano";
113 revision 2017-02-08 {
115 "Update model to support projects.";
118 revision 2015-09-14 {
123 augment "/rw-project:project" {
124 container datacenters {
125 description "OpenMano data centers";
127 rwpb:msg-new DataCenters;
132 "A list of OpenMano cloud accounts that have data centers associated
135 rwpb:msg-new ROAccount;
139 description "The name of the cloud account";
141 path "../../../rw-launchpad:resource-orchestrator/rw-launchpad:name";
146 rwpb:msg-new DataCenter;
148 description "The UUID of the data center";
153 description "The name of the data center";
161 typedef resource-orchestrator-account-type {
162 description "RO account type";
169 augment "/rw-project:project" {
170 container resource-orchestrator {
171 rwpb:msg-new ResourceOrchestrator;
178 type resource-orchestrator-account-type;
181 choice resource-orchestrator {
183 "The resource orchestrator to use by the Launchpad";
188 "Use the RIFT.io resource orchestrator";
199 "Use OpenMano as RO";
224 augment "/rw-project:project" {
225 container launchpad-config {
228 "An IP address that can, at least, be reached by the host that the
229 launchpad is running on. This is not a mandatory but is required for
230 alarms to function correctly.";