provider network support for run ssh basic test
we need to verify the provider network ip is correct and accessable via ssh. to do this we need to not only test floating ips but also fixed ips to exercise provider networks:
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Victor Howard
- Direction:
- Needs approval
- Assignee:
- Victor Howard
- Definition:
- Review
- Series goal:
- None
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
Whiteboard
steps for test
set the following config to get the name to test with in tempest.conf:
# Name of the fixed network that is visible to all test tenants.# (string value)
#fixed_network_name = private
check config to find network name to attach to or uuid
query neutron for floating IPs using the api for the call that mirrors the client call of neutron-net show with uuid to list the network,
- neutron net-show [UUID] - this returns the network info. If "router:external" = True, then this is a provider network with no floating IPs
- if false, continue with existing tests for allocating and assigning floats
- if true, proceed with port info
then neutron-port show to get ports then test each:
neutron port-list [UUID] - Use the UUID returned by nova boot in the self.boot_
this should tell you the list of fixed ips, JSON message:
fixed_ips {"subnet_id": "dcae8afa-
attempt to connect to each of these in serial
targeting the community basic tests
https:/