Commit Graph

4068 Commits

Author SHA1 Message Date
8cd3e258c5 Implied Roles
Allow the user to create an inference rule between
two roles. The first, called the prior role
is the role explicitly assigned to an individual.
The second, called the implied role, is one that
the user gets implicitly. For example:

Role B implies Role A.
User X is assigned Role B.
Therefore User X also assigned Role A.

The management and maintenance of the rules is
performed in the Keystone server.

Change-Id: If547c2f16e812bc7fffd742ec37e6a26011f3185
2017-08-22 17:08:30 +00:00
5cc4d5b530 Merge "auto-generate object docs" 2017-08-18 19:48:08 +00:00
05c66f5bb6 Updated from global requirements
Change-Id: I5f7fdc751e6a9078eb1eb55f5b5015a56ff668cc
2017-08-18 11:42:09 +00:00
82dce1458c Merge "Use flake8-import-order plugin" 2017-08-17 23:30:07 +00:00
44e154d2d6 Merge "Allow PD as Subnetpool during Subnet creations" 2017-08-17 23:29:49 +00:00
4d7b4efeb5 auto-generate object docs
Change-Id: I832eade2ddab754664e5f57b9764e524e655e616
2017-08-17 16:46:31 -04:00
0e20212fa9 Revert "Disable karborclient until a fixed version is released"
Fixed karborclient has been released. The problem only exists
in karborclient 0.4.0 and the current version is 0.6.0.

This reverts commit 99a502b203.

Change-Id: Ie28fa1e0502792c87e68ab1c009b3349c739892b
2017-08-17 07:06:11 +00:00
f3bbf52b3c Use flake8-import-order plugin
In reviews we usually check import grouping but it is boring.
By using flake8-import-order plugin, we can avoid this.
It enforces loose checking so it sounds good to use it.
This flake8 plugin is already used in tempest.

Note that flake8-import-order version is pinned to avoid unexpected
breakage of pep8 job.

Setup for unit tests of hacking rules is tweaked to disable
flake8-import-order checks. This extension assumes an actual file exists
and causes hacking rule unit tests.

Change-Id: I12b596820727aeeb379bee16c2bc993dee9eb637
2017-08-17 06:55:00 +00:00
04ef8a41ac Allow PD as Subnetpool during Subnet creations
This commit now allows user to specify 'prefix_delegation'
as a Subnetpool during Subnet creation by using the new
--use-prefix-delegation option so that the IPv6
prefixes can be delegated to routers set up by the
cloud admins.

Change-Id: I67e5d81c4155db2e3c5c41ee1df77f2d77a17689
Closes-Bug: #1513894
2017-08-17 02:44:44 +00:00
53bea90a75 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I33c68188f316b533cc702e0b3ef97c854681bca1
2017-08-16 07:50:55 +00:00
64d6809c40 Merge "Convert network segment functional tests to JSON" 2017-08-14 16:20:22 +00:00
b30f0f3f05 Convert network segment functional tests to JSON
Change-Id: I8dc1e992d54c63c93bbe2bdd7acba61a7a6773d0
2017-08-13 07:55:21 -05:00
d0b0b90711 Merge "Add .htaccess for docs migration" 2017-08-11 15:43:56 +00:00
88b31fc12e Update release/stable branch table in docs
Change-Id: I0d18be4f2ed14137010693f41526a261a0acca3b
2017-08-10 16:37:09 -05:00
48c7405cca Update reno for stable/pike
Change-Id: Ieea72b22a55b29283705e957a973a46f2e6c5848
2017-08-10 19:31:07 +00:00
06c8845a9f Merge "Add new commands for karbor osc plugin" 2017-08-09 04:50:52 +00:00
fd7b4f4912 Add .htaccess for docs migration
Change-Id: I413a6d059f4eb751ca5c8b5a9b61740ac93680b1
2017-08-07 18:07:46 -05:00
a1af3437dc Add new commands for karbor osc plugin
These command operationlog are implemented in the latest python-karborclient
project.

Change-Id: Icfafcb7cbcc5052f75b5136443935e05e1c9ec84
2017-08-07 17:30:52 +08:00
a709c151e6 Updated from global requirements
Change-Id: I6f384b021b5ae73152192c5b4c2bab190db88251
2017-08-07 00:53:48 +00:00
bd079e5066 Replace guildelines with guidelines
Change-Id: I9c4f15d320e2c506c16634a5a0e2fc324101189a
2017-08-04 19:06:10 +08:00
6fdce13165 Updated from global requirements
Change-Id: Ie45d9ee68e24806b2411359068b6ec6c44dc5845
2017-07-28 21:47:55 +00:00
25e6c31d2a Updated from global requirements
Change-Id: I7906433adde40f76eaccdab186e68e0afcbe49af
2017-07-28 05:26:04 +00:00
31ff012f6c Merge "network functest: Remove condition for segment test" 2017-07-28 05:04:11 +00:00
d25f68f3ba Updated from global requirements
Change-Id: I1cba44152cf17ab3b50e5e3c423c702dbdf5039e
2017-07-27 20:33:15 +00:00
e22fc1fb6b Merge "Use instance variables for subnet tests" 2017-07-27 17:35:22 +00:00
590dc3ed01 Merge "Skip object-store functional tests when Swift is not available" 2017-07-27 15:19:03 +00:00
198a486413 network functest: Remove condition for segment test
Previously fucntional tests for network segment feature are skipped
as neutron 'segment' API extension was disabled in the gate.
We now enable neutron 'segment' API extension, so we can safely drop
the check for the segment extension from the test code.

Also setup code in test_network_segment is moved from setUpClass to
setUp. There is no good reason to do them in setUpClass and
having them in setUp simplifies the test code.

no user once this commit is applied.

Change-Id: I183310b94d9b6d7f4311a3859b59dc22d36440db
2017-07-27 13:49:03 +00:00
d010c00a15 Merge "Update the documentation link for doc migration" 2017-07-27 13:48:04 +00:00
1134249a5e Use instance variables for subnet tests
Commit 78a832441a let to random
failures of test_create_with_tags. This addresses that issue.

Change-Id: I470da7a1863a8c22257b1c27bc6d2b1c45c9cca3
2017-07-26 23:54:35 -07:00
022fdb10eb Skip object-store functional tests when Swift is not available
Specifically, in the py3 jobs Swift is not (yet) properly starting as
a py2 service, so we disabled swift in those OSC jobs and need to
skip the object-store functional tests in that case.

Change-Id: I073551c41b7636f04b3ee97dc6fe69630e207b67
2017-07-26 19:17:46 -05:00
86bda36963 Merge "Use *_as_ids instead *_as_list" 2017-07-26 03:58:57 +00:00
f67ebce530 Merge "wrong values in openstack quota show command" 3.12.0 2017-07-25 17:41:46 +00:00
80a9779601 Merge "Add optional parameter "user_id" and "type" to list credentials" 2017-07-25 17:41:39 +00:00
08ffd854e8 Merge "Use identity auth v3 the README examples" 2017-07-25 17:27:32 +00:00
470a1f1acf Add optional parameter "user_id" and "type" to list credentials
In keystone version 3.5, "type" optional attribute has been added
to list credentials. This patch add "user_id" and "type" optional
parameter in openstack client.

Change-Id: Ia09ee7c39204fdff2dfd7b9b606d888d007caac5
2017-07-25 09:56:50 -05:00
78a832441a network tag UT: avoid using mix-in test class
This is a follow-up patch on https://review.openstack.org/#/c/461195/
There is a suggestion to keep test code more straight-forward
and avoid using mix-in to reduce the code complexity.
This commit moves all logic implemented in _test_tag.py
into individual network tests.

Change-Id: I0a9f8c6cd758db9035b0fd60ce4b9bfc791b6cbd
2017-07-25 09:22:29 +00:00
ad21588b20 Merge "Network tag support" 2017-07-25 00:29:57 +00:00
770426d66c Merge "Updated from global requirements" 2017-07-24 17:28:21 +00:00
925776565e wrong values in openstack quota show command
"openstack quota show" shows wrong value in field project
and project_id. project UUID is shown in field project.
and project is coming as None.

Corrected it.

Change-Id: I237e49858feab14ec5e5bc6d8cb79c9f6f5ea9c0
Closes-Bug: #1679906
2017-07-24 11:28:28 +05:30
37998ad1c2 Update the documentation link for doc migration
Change-Id: I7833e40d66abe233af5a211bcefadc141fe8e54b
2017-07-24 11:33:07 +08:00
57e5840710 Network tag support
Neutron tag mechanism now supports network, subnet, port,
subnetpool and router. Tag support for more resources is planned.

This commit introduces a common mixin class to implement
tag operation and individual resource consumes it.

To support tag remove, network unset command is added.

Implements blueprint neutron-client-tag
Change-Id: Iad59d052f46896d27d73c22d6d4bb3df889f2352
2017-07-23 21:54:32 +00:00
e889ba1524 Merge "Release note cleanup for 3.12.0" 2017-07-23 19:31:41 +00:00
45d0809b39 Updated from global requirements
Change-Id: I68530243bdfbcf315b0be5775c08cc26faed4770
2017-07-23 19:08:42 +00:00
1f2295cf65 Release note cleanup for 3.12.0
Change-Id: I1fab42256e7b01d2efc23af686554e0325a48af6
2017-07-23 16:51:47 +00:00
bb59353ee1 Updated from global requirements
Change-Id: Ib6c0fbfc96d79293726ce941ad4becf31ee2ee79
2017-07-23 13:52:35 +00:00
199c13c836 Updated from global requirements
Change-Id: I09acea781d9df7c88a90c3915724b1245f2e219b
2017-07-22 16:39:06 +00:00
e0d7119c6d Merge "Start using 'cliff.sphinxext'" 2017-07-21 21:46:10 +00:00
77ff011ced Add domain parameter to Identity Provider
Identity providers are now associated with domains. This change
allows a user to specify a domain by ID or by name when creating
an identity provider. [0]

This also adds the column for Domain ID in listing.
Updating a domain for an identity provider is not supported, so
that isn't changed.

[0]. Id18b8b2fe853b97631bc990df8188ed64a6e1275

Closes-Bug: 1698390

Change-Id: Icc408e2fe88f257d5863bd3df716a777d52befcc
2017-07-21 11:28:57 -04:00
9cfa12df2a Start using 'cliff.sphinxext'
'cliff', the command line library used by 'osc_lib' (and, thus,
'python-openstackclient') recently gained a Sphinx extension to
automatically document cliff commands. This allows us to use the
documentation we already have in code instead of duplicating it in the
documentation.

Introduce the use of this, starting with the 'server' commands. This
requires extending the descriptions for two commands to ensure no
information is lost.

Change-Id: If701af8d5a3f78f4b173ceb476dd0c163be4b6ca
2017-07-21 14:48:44 +00:00
26ec06e281 Updated from global requirements
Change-Id: I9acdcf3a966dc7c6f92b077848d65f408fdd07eb
2017-07-21 05:07:46 +00:00