Some update happened (not exactly sure where) that stopped converting
strings to unicode to validate ip addresses.
Change-Id: Ibccc32be24a5e93e0ee3186d171f2ac0f0fcb40e
If there was no interface to raise, it would insert bad data into
the interfaces file. Also, execute ifdown first before ifup for
sanity that prevents some inconsistent successes and failures.
Change-Id: I96d552e0f46ebbdfd9827b9b9c818e5c561699b1
Member has subnet_id and we need to compare with network_id.
In order to do this CalculateDelta task now takes in a load balancer
loops through the amphora, collects the plugged networks
and gathers the network_ids from member subnet_ids and
builds the list accordingly.
Updates network_tasks CalculateDelta
Updates network_tasks adding method to handle deltas
Updates driver adding method to get network
Updates tests, spec and other required code
Change-Id: I698625e4e2e7352cb3000e22de808c33fa7636ed
Updates plugin.sh with method to add octavia service endpoint
Updates settings for protocol and port
Change-Id: Ie2a36f7a7f487c411d35f4a39cae336090caad33
There needed to be a method to update the security group rules whenever
a listener is added or removed. The update_vip method will not update those
rules based on what listener's are present.
Also changed the allocate_vip method to take in a load_balancer instead of
port_id, network_id, and/or ip_address. The reason for this is some driver
implementations may just want the vip to be the IP directly on the amphora.
The previous signature did not allow this.
Closes-Bug: #1453609
Closes-Bug: #1453610
Change-Id: Ie5765c231c6f6ba45042db9b111e6814cf50c465
A task was saying it provided LOADBALANCER but it wasn't returning
anything, so it overwrote the LOADBALANCER with None.
Change-Id: I8274832b5bfbabdf29f2491a5a7591e0817f6345
Closes-Bug: #1453945
Also renaming queueworker.py to controllerworker.py to be more
obvious what it is. This patch should complete the api to queue to
controller worker workflow (i.e. it should work).
Change-Id: Id924e83674dab1a5f13e57533dd5272c3d667b7d
Closes-Bug: #1452141
Update haproxy_amphora section with sane defaults
Fixed inconsistency with example conf
Updated controller worker and test to reflect updated config option
Change-Id: Ib178df4476bab3fa220c6955dc57c49e4d8f1066
The load balancer flow needed to use updated load balancer
data model objects for the networking sub flow.
Change-Id: I5b87ef7ab17579721950e943d13fb46405e0b072
Closes-Bug: #1450621
Remove ipaddr and simpledispatch as they are dependencies pulled
in by WSME and pecan.
Since these requirements are not part of global-requirements a
build error will occur with devstack attempting to sync the requirements
that can be prevented by removing requirements that should be
pulled in by other packages.
Change-Id: Ib83afb4f11e478764f80a2fa8c0f47903ff999a2
Adds config value to retrieve key for amphora access
Adds a HAProxyManager class with methods to modify/delete/start/stop an amphora
Modified sample_config to include amphorae on load balancer
Change-Id: I3fc2423a480ecc4b1b732a83fa1d4981c213da47
Implements: blueprint bp/haproxy-amphora-driver
The config loading code for keystone v3 authtokens
require domian paramters, but the keystone middleware
currently doesn't have those configuration options.
This fixes the config loading for the domains.
Change-Id: Ieb1571e64ef52b8e48fe21883d3c9f57c8402a54
This is for fixing the octavia issue.
We ran the Octavia code base through a static code analyser and several issues got flagged.
As an exercise we looked at each issue and are now proposing fixes to the complexity/code style issues.
Change-Id: I2fc0cf213a9f7488e7cf1dff789d98ca2deeb81f
Moved octavia/bin directory to octavia/octavia/cmd and renamed octavia-api to
api.py. This follows the new strucutre most openstack projects are doing.
Also implemented octavia-api being built when doing setup install.
Had to remove the octavia/tests/specs symlink because pbr did not like it and
would not allow anything to be built. Also found out the test_titles test was
not being run on the specs, so that has been added as a separate tox
environment.
Change-Id: I92f2bc6eaa346983f7a2479dc9fa43d2040f2cd5
Updates controller base to load handler via stevedore
Updates setup.cfg with entry point
Updates octavia.conf for api_handler default example
Updates config.py for api_handler
Updates requirements.txt for stevedore
Change-Id: I67e3da376fad1d48cec7f56f990c4b13ac7f4b83
tenant_name is no longer accepted for the v3 client authentication.
This patch updates that to project_name which is accepted on v3.
Change-Id: Iccc460c1a4bae10ff530ce09888b877bfd5c39f4
This is to allow neturon-lbaas to be able to give its own ids so it
can know what id octavia is tracking.
Change-Id: Id49c7971894228fdf56189df86175fd35c6ed5ca