File: policy.rst

package info (click to toggle)
python-openstackclient 2.3.0-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 3,376 kB
  • sloc: python: 39,869; makefile: 158; sh: 40
file content (95 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
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