Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

2.204. openstack network rbac create

usage: openstack network rbac create [-h] [-f {json,shell,table,value,yaml}]
                                     [-c COLUMN] [--max-width <integer>]
                                     [--noindent] [--prefix PREFIX] --type
                                     <type> --action <action> --target-project
                                     <target-project>
                                     [--target-project-domain <target-project-domain>]
                                     [--project <project>]
                                     [--project-domain <project-domain>]
                                     <rbac-object>
Create network RBAC policy

Positional arguments

<rbac-object>


        The object to which this RBAC policy affects (name or
      ID for network objects, ID only for QoS policy
      objects)

Optional arguments

-h, --help


        show this help message and exit

--type <type>


        Type of the object that RBAC policy affects
      ("qos_policy" or "network")

--action <action>


        Action for the RBAC policy ("access_as_external" or
      "access_as_shared")

--target-project <target-project>


      The project to which the RBAC policy will be enforced
      (name or ID)

--target-project-domain <target-project-domain>


      Domain the target project belongs to (name or ID).
      This can be used in case collisions between project
      names exist.

--project <project>


        The owner project (name or ID)

--project-domain <project-domain>


      Domain the project belongs to (name or ID). This can
      be used in case collisions between project names
      exist.