osc network rbac-policy create
Create RBAC policy for given tenant.
Normal response codes: 201
Error response codes: 400, 401
Usage: osc network rbac-policy create [OPTIONS]
Options:
--action <ACTION>— Action for the RBAC policy which isaccess_as_externaloraccess_as_shared--object-id <OBJECT_ID>— The ID of theobject_typeresource. Anobject_typeofnetworkreturns a network ID, anobject_typeofqos-policyreturns a QoS policy ID, anobject_typeofsecurity-groupreturns a security group ID, anobject_typeofaddress-scopereturns a address scope ID, anobject_typeofsubnetpoolreturns a subnetpool ID and anobject_typeofaddress-groupreturns an address group ID--object-type <OBJECT_TYPE>— The type of the object that the RBAC policy affects. Types includeqos-policy,network,security-group,address-scope,subnetpooloraddress-group--target-tenant <TARGET_TENANT>— The ID of the tenant to which the RBAC policy will be enforced. Please note that Neutron does not perform any type of validation that the value provided is actually the ID of the existing project. If, for example, the name of the project is provided here, it will be accepted by the Neutron API, but the RBAC rule created will not work as expected--tenant-id <TENANT_ID>