25 Commits

Author SHA1 Message Date
Andreas Jaeger
a27dc56f52 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Update local hacking checks for new flake8.

Ignore new warnings, they will be fixed in followup.

Remove hacking and friends from lower-constraints, they are not needed
to be installed at run-time.

Add Pygments to lower-constraints to pass requirements-check.

Change-Id: I20da1309e4d65707130fe517f013d3ed625bf94c
2020-04-16 08:41:49 +02:00
ricolin
5b35225d16 Add ironic client plugin support
Change-Id: I2f3ee94424c4dab75fbcef6f8b32e565b45684e4
Task: 36285
2020-04-09 14:14:38 +08:00
ricolin
6a2a4000b9 Sync lower contraint with test-requirement
Change-Id: Ic2b9387efa9c98f8720d471f653cf55530cfc19b
2020-04-09 11:33:13 +08:00
Zuul
a7b554cd80 Merge "New resource OS::Neutron::ExtraRouteSet" 2020-01-22 07:50:45 +00:00
Gregory Thiemonge
68a8219315 Add support for Octavia's Flavor and FlavorProfile resources
Added OS::Octavia::Flavor and OS::Octavia::FlavorProfile support.
Added flavor parameter in OS::Octavia::LoadBalancer.

Flavor and FlavorProfile allow to configure/tune Load Balancer
capabilities (enable/disable HA, etc...)

Story: 2007081
Task: 37993

Change-Id: If31a888e5867ac6941ff0d515d4b88894fb97572
2020-01-20 18:57:37 +01:00
Bence Romsics
e0a69202d2 New resource OS::Neutron::ExtraRouteSet
I hope I remembered all the discussion points we had about how to design
this plugin, so:

* Instead of changing OS::Neutron::ExtraRoute we introduce
  OS::Neutron::ExtraRouteSet so we can take advantage of Neutron API's
  ability to add/remove multiple extra routes at once.

* Addition and removal of extra routes is supposed to be atomic with
  Neutron extension 'extraroute-atomic'. An update involves a removal
  and an addition, therefore an update is not atomic operation. However
  unless the responsibility for an extra route is moved from one stack
  to another that should not be a problem.

* Sharing the responsibility for an extra route between stacks (that is
  multiple stacks defining the same extra route) is not supported due
  to the Neutron API not allowing this.

Let me know what did I forget.

Example template:

resources:
  extrarouteset0:
    type: OS::Neutron::ExtraRouteSet
    properties:
      router: { get_resource: router0 }
      routes:
        - destination: 10.0.0.0/24
          nexthop: 10.0.0.10
        - destination: 10.0.1.0/24
          nexthop: 10.0.0.11
  ...

Change-Id: Ic1fe593d9821d844fd124b0212d444f6e3a0015e
Depends-On: https://review.opendev.org/675900
Story: #2005522
Task: #36264
2020-01-17 09:41:00 +00:00
Ifat Afek
ab584e500e Added a Vitrage client
Story: 2002684
Task: 23116
Change-Id: If05f0907d8f43f64327c7774170e5b559286fc06
2019-12-19 15:25:30 +00:00
Rabi Mishra
54f1119d69 Use client_retry_limit for keystone connection retry
Use the existing client_retry_limit option.

Change-Id: If3dd260cad088c9783e4c31ba18d7f261f7d68c9
Closes-Bug: #1840235
Task: 36287
2019-12-03 09:35:08 +05:30
Hongbin Lu
57680e547c Bump lower constraint of python-zunclient
Projects that depends on python-zunclient should use the latest
version as lower constraint.

Change-Id: I0d90720fab98192a191bb9ce5dae5190f2d23051
2019-09-01 22:33:28 +00:00
Rabi Mishra
87b4a92a62 Fix lower-constraints tox env to use proper constraints
- Bumps some of the lower constraints
- Fixes common/endpoint_utils.py to fallback to use auth_uri.

Change-Id: Ief0868d5feef3ee6b0689c6be27649ff009fbbcc
2019-04-10 09:11:56 +05:30
Kazunori Shinohara
809ac97439 Add a Blazar Lease resource
Add a OS::Blazar::Lease resource plugin to support Blazar which is a
resource reservation services in OpenStack.

Co-author: Asmita Singh <Asmita.Singh@nttdata.com>

Change-Id: I7683599d9e9443372d1f585985cee7c10fd08581
Task: 22882
Story: 2002085
2019-02-18 06:35:05 +00:00
whoami-rajat
ba4e54589d Add heat-status upgrade check command framework
This adds basic framework for heat-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: I83629184b49a6cf91928df702db23156433d99f6
Story: 2003657
Task: 26131
2018-10-22 14:19:36 +00:00
Zuul
53188f7e92 Merge "Clean up test requirements" 2018-08-03 07:43:35 +00:00
Zuul
5e52ee706c Merge "Enhancements to CIDR and IP address constraints." 2018-07-27 22:56:55 +00:00
Zuul
1ebf414c73 Merge "zun: use containers.update for renaming" 2018-07-27 19:18:12 +00:00
Pavlo Shchelokovskyy
51f566c56c Clean up test requirements
remove os-testr and testrepository in favor of stestr,
and remove qpid-python (does not seem to be imported anywhere).

Also adjust docs to describe running tests with stestr instead of
testrepository.

Change-Id: I12088ea2bf2475963db58d6e8e83fd6abe6f9b3f
2018-07-27 13:38:27 +00:00
Zuul
158636e94f Merge "Add Blazar client plugin to Heat" 2018-07-27 05:58:34 +00:00
Dao Cong Tien
e8824a2c93 Adds doc8 check to pep8
This patch adds doc8 check for .rst files to pep8.
Files that fail doc8 check are also fixed.

Ignore D001 of doc8 check. This requires lot of changes and
should be done in a separated patch.

Change-Id: I7732abc55ec27026efbf56663ba02ff27e8ec847
2018-07-26 14:57:58 +07:00
Nakul Dahiwade
9592bcb591 Enhancements to CIDR and IP address constraints.
Currently the constraints do not reject an ipaddress for ipv4 which have
fewer than 3 dots such as 'a' or 'a.b' or 'a.b.c'.
This enhancement provides an extra check that an ipv4 address has syntax:
'a.b.c.d'

This also applies to CIDR

Change-Id: Ia7ec8bf107abd169b6b6a91d0b8bb913fc3cc7b9
Story: 2002552
Task: 22114
2018-07-25 18:11:10 +00:00
Hongbin Lu
de549a931c zun: use containers.update for renaming
The old way of renaming is duplicated [1]. This patch uses the
new way to rename a container. In addition, this patch also
bump the version of python-zunclient to 2.0.0

[1] https://review.openstack.org/#/c/557595/

Change-Id: I4ef36a3c4a805b3e041fcb9456c297e59865485c
2018-07-24 17:43:11 +00:00
ricolin
e49e53af0e Bump monascaclient to at less 1.12.0
Bump mocascaclient to avoid issue in story 2002978

Change-Id: Ibe5d6469de8d18f08eeb2bfb48dfdd57b63eb62d
2018-07-18 10:22:55 +08:00
kaz_shinohara
64a60dd040 Add Blazar client plugin to Heat
Add a Blazar client plugin which will be used by a couple of Balazar
resources under development.

Change-Id: I0f68fc0525db3ba299d77019a102f24b9d3cea87
Task: 19754
Story: 2002085
2018-07-12 11:43:45 +09:00
Zane Bitter
170e47d072 Destroy mox forever
Change-Id: Ib983af3392760367c4ce6256456de70d1078fbba
2018-07-05 14:46:21 -04:00
Zane Bitter
50c634935d Fix lower-constraints
In the course of switching over to lower-constraints, the lower
constraints got out of sync with the requirements. This change fixes the
constraints using the script mentioned in
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129056.html

Change-Id: Iae317fa745862ebde4115ca8e77a26c6c9be20ac
2018-04-11 14:49:38 -04:00
Doug Hellmann
337d83ccde add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I72fd5f8c87133713cd272de210b7e957880f48f9
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 12:40:31 -04:00