Commit Graph

14 Commits

Author SHA1 Message Date
Hamza Alqtaishat 990287677b Adding the senlin resource
This handle the senlin cluster disable/clean
for disable it will detach the polices from the cluster
and resize the cluster to zero (empty cluster)

for clean it will deatach the policies from cluster
clean the policies, receivers then clean the clusters then clean
the profiles

Change-Id: I09421d55c66d91a747bc786fdd250730c79dfd34
2019-10-24 20:31:38 +00:00
Adam Harwell 7044205c34 Add Octavia support
Includes functional testing.

Change-Id: I8d2152d2f354cfb882f534d23f150d6962195b0f
2019-10-01 20:09:37 -07:00
Graham Hayes 11e2fdd2fb
Add functional testing for Designate
Change-Id: If9fe00c437e6ca1341c72c1081eee35ad2ee46d2
Signed-off-by: Graham Hayes <gr@ham.ie>
2018-10-19 16:31:39 +01:00
Tobias Urdin 8b9262207e Move zuul config to repo
Moves the zuul config for ospurge that now
is in project-config in to the repo.

Change-Id: I21d83eaa8575a4c59cd65c8527243f05662ec024
2018-09-08 22:27:12 +00:00
Tobias Urdin ebb02fde0a Fix functional testing
Fixes for the functional testing using
devstack.

Change-Id: I3a510b6405464fe966cb7cb5ea0a1321b9e7e34f
2018-09-08 22:51:08 +02:00
Victor Stinner 17162e6506 Python2: Add mock and unittest2 test dependencies
* unittest.mock was added in Python 3.3 standard library: use
  external 'mock' module, backport for Python 2.7
* assertRaisesRegex() method was added to Python 3.2 unittest module:
  use external 'unitttest2' backport for Python 2.7 to not have to
  rewrite unit tests just because of Python 2.7

Both added dependencies are specific to Python 2.7 and have no impact
on Python 3.

Related-Bug: 1726399
Change-Id: Ieb32e85d6f40f9b7bed5ba99900be2432d18da9e
2017-11-09 10:43:20 +00:00
Jordan Pittier 3ea94225fc OSPurge; rework tox.ini to test multiple versions of Python
Change-Id: I01e0b61c1a39c9ce8fe425ac4c0922fc8c18ce4e
2017-01-05 10:41:26 +01:00
Jordan Pittier 3a612efd53 OSPurge version 2
This commit is a whole new version of OSPurge. Currently OSPurge suffers
from the following limitations:
* It's slow (monothread)
* It's not guaranteed to complete. If a resource fails to be deleted then
OSPurge can choke on deleting other resources that depends on the first one.
* Not properly unit tested.
* Not modular (one huge file to deal with all services)

This new version is:
* Faster (multithreaded, thanks to a ThreadPoolExecutor)
* Safe (we check and wait for some prerequisites before attempting a
delete)
* 100% unit tested.
* Modular (one file per service)

Note that it's Python3.5 compatible. It also uses OpenStack Shade
and OpenStack client-config libraries so that OSPurge focuses on the
cleaning logic only.

Overall I believe this is a better version of OSPurge and more future
proof. NOte that we tagged and released OSPurge 1.3 recently in case
the new version was not satisfactory to everybody.

Change-Id: I5eb92a0556df210ea3cb4e471b8db3b5bf7ed5ee
2016-12-15 10:49:25 +01:00
Steve Martinelli 1403185a56 sync up requirements with global-requirements
in an effort to make things more standardized, we should use the
requirements outlined by the global-requirements team [1].

note that httpretty is no longer a global-requirement, we should
probably transition to using mock or requests-mock.

[1] https://github.com/openstack/requirements/blob/master/global-requirements.txt

Change-Id: I0c46731e7b0427f7564b0c654d6d9be4a4685b2b
2016-12-14 22:07:58 +00:00
Christian Berendt 0d906d8649 Fix syntax issues in bash scripts and add bashate check
* [E] E003: Indent not multiple of 4

Change-Id: I7cd5c8b5348de065d84d03a316dc120f121841f3
2015-11-19 22:34:15 +01:00
Christian Berendt 6ba266f5a9 Improve README file and add an initial Sphinx environment
Change-Id: I06e892f2259ab29698b100145e57c9410fba8eea
2015-11-17 20:52:18 +01:00
Jordan Pittier f27785eddd Bump HACKING to 0.10
Change-Id: I96d5a7caf40d0d8d10e412538593f0e55005bdb1
2015-03-10 17:16:45 +01:00
JordanP 82a76e5c4b Add tox py27 target + cleanup to enforce Hacking rules
Change-Id: I69595cca258c45a740bb222328cad4bbab991e49
2014-10-20 15:55:28 +02:00
Florent Flament 98008cb337 Initial commit 2014-02-14 13:34:25 +01:00