python-openstackclient 8.0.0__py3-none-any.whl → 8.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. openstackclient/api/compute_v2.py +2 -2
  2. openstackclient/api/volume_v2.py +60 -0
  3. openstackclient/api/volume_v3.py +60 -0
  4. openstackclient/compute/client.py +5 -0
  5. openstackclient/compute/v2/console.py +7 -0
  6. openstackclient/compute/v2/console_connection.py +48 -0
  7. openstackclient/compute/v2/flavor.py +14 -1
  8. openstackclient/compute/v2/keypair.py +10 -3
  9. openstackclient/compute/v2/server.py +76 -13
  10. openstackclient/compute/v2/server_event.py +1 -1
  11. openstackclient/identity/common.py +85 -11
  12. openstackclient/identity/v3/application_credential.py +88 -87
  13. openstackclient/identity/v3/domain.py +67 -49
  14. openstackclient/identity/v3/group.py +113 -68
  15. openstackclient/identity/v3/project.py +42 -20
  16. openstackclient/identity/v3/role.py +7 -2
  17. openstackclient/identity/v3/user.py +38 -5
  18. openstackclient/image/client.py +5 -0
  19. openstackclient/image/v1/image.py +16 -1
  20. openstackclient/image/v2/cache.py +10 -6
  21. openstackclient/image/v2/image.py +59 -12
  22. openstackclient/image/v2/metadef_objects.py +8 -2
  23. openstackclient/image/v2/metadef_properties.py +9 -2
  24. openstackclient/network/client.py +0 -6
  25. openstackclient/network/v2/floating_ip.py +58 -29
  26. openstackclient/network/v2/network_qos_rule.py +3 -11
  27. openstackclient/network/v2/port.py +16 -0
  28. openstackclient/network/v2/router.py +1 -1
  29. openstackclient/network/v2/security_group.py +49 -7
  30. openstackclient/network/v2/security_group_rule.py +18 -1
  31. openstackclient/shell.py +1 -1
  32. openstackclient/tests/functional/base.py +5 -1
  33. openstackclient/tests/functional/compute/v2/test_keypair.py +41 -5
  34. openstackclient/tests/functional/identity/v3/test_access_rule.py +1 -1
  35. openstackclient/tests/functional/identity/v3/test_application_credential.py +7 -7
  36. openstackclient/tests/functional/image/v2/test_image.py +36 -14
  37. openstackclient/tests/functional/volume/v2/test_volume.py +1 -1
  38. openstackclient/tests/functional/volume/v3/test_volume.py +2 -2
  39. openstackclient/tests/unit/api/test_volume_v2.py +124 -0
  40. openstackclient/tests/unit/api/test_volume_v3.py +124 -0
  41. openstackclient/tests/unit/compute/v2/fakes.py +81 -305
  42. openstackclient/tests/unit/compute/v2/test_console.py +18 -1
  43. openstackclient/tests/unit/compute/v2/test_console_connection.py +72 -0
  44. openstackclient/tests/unit/compute/v2/test_flavor.py +160 -175
  45. openstackclient/tests/unit/compute/v2/test_keypair.py +12 -5
  46. openstackclient/tests/unit/compute/v2/test_server.py +211 -97
  47. openstackclient/tests/unit/compute/v2/test_server_backup.py +32 -71
  48. openstackclient/tests/unit/compute/v2/test_server_event.py +2 -2
  49. openstackclient/tests/unit/compute/v2/test_server_image.py +33 -72
  50. openstackclient/tests/unit/compute/v2/test_server_migration.py +4 -4
  51. openstackclient/tests/unit/identity/v3/test_application_credential.py +93 -65
  52. openstackclient/tests/unit/identity/v3/test_domain.py +117 -107
  53. openstackclient/tests/unit/identity/v3/test_group.py +353 -202
  54. openstackclient/tests/unit/identity/v3/test_project.py +46 -53
  55. openstackclient/tests/unit/identity/v3/test_role.py +2 -8
  56. openstackclient/tests/unit/identity/v3/test_user.py +86 -6
  57. openstackclient/tests/unit/image/v1/test_image.py +55 -9
  58. openstackclient/tests/unit/image/v2/test_image.py +128 -58
  59. openstackclient/tests/unit/image/v2/test_metadef_objects.py +22 -0
  60. openstackclient/tests/unit/image/v2/test_metadef_properties.py +24 -10
  61. openstackclient/tests/unit/network/v2/fakes.py +406 -485
  62. openstackclient/tests/unit/network/v2/test_floating_ip_network.py +13 -19
  63. openstackclient/tests/unit/network/v2/test_l3_conntrack_helper.py +2 -2
  64. openstackclient/tests/unit/network/v2/test_ndp_proxy.py +3 -5
  65. openstackclient/tests/unit/network/v2/test_network.py +4 -4
  66. openstackclient/tests/unit/network/v2/test_network_agent.py +15 -29
  67. openstackclient/tests/unit/network/v2/test_network_qos_policy.py +16 -19
  68. openstackclient/tests/unit/network/v2/test_network_qos_rule.py +79 -152
  69. openstackclient/tests/unit/network/v2/test_network_qos_rule_type.py +4 -6
  70. openstackclient/tests/unit/network/v2/test_network_rbac.py +2 -2
  71. openstackclient/tests/unit/network/v2/test_port.py +57 -17
  72. openstackclient/tests/unit/network/v2/test_router.py +73 -57
  73. openstackclient/tests/unit/network/v2/test_security_group_network.py +31 -27
  74. openstackclient/tests/unit/network/v2/test_security_group_rule_compute.py +1 -3
  75. openstackclient/tests/unit/network/v2/test_security_group_rule_network.py +82 -39
  76. openstackclient/tests/unit/volume/v2/fakes.py +1 -2
  77. openstackclient/tests/unit/volume/v2/test_service.py +57 -91
  78. openstackclient/tests/unit/volume/v2/test_volume.py +466 -410
  79. openstackclient/tests/unit/volume/v2/test_volume_backup.py +141 -148
  80. openstackclient/tests/unit/volume/v2/test_volume_snapshot.py +293 -283
  81. openstackclient/tests/unit/volume/v3/test_block_storage_log_level.py +61 -71
  82. openstackclient/tests/unit/volume/v3/test_service.py +221 -141
  83. openstackclient/tests/unit/volume/v3/test_volume.py +569 -534
  84. openstackclient/tests/unit/volume/v3/test_volume_attachment.py +1 -1
  85. openstackclient/tests/unit/volume/v3/test_volume_backup.py +198 -203
  86. openstackclient/tests/unit/volume/v3/test_volume_snapshot.py +682 -47
  87. openstackclient/volume/v2/service.py +41 -38
  88. openstackclient/volume/v2/volume.py +140 -88
  89. openstackclient/volume/v2/volume_backup.py +9 -3
  90. openstackclient/volume/v2/volume_snapshot.py +121 -84
  91. openstackclient/volume/v3/block_storage_log_level.py +22 -28
  92. openstackclient/volume/v3/service.py +105 -14
  93. openstackclient/volume/v3/volume.py +287 -99
  94. openstackclient/volume/v3/volume_backup.py +24 -19
  95. openstackclient/volume/v3/volume_group.py +1 -1
  96. openstackclient/volume/v3/volume_snapshot.py +485 -10
  97. {python_openstackclient-8.0.0.dist-info → python_openstackclient-8.2.0.dist-info}/AUTHORS +13 -0
  98. python_openstackclient-8.2.0.dist-info/METADATA +264 -0
  99. {python_openstackclient-8.0.0.dist-info → python_openstackclient-8.2.0.dist-info}/RECORD +104 -98
  100. {python_openstackclient-8.0.0.dist-info → python_openstackclient-8.2.0.dist-info}/entry_points.txt +7 -6
  101. python_openstackclient-8.2.0.dist-info/pbr.json +1 -0
  102. python_openstackclient-8.0.0.dist-info/METADATA +0 -166
  103. python_openstackclient-8.0.0.dist-info/pbr.json +0 -1
  104. {python_openstackclient-8.0.0.dist-info → python_openstackclient-8.2.0.dist-info}/LICENSE +0 -0
  105. {python_openstackclient-8.0.0.dist-info → python_openstackclient-8.2.0.dist-info}/WHEEL +0 -0
  106. {python_openstackclient-8.0.0.dist-info → python_openstackclient-8.2.0.dist-info}/top_level.txt +0 -0
@@ -1,166 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: python-openstackclient
3
- Version: 8.0.0
4
- Summary: OpenStack Command-line Client
5
- Home-page: https://docs.openstack.org/python-openstackclient/latest/
6
- Author: OpenStack
7
- Author-email: openstack-discuss@lists.openstack.org
8
- Classifier: Environment :: OpenStack
9
- Classifier: Intended Audience :: Information Technology
10
- Classifier: Intended Audience :: System Administrators
11
- Classifier: License :: OSI Approved :: Apache Software License
12
- Classifier: Operating System :: POSIX :: Linux
13
- Classifier: Programming Language :: Python
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Programming Language :: Python :: 3.10
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Requires-Python: >=3.9
20
- Description-Content-Type: text/x-rst
21
- License-File: LICENSE
22
- License-File: AUTHORS
23
- Requires-Dist: pbr !=2.1.0,>=2.0.0
24
- Requires-Dist: cryptography >=2.7
25
- Requires-Dist: cliff >=3.5.0
26
- Requires-Dist: iso8601 >=0.1.11
27
- Requires-Dist: openstacksdk >=3.3.0
28
- Requires-Dist: osc-lib >=2.3.0
29
- Requires-Dist: oslo.i18n >=3.15.3
30
- Requires-Dist: python-keystoneclient >=3.22.0
31
- Requires-Dist: python-cinderclient >=3.3.0
32
- Requires-Dist: requests >=2.27.0
33
- Requires-Dist: stevedore >=2.0.1
34
-
35
- ========================
36
- Team and repository tags
37
- ========================
38
-
39
- ===============
40
- OpenStackClient
41
- ===============
42
-
43
- .. image:: https://img.shields.io/pypi/v/python-openstackclient.svg
44
- :target: https://pypi.org/project/python-openstackclient/
45
- :alt: Latest Version
46
-
47
- OpenStackClient (aka OSC) is a command-line client for OpenStack that brings
48
- the command set for Compute, Identity, Image, Network, Object Store and Block
49
- Storage APIs together in a single shell with a uniform command structure.
50
-
51
- The primary goal is to provide a unified shell command structure and a common
52
- language to describe operations in OpenStack.
53
-
54
- * `PyPi`_ - package installation
55
- * `Online Documentation`_
56
- * `Launchpad project`_ - bugs and feature requests
57
- * `Blueprints`_ - feature specifications (historical only)
58
- * `Source`_
59
- * `Developer`_ - getting started as a developer
60
- * `Contributing`_ - contributing code
61
- * `Testing`_ - testing code
62
- * IRC: #openstack-sdks on OFTC (irc.oftc.net)
63
- * License: Apache 2.0
64
-
65
- .. _PyPi: https://pypi.org/project/python-openstackclient
66
- .. _Online Documentation: https://docs.openstack.org/python-openstackclient/latest/
67
- .. _Blueprints: https://blueprints.launchpad.net/python-openstackclient
68
- .. _`Launchpad project`: https://bugs.launchpad.net/python-openstackclient
69
- .. _Source: https://opendev.org/openstack/python-openstackclient
70
- .. _Developer: https://docs.openstack.org/project-team-guide/project-setup/python.html
71
- .. _Contributing: https://docs.openstack.org/infra/manual/developers.html
72
- .. _Testing: https://docs.openstack.org/python-openstackclient/latest/contributor/developing.html#testing
73
- .. _Release Notes: https://docs.openstack.org/releasenotes/python-openstackclient
74
-
75
- Getting Started
76
- ===============
77
-
78
- OpenStack Client can be installed from PyPI using pip::
79
-
80
- python3 -m pip install python-openstackclient
81
-
82
- There are a few variants on getting help. A list of global options and supported
83
- commands is shown with ``--help``::
84
-
85
- openstack --help
86
-
87
- There is also a ``help`` command that can be used to get help text for a specific
88
- command::
89
-
90
- openstack help
91
- openstack help server create
92
-
93
- If you want to make changes to the OpenStackClient for testing and contribution,
94
- make any changes and then run::
95
-
96
- git clone https://opendev.org/openstack/python-openstackclient
97
- cd python-openstackclient
98
- python3 -m pip install -e .
99
-
100
- Configuration
101
- =============
102
-
103
- The CLI is configured via environment variables and command-line
104
- options as listed in https://docs.openstack.org/python-openstackclient/latest/cli/authentication.html.
105
-
106
- Authentication using username/password is most commonly used:
107
-
108
- - For a local user, your configuration will look like the one below::
109
-
110
- export OS_AUTH_URL=<url-to-openstack-identity>
111
- export OS_IDENTITY_API_VERSION=3
112
- export OS_PROJECT_NAME=<project-name>
113
- export OS_PROJECT_DOMAIN_NAME=<project-domain-name>
114
- export OS_USERNAME=<username>
115
- export OS_USER_DOMAIN_NAME=<user-domain-name>
116
- export OS_PASSWORD=<password> # (optional)
117
-
118
- The corresponding command-line options look very similar::
119
-
120
- --os-auth-url <url>
121
- --os-identity-api-version 3
122
- --os-project-name <project-name>
123
- --os-project-domain-name <project-domain-name>
124
- --os-username <username>
125
- --os-user-domain-name <user-domain-name>
126
- [--os-password <password>]
127
-
128
- - For a federated user, your configuration will look the so::
129
-
130
- export OS_PROJECT_NAME=<project-name>
131
- export OS_PROJECT_DOMAIN_NAME=<project-domain-name>
132
- export OS_AUTH_URL=<url-to-openstack-identity>
133
- export OS_IDENTITY_API_VERSION=3
134
- export OS_AUTH_PLUGIN=openid
135
- export OS_AUTH_TYPE=v3oidcpassword
136
- export OS_USERNAME=<username-in-idp>
137
- export OS_PASSWORD=<password-in-idp>
138
- export OS_IDENTITY_PROVIDER=<the-desired-idp-in-keystone>
139
- export OS_CLIENT_ID=<the-client-id-configured-in-the-idp>
140
- export OS_CLIENT_SECRET=<the-client-secred-configured-in-the-idp>
141
- export OS_OPENID_SCOPE=<the-scopes-of-desired-attributes-to-claim-from-idp>
142
- export OS_PROTOCOL=<the-protocol-used-in-the-apache2-oidc-proxy>
143
- export OS_ACCESS_TOKEN_TYPE=<the-access-token-type-used-by-your-idp>
144
- export OS_DISCOVERY_ENDPOINT=<the-well-known-endpoint-of-the-idp>
145
-
146
- The corresponding command-line options look very similar::
147
-
148
- --os-project-name <project-name>
149
- --os-project-domain-name <project-domain-name>
150
- --os-auth-url <url-to-openstack-identity>
151
- --os-identity-api-version 3
152
- --os-auth-plugin openid
153
- --os-auth-type v3oidcpassword
154
- --os-username <username-in-idp>
155
- --os-password <password-in-idp>
156
- --os-identity-provider <the-desired-idp-in-keystone>
157
- --os-client-id <the-client-id-configured-in-the-idp>
158
- --os-client-secret <the-client-secred-configured-in-the-idp>
159
- --os-openid-scope <the-scopes-of-desired-attributes-to-claim-from-idp>
160
- --os-protocol <the-protocol-used-in-the-apache2-oidc-proxy>
161
- --os-access-token-type <the-access-token-type-used-by-your-idp>
162
- --os-discovery-endpoint <the-well-known-endpoint-of-the-idp>
163
-
164
- If a password is not provided above (in plaintext), you will be interactively
165
- prompted to provide one securely.
166
-
@@ -1 +0,0 @@
1
- {"git_version": "30aa27b7", "is_release": true}