diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-01-13 07:45:22 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-01-13 07:45:22 +0000 |
| commit | dee071528dad3b30076bfa945e9663cf08092fc7 (patch) | |
| tree | 1882be2e0210d7f1c4332dcca59cc48f8d95cb1a /doc | |
| parent | 872e509ca5eeaf5e2ec61aea6a5ca393d47c3a65 (diff) | |
| parent | 673e0d88ffc299230823204793eb4b4a18a37530 (diff) | |
| download | python-openstackclient-dee071528dad3b30076bfa945e9663cf08092fc7.tar.gz | |
Merge "Command doc: policy"
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/source/command-objects/policy.rst | 95 | ||||
| -rw-r--r-- | doc/source/commands.rst | 2 |
2 files changed, 96 insertions, 1 deletions
diff --git a/doc/source/command-objects/policy.rst b/doc/source/command-objects/policy.rst new file mode 100644 index 00000000..195a89f2 --- /dev/null +++ b/doc/source/command-objects/policy.rst @@ -0,0 +1,95 @@ +====== +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 + +.. program:: policy delete +.. code:: bash + + os policy delete + <policy> + +.. describe:: <policy> + + Policy 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 diff --git a/doc/source/commands.rst b/doc/source/commands.rst index 6fe91a1f..6dbaf117 100644 --- a/doc/source/commands.rst +++ b/doc/source/commands.rst @@ -98,7 +98,7 @@ referring to both Compute and Volume quotas. * ``module``: internal - installed Python modules in the OSC process * ``network``: Network - a virtual network for connecting servers and other resources * ``object``: (**Object Store**) a single file in the Object Store -* ``policy``: Identity - determines authorization +* ``policy``: (**Identity**) determines authorization * ``project``: (**Identity**) owns a group of resources * ``quota``: (**Compute**, **Volume**) resource usage restrictions * ``region``: (**Identity**) a subset of an OpenStack deployment |
