Commit Graph

4106 Commits

Author SHA1 Message Date
OpenDev Sysadmins 149c338fd9 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:45:04 +00:00
Rui Chen ff9bd34b3c [Compute]Make column content readable for both human and machine
Currently, we use utils.format_dict(), utils.format_list(),
utils.format_list_of_dicts to make column value can be easy to read by
human, but osc support to format the CLI output into several format,
like: json, shell, csv, yaml, most of these should be understand by
program and code, so keeping the column content as the original value
make sense, like {u'name': u'RuiChen'} than name='RuiChen'

The patch include all compute commands.

Change-Id: I313a52f94895625e6045df870320840fee157759
Implements: blueprint osc-formattable-columns
Partial-Bug: #1538015
Partial-Bug: #1538006
2017-09-18 15:14:22 +08:00
Dean Troyer 5309bf5f87 Merge remote-tracking branch 'origin/master' into f4-merge-branch
Change-Id: Ie6c321e67aa9338334e4649879e60847a5d1eb56
2017-09-14 11:16:11 -05:00
Jenkins f63bb18003 Merge "Updated from global requirements" 2017-09-13 18:18:45 +00:00
Jenkins a4490b876e Merge "Fix output for subnet show" 2017-09-13 16:52:55 +00:00
OpenStack Proposal Bot c7671dd9a4 Updated from global requirements
Change-Id: Ibeed9c623a6ef1c641c121a2b5ee75920346056f
2017-09-13 13:02:59 +00:00
Jenkins c98ff623f2 Merge "Correct import of keystoneauth1 session" 2017-09-13 08:34:34 +00:00
OpenStack Proposal Bot 95378bb37d Updated from global requirements
Change-Id: I30be8748ef78604eb63c61e1dcf5fc5a740822aa
2017-09-13 00:15:31 +00:00
Gage Hugo 760e91abcf Correct import of keystoneauth1 session
keystoneclient.session has been long deprecated in favor of
keystoneauth1.session. This change corrects the import in the
tests to use the correct library's session.

Change-Id: Ic24ebde59e4b9eb70d6f14c1e0536f8d24f0de73
2017-09-12 22:19:32 +00:00
Dean Troyer ce468209c4 Skip Volume v1 functional tests if v1 not present
Volume v1 is gone in Queens

Just skip it for now until DevStack does not create a v1 endpoint

Change-Id: I2aa2f78b0d5c8ac2048c922c7835e5c4574028cc
2017-09-12 19:50:15 +00:00
Jens Harbott 104d6d0e31 Fix output for subnet show
The use_default_subnet_pool column is never returned by the API, it is
only being used in the request to create a subnet. So make sure that we
do not show it when displaying a subnet.

Change-Id: Ie021149cceb8f89b779ad0f3c13ac60420509671
Related-Bug: 1668223
2017-09-12 14:21:49 +00:00
OpenStack Proposal Bot 8f4440a6de Updated from global requirements
Change-Id: I1c5bc67d82b7a123530a7e8a6af5ca4f7faf53f0
2017-09-06 03:15:36 +00:00
OpenStack Proposal Bot de2af66c16 Updated from global requirements
Change-Id: If52bacff8458010d2762bfac5ecea29f5fb54f01
2017-09-01 12:47:11 +00:00
Jenkins 06d470fb27 Merge "Update image cli doc and fix some typos" 2017-08-25 23:30:38 +00:00
Jenkins c9742e8062 Merge "Convert remaining network functional tests to JSON" 2017-08-25 10:35:22 +00:00
lihaijing ff91e26983 Update image cli doc and fix some typos
Change-Id: I0a8d095e51a96804c97612e28fac2d00aa94c638
Closes-Bug: #1711284
2017-08-25 08:08:31 +08:00
Jenkins 50099d3c72 Merge "Convert network qos functional tests to JSON" 2017-08-24 17:58:23 +00:00
Jenkins 36aec29c67 Merge "Updated from global requirements" 2017-08-24 17:14:21 +00:00
Jenkins 33d0b88f0b Merge "Convert network security group functional tests to JSON" 2017-08-24 15:43:21 +00:00
Jenkins aa3791b4e3 Merge "flake8-import-order: Ensure to place project imports last" 2017-08-24 15:43:14 +00:00
OpenStack Proposal Bot e62587625f Updated from global requirements
Change-Id: I45705bad68f0615dbf09d46a2a487b9fed1abb10
2017-08-24 11:48:43 +00:00
Akihiro Motoki c1404f14b8 Convert remaining network functional tests to JSON
Change-Id: Ib7dff5506cc69549b5b1fbb8bf6e649468563dd6
2017-08-23 21:15:24 +00:00
Akihiro Motoki fe8a50b6b1 Convert network qos functional tests to JSON
Change-Id: Ie5cde2f927ec6abb6334ea01adfb06749384ed01
2017-08-23 21:15:12 +00:00
Akihiro Motoki 95e279176b Convert network security group functional tests to JSON
Change-Id: Icb63aa0dfbce9016fb824f97915a660cf130d120
2017-08-23 21:14:47 +00:00
Jenkins aa4cdf1dc8 Merge "Implied Roles" 2017-08-23 16:42:26 +00:00
lihaijing d33ab499ed Fix "openstack image unset" command's help message typo
Change-Id: Ie286d9ee6054cc2126473d7e6e77bafbfd80023b
Closes-Bug: #1712473
2017-08-23 12:59:46 +08:00
Akihiro Motoki ff85c62707 flake8-import-order: Ensure to place project imports last
To ensure project imports are placed after third party import,
we need to specify application-import-names.
Previously flake8-import-check checked only standard imports or not.

Change-Id: Iad7afa456cec7cf5b44955f1ea03c593a4c0e426
2017-08-22 21:38:07 +00:00
Harry Rybacki 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
Jenkins 5cc4d5b530 Merge "auto-generate object docs" 2017-08-18 19:48:08 +00:00
OpenStack Proposal Bot 05c66f5bb6 Updated from global requirements
Change-Id: I5f7fdc751e6a9078eb1eb55f5b5015a56ff668cc
2017-08-18 11:42:09 +00:00
Jenkins 82dce1458c Merge "Use flake8-import-order plugin" 2017-08-17 23:30:07 +00:00
Jenkins 44e154d2d6 Merge "Allow PD as Subnetpool during Subnet creations" 2017-08-17 23:29:49 +00:00
Jenkins 5e5239d5eb Merge "Use cliff formattable columns in object storage commands" into feature/osc4 2017-08-17 23:29:43 +00:00
Jenkins cbbbd9e380 Merge "Use cliff formattable columns in volume v2 commands" into feature/osc4 2017-08-17 23:15:37 +00:00
Steve Martinelli 4d7b4efeb5 auto-generate object docs
Change-Id: I832eade2ddab754664e5f57b9764e524e655e616
2017-08-17 16:46:31 -04:00
Akihiro Motoki 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
Akihiro Motoki 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
Reedip 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
Jenkins 3ac84c4fc9 Merge "Use cliff formattable columns in identity commands" into feature/osc4 2017-08-17 01:24:04 +00:00
Akihiro Motoki 6364b7b81f Use cliff formattable columns in identity commands
Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns
Change-Id: I3f85129460ebeb177f5fdb30995bc1dcdf28c774
2017-08-16 16:28:27 -05:00
Akihiro Motoki e0c86250e9 Use cliff formattable columns in object storage commands
Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns
Change-Id: I1d4e0f010fc89729c832d0422d023723c00f49fe
2017-08-16 16:24:42 -05:00
Akihiro Motoki b0dc1aa931 Use cliff formattable columns in volume v2 commands
Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns
Change-Id: I8bfb95c7b1a891de00978118b80cc8d81c6729bd
2017-08-16 15:41:53 +00:00
Akihiro Motoki af9eb9ca83 Use cliff formattable columns in volume v1 commands
Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns
Change-Id: Icd8345b7364029f35971d12d0dc90db2e4018186
2017-08-16 15:41:51 +00:00
Akihiro Motoki 8e6772c36f Use cliff formattable columns in image commands
Related functional tests are converted into JSON format.
Otherwise, it is not easy to check results.

Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns
Change-Id: I682e67be24372c0de145f8db20911b13530ae6c6
2017-08-16 15:41:45 +00:00
Akihiro Motoki 07f5498842 Use cliff formattable columns in network commands
Use cliff formattable columns not to convert complex fields
into a string when a machine readable format like JSON or YAML
is requested.

Partial-Bug: #1687955
Partially implement blueprint osc-formattable-columns
Change-Id: If478fccd867a4bcd7c86e283c5aaf67a667cc080
2017-08-16 15:41:31 +00:00
OpenStack Proposal Bot 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
Jenkins 64d6809c40 Merge "Convert network segment functional tests to JSON" 2017-08-14 16:20:22 +00:00
Dean Troyer b30f0f3f05 Convert network segment functional tests to JSON
Change-Id: I8dc1e992d54c63c93bbe2bdd7acba61a7a6773d0
2017-08-13 07:55:21 -05:00
Jenkins d0b0b90711 Merge "Add .htaccess for docs migration" 2017-08-11 15:43:56 +00:00
Dean Troyer 88b31fc12e Update release/stable branch table in docs
Change-Id: I0d18be4f2ed14137010693f41526a261a0acca3b
2017-08-10 16:37:09 -05:00