openstack-python-openstackc.../openstackclient
Sławek Kapłoński 8db3933feb Don't display router's is_ha and is_distributed attributes always
In case when is_ha or is_distributed attribute of Neutron's router is
set to None, it means that it wasn't returned from server and should
not be displayed.
Otherwise it might be confusing for user is making
openstack router show <router_name>
call as an admin will return e.g. is_ha=True but same call done as
regular user will return False or None.
It might happen like that because returning of those attributes is
forbidden for regular users in Neutron's policy.json

Depends-On: https://review.openstack.org/567606/
Change-Id: I626b5193d9ecb308baad7b27939f9673c32b4182
Closes-Bug: #1689510
Task: 19789
Story: 2002110
2018-05-25 19:45:13 +00:00
..
api Re-implement novaclient bits removed in 10.0 2018-03-13 09:10:45 -05:00
common Merge "Fix limits show command without Nova and Cinder" 2018-04-23 09:49:35 +00:00
compute Merge "Add --image-property parameter in 'server create'" 2018-03-31 17:20:27 +00:00
identity Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
image Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Don't display router's is_ha and is_distributed attributes always 2018-05-25 19:45:13 +00:00
object Allow objects to be streamed to stdout 2017-07-05 20:08:18 -03:00
tests Don't display router's is_ha and is_distributed attributes always 2018-05-25 19:45:13 +00:00
volume Update help text for encryption provider 2018-02-23 16:26:39 -05: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 Useless line of code in shell.py 2017-09-08 06:28:15 +00:00