Brandon Logan c7617ff992 Setup base neutron network driver
There are common methods that all neutron based network drivers will most
likely implement the same way.  To prevent duplicate code, a common base driver
for all neutron drivers has been created. In the process of splitting this out,
cleaning up of some existing code was done as well.

The network driver's plug_network and unplug_network methods took an
amphora_id as a parameter, but it was always assumed to be the compute_id.
This parameter has been changed to compute_id.

The octavia interface network model originally had just a single ip_address,
but to more accurately reflect what neutron and probably other networking
as a services will return, this has been changed to fixed_ips because
interfaces and ports can have multiple ip addresses.

Other cleanup includes calling the network drivers own get_network, get_subnet,
and get_port methods instead of calling the neutron client's show_network,
show_subnet, and show_port methods.  Also, all of these changes required some
test changes as well.

Change-Id: Ie6ebc5bc8babe8562c280ba12a1feab21b4ff3f9
2015-08-20 12:57:05 -05:00
..
2014-12-23 01:42:53 -08:00