Member uses in other projects should be able to see the extenal True networks.
test case: test_list_external_networks location: https://github.com/openstack/tempest/blob/master/tempest/api/network/admin/test_external_network_extension.py
neutron net-list
+--------------------------------------+-------------------------------------------------------------------+----------------------------------------------------+ | id | name | subnets | +--------------------------------------+-------------------------------------------------------------------+----------------------------------------------------+ | d9882d5a-e8ba-4171-890c-27aa2338d6af | tempest-test-network--758037640 | | | b86765ea-da8d-4744-ae47-76b25f7eeaea | snat-si-left_snat_49ca4882-4ba0-4adf-88bf- | de06d3fc-e3d2-44c7-92ad-c9d45fc43061 100.64.0.0/29 | | | 676914de042d_932f77c4-ed77-4ba1-98e2-fd52ee153db7 | | | 363904aa-9d92-46fe-9d91-325ad1fc003e | ip-fabric | | | 4da5d654-5cb9-4043-8562-98374f2e1344 | default-virtual-network | 5165fa12-3f1b-41e4-9e61-e6c4192c38a9 10.0.0.0/24 | | 7d046cae-7024-4c12-8c40-390ab244b1da | rhosp10-private-cert-net | 0723495a-0994-4bb7-aded-7836baf09745 10.10.10.0/24 | | 76df3318-857b-4e4f-ae89-cca82d8be70f | __link_local__ | | | 96046966-7e54-4a2b-bbf7-1a425a9324dc | default-virtual-network | a754e868-3a63-4be9-80d5-e6f8bfdb7fde 10.0.0.0/24 | | b86cb805-e504-4498-aac9-8f972fc8f159 | rhosp10-external-cert-net | 6329520f-90ea-4964-8055-7bf5f1eb7577 200.2.2.0/24 | | b176166c-8501-465c-9b75-2c48f6c59a67 | tempest-network--1139198216 | | | e268e4e4-da07-4a84-97ef-b487ab926489 | default-virtual-network | 7624ea79-b17f-4bc7-9db2-5003f3e5cf14 10.0.0.0/24 | +--------------------------------------+-------------------------------------------------------------------+----------------------------------------------------+ [root@overcloud-controller-0 ~]#
neutron net-show b176166c-8501-465c-9b75-2c48f6c59a67
+-------------------------+---------------------------------------------+ | Field | Value | +-------------------------+---------------------------------------------+ | admin_state_up | True | | contrail:fq_name | default-domain | | | tempest-ExternalNetworksTestJSON-1772785330 | | | tempest-network--1139198216 | | contrail:instance_count | 0 | | created_at | 2017-08-07T18:52:01.255133 | | description | | | id | b176166c-8501-465c-9b75-2c48f6c59a67 | | name | tempest-network--1139198216 | | port_security_enabled | True | | project_id | f87505f87ec24f319262f838197b9159 | | router:external | True | | shared | False | | status | ACTIVE | | subnets | | | tenant_id | f87505f87ec24f319262f838197b9159 | | updated_at | 2017-08-07T18:52:01.255133 | +-------------------------+---------------------------------------------+
Neutron net-list as a member user with RWUD role, user part of different other than f87505f87ec24f319262f838197b9159
[root@overcloud-controller-0 tempest]# neutron net-list +--------------------------------------+--------------------------+----------------------------------------------------+ | id | name | subnets | +--------------------------------------+--------------------------+----------------------------------------------------+ | 7d046cae-7024-4c12-8c40-390ab244b1da | rhosp10-private-cert-net | 0723495a-0994-4bb7-aded-7836baf09745 10.10.10.0/24 | +--------------------------------------+--------------------------+----------------------------------------------------+
Member uses in other projects should be able to see the extenal True networks.
test case: test_list_ external_ networks /github. com/openstack/ tempest/ blob/master/ tempest/ api/network/ admin/test_ external_ network_ extension. py
location: https:/
neutron net-list
+------ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- ------- ------- ------- ------- ------- ------- ------+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- ------- ------- ------- ------- ------- ------- ------+ e8ba-4171- 890c-27aa2338d6 af | tempest- test-network- -758037640 | | da8d-4744- ae47-76b25f7eea ea | snat-si- left_snat_ 49ca4882- 4ba0-4adf- 88bf- | de06d3fc- e3d2-44c7- 92ad-c9d45fc430 61 100.64.0.0/29 | 932f77c4- ed77-4ba1- 98e2-fd52ee153d b7 | | 9d92-46fe- 9d91-325ad1fc00 3e | ip-fabric | | 5cb9-4043- 8562-98374f2e13 44 | default- virtual- network | 5165fa12- 3f1b-41e4- 9e61-e6c4192c38 a9 10.0.0.0/24 | 7024-4c12- 8c40-390ab244b1 da | rhosp10- private- cert-net | 0723495a- 0994-4bb7- aded-7836baf097 45 10.10.10.0/24 | 857b-4e4f- ae89-cca82d8be7 0f | __link_local__ | | 7e54-4a2b- bbf7-1a425a9324 dc | default- virtual- network | a754e868- 3a63-4be9- 80d5-e6f8bfdb7f de 10.0.0.0/24 | e504-4498- aac9-8f972fc8f1 59 | rhosp10- external- cert-net | 6329520f- 90ea-4964- 8055-7bf5f1eb75 77 200.2.2.0/24 | 8501-465c- 9b75-2c48f6c59a 67 | tempest- network- -1139198216 | | da07-4a84- 97ef-b487ab9264 89 | default- virtual- network | 7624ea79- b17f-4bc7- 9db2-5003f3e5cf 14 10.0.0.0/24 | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+---- ------- ------- ------- ------- ------- ------- ------+ -controller- 0 ~]#
| id | name | subnets |
+------
| d9882d5a-
| b86765ea-
| | 676914de042d_
| 363904aa-
| 4da5d654-
| 7d046cae-
| 76df3318-
| 96046966-
| b86cb805-
| b176166c-
| e268e4e4-
+------
[root@overcloud
neutron net-show b176166c- 8501-465c- 9b75-2c48f6c59a 67
+------ ------- ------- -----+- ------- ------- ------- ------- ------- ------- --+ ------- ------- -----+- ------- ------- ------- ------- ------- ------- --+ ExternalNetwork sTestJSON- 1772785330 | network- -1139198216 | instance_ count | 0 | 07T18:52: 01.255133 | 8501-465c- 9b75-2c48f6c59a 67 | network- -1139198216 | enabled | True | 19262f838197b91 59 | 19262f838197b91 59 | 07T18:52: 01.255133 | ------- ------- -----+- ------- ------- ------- ------- ------- ------- --+
| Field | Value |
+------
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | tempest-
| | tempest-
| contrail:
| created_at | 2017-08-
| description | |
| id | b176166c-
| name | tempest-
| port_security_
| project_id | f87505f87ec24f3
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | f87505f87ec24f3
| updated_at | 2017-08-
+------
Neutron net-list as a member user with RWUD role, user part of different other than f87505f87ec24f3 19262f838197b91 59
[root@overcloud -controller- 0 tempest]# neutron net-list ------- ------- ------- ------- ----+-- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- + ------- ------- ------- ------- ----+-- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- + 7024-4c12- 8c40-390ab244b1 da | rhosp10- private- cert-net | 0723495a- 0994-4bb7- aded-7836baf097 45 10.10.10.0/24 | ------- ------- ------- ------- ----+-- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- +
+------
| id | name | subnets |
+------
| 7d046cae-
+------