Commit Graph

13 Commits

Author SHA1 Message Date
Frode Nordahl 91c120a650 octavia: only run tearDown on success 2020-04-08 07:35:14 +02:00
Frode Nordahl 116da9ca6c octavia: tear down resources created during LBaasV2 test
Fixes #221
2020-04-07 17:56:37 +02:00
Frode Nordahl 998a61a6a5 octavia: Support testing multiple providers 2020-02-03 10:41:40 +01:00
Frode Nordahl c2e585ae4c octavia: Move LB creation API calls to helper 2020-02-03 10:35:49 +01:00
Frode Nordahl 3b6a2de1ca octavia: Conditionally use DVR specific flags
The current test code for octavia requires DVR extensions to be
present on the Neutron API server.

We need to conditionally enable this based on enabled extensions to
allow the test to operate on multiple deployment configurations.
2020-01-17 16:07:00 +01:00
Frode Nordahl bf23d80a1b octavia: Add setup and test code for DVR 2019-07-19 13:19:23 +02:00
Frode Nordahl cbcbb90922 octavia: Fix gathering of payload ips
The existing code lead to intermittent failures as there are a few
Neutron ports tagged with ``device:owner`` ``compute:nova`` that
has nothing to do with our payload instances.

Get IP information by asking Nova to list instances instead.
2019-07-16 11:57:34 +02:00
Frode Nordahl 7140e4e064 Add payload test
Create listener, pool, healthmonitor and members.

Check that we can get payload through the load balancer.
2019-06-21 14:41:40 +02:00
Frode Nordahl e395d1baf2 Add setup function for payload test instance
The instance will listen on TCP port 80 and serve up a Apache
welcome page.  This can be put behind a load balancer to validate
operation.
2019-06-21 14:41:27 +02:00
Frode Nordahl a73cede82a Fix erroneous use of generator return 2019-06-20 12:35:06 +02:00
Frode Nordahl cb68bdb490 Add missing docstring, use new raise_on_failure param
The Zaza run_action functions ought to have a raise exception
option, openstack-charmers/zaza#251
2019-06-20 07:59:17 +02:00
Frode Nordahl 9104c82b91 octavia/diskimage-retrofit: Add charm setup and tests
Setup can be used standalone by other charms consuming the
``octavia-diskimage-retrofit`` charm for their testing purposes.

Tests the charms actions.

Full end to end test will be done by consuming this charm in the
``octavia`` charm tests.
2019-06-19 15:28:32 +02:00
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00