python-openstackclient/openstackclient
Douglas Mendizábal a03e3dbf75 Fix "access rule" commands to only use ID
This patch modifies the access rule commands to use only the resource
ID.  The previous logic incorrectly assumed that access rules have a
"name" property, which resulted in unexpected behaviors.

For example, "access rule delete {non-existent-id}" now results in a
"not found" error instead of sometimes deleting an unrelated rule.

Story: 2010775
Task: 48163
Change-Id: Ib5c3b7f86acf1dfe7cc76dfa99fa4c118388bd71
(cherry picked from commit bc60e3bb90)
2023-07-06 15:46:17 +00:00
..
api Remove usage of six 2020-10-07 02:15:25 +00:00
common Merge "Drop default from ask_user_yesno question" 2023-02-22 12:32:22 +00:00
compute Merge "Update 'host list' and 'host show' command to use sdk" 2023-02-22 12:32:18 +00:00
identity Fix "access rule" commands to only use ID 2023-07-06 15:46:17 +00:00
image Add missing documentation for state options for "image set" 2023-02-22 10:14:21 +00:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Fix pep issue in the network service provider 2023-07-06 15:46:02 +00:00
object Add storage policy option to create container command 2020-02-19 10:08:48 +13:00
tests Fix "access rule" commands to only use ID 2023-07-06 15:46:17 +00:00
volume Merge "Wait for volume being available to set bootable or readonly" 2023-02-22 12:32:20 +00:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Remove usage of six 2020-10-07 02:15:25 +00:00