9 Commits

Author SHA1 Message Date
Brandon Logan
3b23de32b8 Plug vip and networks by port mac address
Co-Authored-By: German Eichberger <german.eichberger@hp.com>

Change-Id: Ic6206a97ad67f6364d850e033760ee60d7161f6f
2015-09-09 01:58:19 +00:00
Brandon Logan
c2bdb48419 Decouple amp driver from network using new models
The amphora driver's post_vip_plug method required network specific information
about the amphora to complete implementations.  It was not accepting anything
other than a loadbalancer object.  Now it takes a dictionary of
AmphoraNetworkConfig objects that is keyed of amphora id.  Each instance
contains network specific information required to set up the correct routing
on the amphora.

This patch sets up the routing correctly to solve the vip blackholing issue but
only for the ssh_driver.  The argument has only been added to the post_vip_plug
method of the rest_api_driver but will need to be updated to handle this new
information and to also fix the vip blackholing problems.

Change-Id: I17ce89b6c050a2a36e0a802920e2dedb063f615b
Closes-Bug: #1453951
2015-07-30 22:43:25 -05:00
Michael Johnson
8c9ee6d230 Corrected some __init__() parameters
Removed log from __init__() parameters
Removed get_logger methods
Updated specs for above
Added optional region parameter to noop compute driver

Change-Id: Ie3ed4ebb5d0407cb18f7cf957334dab4bb821bf7
2015-04-13 23:03:54 +00:00
Brandon Logan
961f304ca1 Added post_vip_plug method to the amphora driver
Fixed some doc'ed docstrings as well to satisfy someone's OCD.  I won't name
names but they're name rhymes with Hadam Arwell.

Change-Id: I0b6482cda29c556918c2b2eb8b03cdec30b0b7c3
2015-04-13 02:21:46 -05:00
minwang
86ec61f961 Add health check amphora-driver-interface
Add the specs in amphora-driver-interface and driver_base and noop-driver under amphora driver

Change-Id: Ie97f4156ba1a6c7db0d59c202b752345be004cf3
2015-04-08 15:02:01 -07:00
Trevor Vardeman
4c8e6d8ab2 Modified amphora driver spec to include a new, optional method
Updated spec to include method and description for network plug operations
potentially necessary on an amphora

Updated interface to include optional method and description for network plug
operations potentially necessary on an amphora

Change-Id: Iaee3033796d4890a549c25a7327cada81bdf0384
2015-03-23 13:35:14 -05:00
German Eichberger
d1601c535c Removes flows from the amphora-driver-interface
* Remove reference to flows
* Added new finalize_amphora_call as taled about in midcycle
* fixed spelling

Change-Id: Iadd4915740ad864408e9b7e495ca0ff99d1ebec9
2015-01-13 09:14:24 -08:00
German Eichberger
5281a1b0a5 updates the amphora driver interface spec
with the lastest from the midcycle
* remove getHealth, getStats
* add getConfiguration
* remove some unneeded exceptions
* make several calls return task flow
  flows

Change-Id: I6a11fac73a696f23f7c4df7410f66ecdd9fcf50e
2014-12-22 10:35:09 -08:00
German Eichberger
fc3141dbdc Spec for the amphora driver interface
This is using listeners this time.

Change-Id: I9d7682b4cb89bc74303593d6739d4196ed0d19e6
2014-09-26 13:46:31 -07:00