Commit If489f7bb956381bc5223556d118cb48571f0873f added the listener id
to the pool provider object for the drivers to use.
This patch implements it.
Change-Id: I535b29756255cc5f1efb92bb3b3510efa7901e23
Commit Ide4beaf73bb99be5c3b4c71c12fecef3499f45d9 updated the drivers api spec.
This patch implements the new api for the update callbacks which needs the
original objet as well.
Change-Id: I530ec49acdc249a1f29e3e366eee70e29627a047
The provider drivers should be initialized at init, to allow configuration
validation, as well as allowing the drivers to perform actions at init.
Change-Id: Iaa6c4cbc65aa24f2c9bc53878226bd2e4b9ba694
Currently when the command to generate a policy file is used, it will
generate a yaml based file, but call it json.sample.policy. This patch
forces it to generate a json file, and changes the default name to
policy.json.sample.
Change-Id: I4d04f4f37385bd4601f566238aaba43dcbe74780
The networkx package changed their dependecy model in version 2.1 and
now uses "pydot" and adds the dependency via setuptools "extras".
Unfortunately they only define an "extra" of "all" which installs packages
we do not need and fail to install.
So until the "extras" are fixed in networkx, we need to disable flow
diagraming.
Change-Id: I4f9082c267dc7da14b81cb551eeb10bbf58c175a
See: https://github.com/networkx/networkx/pull/3080
The test case uses 'fixed_ip' as a query parameter, but the usage
is not correct. In before, the test passed because neutron
server ignored this parameter, and returned all the
ports, which happened to make the test pass.
This patch fixes the usage of this parameter. If there is no ip_address
then not to filter the list using the filter. Otherwise,
we use 'fixed_ips' parameter and populate its value correctly.
Change-Id: Iac4a6024e12ada515312ae8dd62719ae4351f508
When using the Octavia/amphora driver, unspecified or unlimited (-1)
settings would lead to a 2000 connection limit in HAproxy.
This patch updates that to be 1,000,000 connections.
1,000,000 was selected to amphora memory usage at a reasonable level.
Change-Id: Iddeb62412bb71b69cf1e9198be6131c59a3051b0
Story: 1635416
Task: 5159
Commit Ide4beaf73bb99be5c3b4c71c12fecef3499f45d9 updated the drivers api spec.
This patch implements the new api for the delete callbacks.
Change-Id: Icbabe8b01864175112000b2b5aa769f750a9708b
This is useful for debugging purposes, and could theoretically be
interesting data for custom elements.
Story: 2001236
Task: 5756
Change-Id: If5f7793bd16fd6c8841586f29cdcf5e53908b1fe
This patch fixes an issue that caused an internal error to the amphora
agent and led amphorae to transition to FAILURE state. The issue was
that on CentOS-based amphorae HAproxy package name is 'haproxy18' while
the expected package name is 'haproxy'.
The patch introduces a package name per distro map that is consulted
whenever a package has a different name than the one expected. If
there's a miss, it falls back to the expected package name.
Story: 2002958
Task: 22960
Change-Id: I59dfa3f9bd5974302ec72343444813232ec2ea02
Non-Debian based amphora agents raise internal server error when
querying for a package version. That is due to the fact that the agent
currently assumes dpkg-based distros ignoring other OS families such as
Red Hat, SUSE, etc where the output from package info querying output is
slightly different from dpkg.
Story: 2002961
Task: 22963
Change-Id: Ied37bb0191ca8af4966d097f47ec80536dfc843f
Load balancer topology options are SINGLE and ACTIVE_STANDBY. We default
to SINGLE as it is the default in-code too.
Change-Id: Id5af2397122ca3c031e9a5becccfcdd75506876f