Support bulk deletion for delete commands in the list below identity/v3/consumer identity/v3/credential identity/v3/domain identity/v3/ec2creds identity/v3/endpoint identity/v3/federation_protocol identity/v3/identity_provider identity/v3/mapping identity/v3/policy identity/v3/region identity/v3/service_provider identity/v3/service The unit test in identityv3 need to be refactored, so I add some functional tests instead. I will add all unit tests at one time after the refactor completed. Change-Id: I82367570f59817b47c87b6c7bfeae95ccfe5c50e Closes-Bug: #1592906
		
			
				
	
	
		
			96 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			96 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
======
 | 
						|
policy
 | 
						|
======
 | 
						|
 | 
						|
Identity v3
 | 
						|
 | 
						|
policy create
 | 
						|
-------------
 | 
						|
 | 
						|
Create new policy
 | 
						|
 | 
						|
.. program:: policy create
 | 
						|
.. code:: bash
 | 
						|
 | 
						|
    os policy create
 | 
						|
        [--type <type>]
 | 
						|
        <filename>
 | 
						|
 | 
						|
.. option:: --type <type>
 | 
						|
 | 
						|
    New MIME type of the policy rules file (defaults to application/json)
 | 
						|
 | 
						|
.. describe:: <filename>
 | 
						|
 | 
						|
    New serialized policy rules file
 | 
						|
 | 
						|
policy delete
 | 
						|
-------------
 | 
						|
 | 
						|
Delete policy(s)
 | 
						|
 | 
						|
.. program:: policy delete
 | 
						|
.. code:: bash
 | 
						|
 | 
						|
    os policy delete
 | 
						|
        <policy> [<policy> ...]
 | 
						|
 | 
						|
.. describe:: <policy>
 | 
						|
 | 
						|
    Policy(s) to delete
 | 
						|
 | 
						|
policy list
 | 
						|
-----------
 | 
						|
 | 
						|
List policies
 | 
						|
 | 
						|
.. program:: policy list
 | 
						|
.. code:: bash
 | 
						|
 | 
						|
    os policy list
 | 
						|
        [--long]
 | 
						|
 | 
						|
.. option:: --long
 | 
						|
 | 
						|
    List additional fields in output
 | 
						|
 | 
						|
policy set
 | 
						|
----------
 | 
						|
 | 
						|
Set policy properties
 | 
						|
 | 
						|
.. program:: policy set
 | 
						|
.. code:: bash
 | 
						|
 | 
						|
    os policy set
 | 
						|
        [--type <type>]
 | 
						|
        [--rules <filename>]
 | 
						|
        <policy>
 | 
						|
 | 
						|
.. option:: --type <type>
 | 
						|
 | 
						|
    New MIME type of the policy rules file
 | 
						|
 | 
						|
.. describe:: --rules <filename>
 | 
						|
 | 
						|
    New serialized policy rules file
 | 
						|
 | 
						|
.. describe:: <policy>
 | 
						|
 | 
						|
    Policy to modify
 | 
						|
 | 
						|
policy show
 | 
						|
-----------
 | 
						|
 | 
						|
Display policy details
 | 
						|
 | 
						|
.. program:: policy show
 | 
						|
.. code:: bash
 | 
						|
 | 
						|
    os policy show
 | 
						|
        <policy>
 | 
						|
 | 
						|
.. describe:: <policy>
 | 
						|
 | 
						|
    Policy to display
 |