IP availability list for shared networks

Bug #1721309 reported by tom king
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

Wishlist item.

For a _member_ role in a project that doesn't own a shared provider network, the user cannot see what IP address availability there is for that network.

(openstack) network list
+--------------------------------------+--------------------------+--------------------------------------+
| ID | Name | Subnets |
+--------------------------------------+--------------------------+--------------------------------------+
........
| 2bfdaa3a-b3c7-414a-934d-1d47751bef4d | AdminNetwork2 | f05a5532-940f-45c7-b3d5-32ec80a485d9 |
+--------------------------------------+--------------------------+--------------------------------------+
(openstack) ip availability show 2bfdaa3a-b3c7-414a-934d-1d47751bef4d
ResourceNotFound: No NetworkIPAvailability found for 2bfdaa3a-b3c7-414a-934d-1d47751bef4d

This naturally works for the network owner:
(openstack) ip availability show 2bfdaa3a-b3c7-414a-934d-1d47751bef4d
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+
| id | 2bfdaa3a-b3c7-414a-934d-1d47751bef4d |
| name | None |
| network_id | 2bfdaa3a-b3c7-414a-934d-1d47751bef4d |
| network_name | AdminNetwork2 |
| project_id | 979dbb66b7ea4c648c8a3e906a8b0c79 |
| subnet_ip_availability | cidr='10.145.64.0/18', ip_version='4', subnet_id='f05a5532-940f-45c7-b3d5-32ec80a485d9', subnet_name='2942-sub', total_ips='16381', used_ips='824' |
| total_ips | 16381 |
| used_ips | 824 |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------+

The wish is to allow non-owners see the IP availability IFF the network is shared with the _member_'s project.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.