Commit Graph

2029 Commits

Author SHA1 Message Date
OpenDev Sysadmins 43e762759c OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:47:48 +00:00
OpenStack Proposal Bot fcc673d131
Updated from global requirements
Also, fix unit tests.

Change-Id: I62e371c6f5a637e10c8aac6bb31910c17d873d51
2018-02-02 05:28:29 -06:00
Jenkins 23107f2513 Merge "Add parameter_groups and conditions params for StackTemplate" 2017-08-28 16:13:51 +00:00
liyi 96f86ee6bb Add parameter_groups and conditions params for StackTemplate
Change-Id: I333be10bcc5b6ddbf27bbda57fd27de24e7438d9
2017-08-25 15:24:57 +08:00
Jens Harbott c9028ee6cf Allow filtering network ports by fixed_ips
The patch in [1] introduced filtering network ports by fixed-ip in the
openstackclient, but it doesn't really work because the filter isn't
accepted in the sdk.

Add that option and add an unit test for the filter list.

[1] https://review.openstack.org/388575

Change-Id: I6cbb7f1aaff8ad12234f68ddb3fe564c556ece54
Closes-Bug: 1712527
2017-08-24 14:16:03 +00:00
Jenkins bbd0777902 Merge "Add doc8 rule and check doc/source files" 2017-08-23 13:09:34 +00:00
Jenkins 3989a676a6 Merge "Fix stack_file function return body" 2017-08-23 12:59:19 +00:00
Jenkins a6b8122a34 Merge "Fix octavia l7rules" 2017-08-23 12:50:34 +00:00
liuxiaoyang f18dc29eb0 Add doc8 rule and check doc/source files
doc8 is a linter for documents and used in openstack-manuals.
It is better to enforce document linters for simple checking.
This change is to add doc8 in tox file and fix line too long
in some files.

The current rules are as bellow:
- invalid rst format - D000
- lines should not be longer than 79 characters - D001
  - RST exception: line with no whitespace except in the beginning
  - RST exception: lines with http or https urls
  - RST exception: literal blocks
  - RST exception: rst target directives
- no trailing whitespace - D002
- no tabulation for indentation - D003
- no carriage returns (use unix newlines) - D004
- no newline at end of file - D005

Change-Id: I5b409fbfd95e05921310c6ecf4afea0220fb0bf0
2017-08-23 08:27:31 -04:00
lidong 4e7bd7f965 Fix some typos
Correct some spelling errors in files :
doc/source/users/guides/object_store.rst.
doc/source/users/resources/cluster/v1/receiver.rst.
openstack/compute/v2/_proxy.py.
openstack/network/v2/_proxy.py.

Change-Id: I798d11e181c61a117a910eac09ef10d9935a577c
2017-08-23 09:35:23 +08:00
Michael Johnson ab5091eb74 Fix octavia l7rules
The l7rules patch had a bad rebase and ended up getting merged in a broken
state as indicated by the functional test gate failure (non-voting).

This patch fixes this issues from the bad rebase and allows the tests to pass.

Change-Id: I4b2270f32c467e18d6ec203f20692685453687cd
2017-08-22 14:55:00 -07:00
lidong 0eecb4ba71 Update links in README
Change http://developer.openstack.org/sdks/python/openstacksdk/
to https://developer.openstack.org/sdks/python/openstacksdk/  in
README.rst

Change-Id: I19b2a8aeb625c682acf3ab23730af0c8556886b1
2017-08-22 16:09:21 +08:00
TingtingYu 73924e988f fix the bug that cannot create a listener by openstacksdk
When creating a listener with a loadbalance id by openstacksdk,there
have an error with the message "Listener must be created with a
loadbalancer or pool." I guess the reason is that I give the parameter
"loadbalancer_id"  but it be ignored in the code.

I modify the listener class, I add a new line load_balancer_id =
resource.Body('loadbalancer_id'), then successfully create a listener.

Change-Id: Id05fcdc0be8f50304a974c01d1aada4eaa4053cd
Closes-Bug: 1708780
2017-08-21 10:11:43 +08:00
Nakul Dahiwade 317cfe6e69 Introduce L7Rule for Octavia (load balancing)
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I19d2ec8e2f71527c4c7a1f4df043f5b28a5355c9
2017-08-19 13:38:06 -07:00
Nakul Dahiwade 9a4bd69aa9 Introduce L7Policy for Octavia (load balancing)
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: Ibf1d239f8eb3175224c91ca70b41e1f5c988d08d
2017-08-18 13:37:30 -07:00
Jenkins 1c182ac880 Merge "Introduce Health Monitor for Octavia" 2017-08-18 17:38:28 +00:00
Jenkins be11f224a2 Merge "Add required pool_id property to HealthMonitor" 2017-08-18 17:32:26 +00:00
Jenkins 314f5d5c02 Merge "Updated from global requirements" 2017-08-18 12:56:54 +00:00
Sindhu Devale 616abc354e Introduce Health Monitor for Octavia
Adds the health monitor resources for Octavia.

Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I0c7232d166673563fabb9d9eba74c5849ce9e3cd
2017-08-18 08:46:21 -04:00
TingtingYu a045f9741f Add required pool_id property to HealthMonitor
When I create a healthmonitor with a pool id by openstack sdk, there is an
error with the message "Failed to parse request. Required attribute
'pool_id' not specified", Then I find the code has no the parameter that
"pool_id".

I modify the healthmonitor class, I add a new line pool_id =
resource.Body('pool_id'), then successfully create a healthmonitor.

Change-Id: I95901152849341862333f1b3694c6265c43879ce
Closes-Bug: 1711546
2017-08-18 12:42:40 +00:00
TingtingYu 5a7da1d9d9 fix the bug that cannot create a pool by openstacksdk
When I create a pool with a listener id or a loadbalance id, there is an
error with the message "Pool must be created with a loadbalancer or
listener." Then I find the code has no the parameter that
"loadbalancer_id".

I modify the pool class, I add new lines load_balancer_id =
resource.Body('loadbalancer_id'),listener_id =
resource.Body('listener_id'), then successfully create a pool.

Change-Id: I37f041de8284c23fdb3291d932548aa1a1a9f00a
Closes-Bug: 1711528
2017-08-18 16:36:58 +08:00
OpenStack Proposal Bot d6ce9b719b Updated from global requirements
Change-Id: Ic16abb7dbc290d7ae0da1f185c7375a7471d67dc
2017-08-18 04:52:15 +00:00
Nakul Dahiwade f6b01f86b2 Introduce Member for Octavia (load balancing)
This patch introduces Resource for Member.

Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: Ie325270096bff313f11cabe2cba7129dd02acd6f
2017-08-17 09:12:02 -07:00
liyi bc4c4e6c35 Fix stack_file function return body
The function return response object, but not body.

Change-Id: I45a4f2a2092bb1a7d15830c469e5696f8d8fc565
Closes-Bug: #1710829
2017-08-16 10:39:50 +08:00
Shashank Kumar Shankar 7164a24f21 Introduce Pool for Octavia (load balancing)
This patch introduces Resource for Pool.

Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I5a701cdf80aaea0a597c83da3ad37baddf29da81
2017-08-15 18:25:22 -04:00
Jenkins 501f56d0f4 Merge "Introduce Listener for Octavia (load balancing)" 2017-08-15 15:30:48 +00:00
Nakul Dahiwade 31d5f9ecde Introduce Listener for Octavia (load balancing)
Adds SDK support for load-balancer listeners.

Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I50af4a1d95b18c50a0684b546cc5ed48aecf8cca
2017-08-15 10:35:35 -04:00
Jenkins 5d61cec955 Merge "Support node-adopt/preview CLI" 2017-08-15 14:28:36 +00:00
liyi 2b1baefb4b Support node-adopt/preview CLI
The preview API only accept few parameters, so the adopt API and
adopt-preview API can't use the same parameters.

Change-Id: Iea193672f33826551a370516c98ab4c950c71c1c
Partial-Bug: #1710620
2017-08-14 21:33:10 +08:00
Jenkins 4790d09a61 Merge "Update load_balancer for v2 API" 2017-08-10 21:15:09 +00:00
OpenStack Proposal Bot 1c98ea5e2d Updated from global requirements
Change-Id: Ifff5f947c99ef3e8d41dc4982a5b864fd4bf4684
2017-07-27 20:33:19 +00:00
Hangdong Zhang 52583776f3 Update external links which have moved
The developer docs seem to have moved so this updates
any references to docs.openstack.org/developer
Change-Id: Ie622b9514dfffc0bbf5ed553f38f0b736d698a64
2017-07-24 12:02:38 +00:00
OpenStack Proposal Bot 2e3ad0ff7e Updated from global requirements
Change-Id: I1bec8faaed866642da53ac23f3889cc44c6eaf3b
2017-07-22 16:39:09 +00:00
Jenkins 77c0a6811c Merge "Fix comment in services function" 2017-07-20 11:52:58 +00:00
jonnary 34a088ee5f Fix comment in services function
A generator should be a complex number.

Change-Id: I3c8f626b083ebc2ca5f9aa3bf0099e30283d0ddc
2017-07-20 02:44:27 +08:00
Jenkins 4e2157b62b Merge "Add config param for cluster object" 2017-07-19 14:22:45 +00:00
liyi 3b2c2957e2 Add config param for cluster object
Change-Id: I5d36bcba12fa4fdbcb8d4474b0e0351adfb1b304
2017-07-19 17:15:42 +08:00
Ankur Gupta 4413f46983 Update load_balancer for v2 API
This patch updates the load_balancer.v2.load_balancer for the current
state of the API

It also updates the post_test_hook script to accept an argument to
restrict the functional tests run.  Since the load-balancer tests can
take a significant time to run, this allows us to run a parallel gate
job for the load-balancer functional tests.

Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I6c526cd8225a929d3d5984da10b6478312461e6f
2017-07-18 18:05:29 -07:00
Jenkins a71579f1f5 Merge "Support to node-adopt and node-adopt-preview" 2017-07-18 12:59:00 +00:00
tengqm d946438a34 Support to node-adopt and node-adopt-preview
This adds support to adopt and adopt-preview API added to Senlin
API (microversion 1.7)

Change-Id: Ic3a11a094ba36d6875953cf10da11aae563e10a4
2017-07-17 23:05:36 -04:00
OpenStack Proposal Bot dadce7b740 Updated from global requirements
Change-Id: I6358a54b79de12f9b37aff759d7587b2c8d014bb
2017-07-14 05:08:29 +00:00
liyi 4a81b26b09 Unify style of 'domain' field
The output of CLI need unify style of 'domain' filed.

Change-Id: I556db6060af4ec480f50ae253eb652b5c42eec27
Partial-Bug: #1703545
2017-07-11 22:00:10 +08:00
Kiran_totad 1213ccb00f Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid using six.iteritems to achieve
iterators. We can use dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more readable.
2.In py2, the performance about list should be negligible, see the
link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: If5ab2f298e887a90cd43530e3fccc0294412f5c9
2017-06-29 10:08:32 +05:30
Brian Curtin 8eebf74bfb Remove dead links about OpenStack RC file
Change-Id: Ifdd09714cf5d55c6a85b09f2103e7186b00395a1
Closes-Bug: 1700885
2017-06-28 06:57:32 -04:00
OpenStack Proposal Bot d922253958 Updated from global requirements
Change-Id: Ie558b341237a1e095d14dc275fe0569e4b6a6e78
2017-06-27 12:22:24 +00:00
Brian Curtin f759fec584 Fix title in Network Agent resource doc
This was previously causing the resource listing to call the agent docs
the network.v2.network docs.

Change-Id: I4d61840b5356cbe698ffb7d5c7c65f1808f4988f
Closes: 1697966
2017-06-14 13:05:30 -04:00
Yuanbin.Chen 7946243705 Add compute support server live migrate operation
Implements: blueprint add-compute-migrate

Change-Id: I16e40a946565a94a1ecff0ad522c7cc79bdb234e
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2017-06-14 22:26:24 +08:00
Jenkins e32910a582 Merge "Added server console output method" 2017-06-14 14:01:29 +00:00
Jenkins 4843dd52a5 Merge "Remove get_service method from compute" 2017-06-14 13:06:34 +00:00
Jenkins 3fcb1c52ff Merge "Add compute support server backup operation" 2017-06-14 12:59:51 +00:00