openstack-python-openstackc.../openstackclient/network
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
..
v2 Don't display router's is_ha and is_distributed attributes always 2018-05-25 19:45:13 +00:00
__init__.py Network CRUD 2014-06-24 15:00:25 -06:00
client.py Fix use of new openstacksdk connection 2018-01-23 08:08:26 -06:00
common.py Re-implement novaclient bits removed in 10.0 2018-03-13 09:10:45 -05:00
sdk_utils.py Avoid default mutable values in arguments 2017-10-10 14:04:40 +01:00
utils.py Refactor security group show to use SDK 2016-03-10 08:33:52 -06:00