provider network support for run ssh basic test

Registered by Victor Howard on 2015-02-10

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

Related branches

Sprints

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_instance() call
    this should tell you the list of fixed ips, JSON message:
fixed_ips {"subnet_id": "dcae8afa-8f91-4b8d-b577-d0358fc969be", "ip_address": "10.251.2.3"} ,{"subnet_id": "18244740-ff5a-476b-8e8b-e3204ddcb82f", "ip_address": "2001:558:ff22:35::2"}
attempt to connect to each of these in serial

targeting the community basic tests

https://github.com/openstack/tempest/blob/master/tempest/scenario/test_server_basic_ops.py#L80

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.