rw-project - User documentation

Schema Globals

Global Schema Type
rw_ypbc_RwProjectMano_RwProject_t_schema
Global Schema Pointer
rw_ypbc_RwProjectMano_RwProject_g_schema

rw-project data

This yang module defines project-based tenancy for RIFT.ware. Authorization for project access is defined in terms of RIFT.ware's Role-Based Access Control (RBAC) model.

rw-project:project

Configuration and state for individual projects. RIFT.ware applications and projects are expected to augment this list in order to add configuration for projects that is specific to the product or application. As such, this list contains minimal data defined in this yang module. When augmenting this element, other yang modules should prefer to define containers with the same name as the augmenting module. (Augmenting RIFT.ware modules should prefer to augment without the rw prefix [for new features], or should prefer to augment the augmented container of an existing augment, to ease future adoption and/or standardization.)

Key Identifiers:
XPath Path
/rw-project:project
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']
RW.REST URI Path
/rw-project:project/STRING

Fields
NameTypeDescription
nameSTRINGName of the project.
descriptionSTRINGInformation about project
project-configCONTAINERGeneral Project configuration supported by all products.
project-stateCONTAINERGeneral Project operational state supported by all products.

JSON Config Sample

JSON Sample

XML Config Sample

XML Sample

rw-project:project-config

General Project configuration supported by all products.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-config
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-config
RW.REST URI Path
/rw-project:project/STRING/project-config

Fields
NameTypeDescription
userLISTThe list of Users who have been assigned Roles within this Project.

JSON Config Sample

JSON Sample

XML Config Sample

XML Sample

rw-project:user

The list of Users who have been assigned Roles within this Project.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-config/rw-project:user
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-config/rw-project:user[rw-project:user-name='STRING'][rw-project:user-domain='STRING']
RW.REST URI Path
/rw-project:project/STRING/project-config/user/STRING,STRING

Fields
NameTypeDescription
user-domainLEAFREFThe user domain. This is the source of the user identity. Different domains may duplicate a user-name, but such users would be considered distinct by RIFT.ware.
user-nameLEAFREFThe user name. The syntax of this name depends on the domain. For example, if the domain is a login name, it might be limited to alphanumeric characters. However, if the domain is email address, the syntax could include additional characters, such as the at(@) sign.
roleLISTThe list of Roles the User has been assigned.
mano-roleLISTThe list of MANO application-specific Roles the User has been assigned, within the enclosing Project.

JSON Config Sample

JSON Sample

XML Config Sample

XML Sample

rw-project:role

The list of Roles the User has been assigned.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-config/rw-project:user/rw-project:role
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-config/rw-project:user[rw-project:user-name='STRING'][rw-project:user-domain='STRING']/rw-project:role[rw-project:role='STRING']
RW.REST URI Path
/rw-project:project/STRING/project-config/user/STRING,STRING/role/STRING

Fields
NameTypeDescription
roleSTRINGThe Role, independent of Keys.

JSON Config Sample

JSON Sample

XML Config Sample

XML Sample

rw-project-mano:mano-role

The list of MANO application-specific Roles the User has been assigned, within the enclosing Project.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-config/rw-project:user/rw-project-mano:mano-role
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-config/rw-project:user[rw-project:user-name='STRING'][rw-project:user-domain='STRING']/rw-project-mano:mano-role[rw-project-mano:role='STRING']
RW.REST URI Path
/rw-project:project/STRING/project-config/user/STRING,STRING/rw-project-mano:mano-role/STRING

Fields
NameTypeDescription
roleSTRINGThe Role, independent of Keys.

JSON Config Sample

JSON Sample

XML Config Sample

XML Sample

rw-project:project-state

General Project operational state supported by all products.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-state
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-state
RW.REST URI Path
/rw-project:project/STRING/project-state

Fields
NameTypeDescription
userLISTThe state of Users who have been assigned Roles within this Project.
roleLISTThe set of Roles that may be configured into /rw-project:project/rw-project:config/rw-project:user/ rw-project:role.
mano-roleLISTThe set of Roles that may be configured into /rw-project:project/rw-project:project-config/rw-project:user/ rw-project-mano:mano-role/rw-project-mano:role.

JSON Sample

XML Sample

rw-project:user

The state of Users who have been assigned Roles within this Project.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-state/rw-project:user
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-state/rw-project:user[rw-project:user-name='STRING'][rw-project:user-domain='STRING']
RW.REST URI Path
/rw-project:project/STRING/project-state/user/STRING,STRING

Fields
NameTypeDescription
user-domainSTRINGThe user domain. This is the source of the user identity. Different domains may duplicate a user-name, but such users would be considered distinct by RIFT.ware.
user-nameSTRINGThe user name. The syntax of this name depends on the domain. For example, if the domain is a login name, it might be limited to alphanumeric characters. However, if the domain is some kind of email address, the syntax could include assitional characters, such as the at sign.
roleLISTThe state of the Roles the User has been assigned.
mano-roleLISTThe state of the MANO application-specific Role the User has been assigned.

JSON Sample

XML Sample

rw-project:role

The state of the Roles the User has been assigned.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-state/rw-project:user/rw-project:role
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-state/rw-project:user[rw-project:user-name='STRING'][rw-project:user-domain='STRING']/rw-project:role[rw-project:role='STRING']
RW.REST URI Path
/rw-project:project/STRING/project-state/user/STRING,STRING/role/STRING

Fields
NameTypeDescription
roleSTRINGThe Role, independent of Keys.
stateSTRINGThe assignment of a User to a Role may be an asynchronous operation. This value indicates whether the Role assignment is active. If the value is 'active', then the assignment is complete and active. Any other value indicates that Role assignment is in a transitional or failed state, as described in the value.

JSON Sample

XML Sample

rw-project-mano:mano-role

The state of the MANO application-specific Role the User has been assigned.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-state/rw-project:user/rw-project-mano:mano-role
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-state/rw-project:user[rw-project:user-name='STRING'][rw-project:user-domain='STRING']/rw-project-mano:mano-role[rw-project-mano:role='STRING']
RW.REST URI Path
/rw-project:project/STRING/project-state/user/STRING,STRING/rw-project-mano:mano-role/STRING

Fields
NameTypeDescription
roleSTRINGThe Role, independent of Keys.
stateSTRINGThe assignment of a User to a Role may be an asynchronous operation. This value indicates whether the Role assignment is active. If the value is 'active', then the assignment is complete and active. Any other value indicates that Role assignment is in a transitional or failed state, as described in the value.

JSON Config Sample

JSON Sample

XML Config Sample

XML Sample

rw-project:role

The set of Roles that may be configured into /rw-project:project/rw-project:config/rw-project:user/ rw-project:role.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-state/rw-project:role
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-state/rw-project:role[rw-project:role='STRING']
RW.REST URI Path
/rw-project:project/STRING/project-state/role/STRING

Fields
NameTypeDescription
roleSTRINGThe Role, independent of Keys.
descriptionSTRINGA description of the Role.

JSON Sample

XML Sample

rw-project-mano:mano-role

The set of Roles that may be configured into /rw-project:project/rw-project:project-config/rw-project:user/ rw-project-mano:mano-role/rw-project-mano:role.

Key Identifiers:
XPath Path
/rw-project:project/rw-project:project-state/rw-project-mano:mano-role
XPath Keyed Path
/rw-project:project[rw-project:name='STRING']/rw-project:project-state/rw-project-mano:mano-role[rw-project-mano:role='STRING']
RW.REST URI Path
/rw-project:project/STRING/project-state/rw-project-mano:mano-role/STRING

Fields
NameTypeDescription
roleSTRINGThe Role, independent of Keys.
descriptionSTRINGA description of the Role.

JSON Config Sample

JSON Sample

XML Config Sample

XML Sample

rw-project-mano - User documentation

Schema Globals

Global Schema Type
rw_ypbc_RwProjectMano_RwProjectMano_t_schema
Global Schema Pointer
rw_ypbc_RwProjectMano_RwProjectMano_g_schema