3 * Copyright 2017 RIFT.IO Inc
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 module rw-project-mano
21 namespace "http://riftio.com/ns/riftware-1.0/rw-project-mano";
22 prefix "rw-project-mano";
25 prefix "rw-rbac-base";
36 import rw-rbac-internal {
37 prefix "rw-rbac-internal";
42 "Initial revision. This YANG file defines the
43 MANO extentions for project based tenancy";
45 "Derived from earlier versions of base YANG files";
48 augment /rw-project:project/rw-project:project-config/rw-project:user {
50 "Configuration for MANO application-specific Roles.";
54 "The list of MANO application-specific Roles the User has been
55 assigned, within the enclosing Project.";
58 uses rw-rbac-base:simple-role;
62 augment /rw-project:project/rw-project:project-state/rw-project:user {
64 "The state for MANO application-specific Roles.";
68 "The state of the MANO application-specific Role the User has
72 uses rw-rbac-base:simple-role;
76 "The assignment of a User to a Role may be an asynchronous
77 operation. This value indicates whether the Role
78 assignment is active. If the value is 'active', then the
79 assignment is complete and active. Any other value
80 indicates that Role assignment is in a transitional or
81 failed state, as described in the value.";
87 augment /rw-project:project/rw-project:project-state {
89 "State for MANO application-specific Roles.";
93 "The set of Roles that may be configured into
94 /rw-project:project/rw-project:project-config/rw-project:user/
95 rw-project-mano:mano-role/rw-project-mano:role.";
98 uses rw-rbac-base:simple-role;
102 "A description of the Role.";