summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Add missing command/configuration objectRui Chen2016-02-265-2/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing 'command' and 'configuration' object into command object list, add command, module, host commands describe in command-objects, and add 'mask' and 'unmask' options in configuration command details, fix some format issues by the way. Change-Id: Iea80c7b1e413e02e49b9090b9d3cb9c59aab4c38
* | | | Updated from global requirementsOpenStack Proposal Bot2016-02-261-1/+1
|/ / / | | | | | | | | | Change-Id: I582644850642651c61d259e4a53f670b421dce95
* | | Merge "Defaults are ignored with flake8"Jenkins2016-02-265-6/+10
|\ \ \
| * | | Defaults are ignored with flake8Tom Cocozzello2016-02-235-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If “ignore” is not set under flake8 in the tox.ini file there there are defaults set to be ignored. The depended patch fixes many of the problems. Change-Id: Ieed2fe1c4654e201d3fe6d40ef93e247ee736f8b Doc: http://flake8.readthedocs.org/en/latest/config.html#default Depends-On: I935ab48e7c5bac5f88ecdb3a05f73fb44fc9f41d Closes-Bug: #1548910
* | | | Merge "Floating IP: Neutron support for "ip floating show" command"Jenkins2016-02-257-2/+175
|\ \ \ \ | |_|_|/ |/| | |
| * | | Floating IP: Neutron support for "ip floating show" commandTang Chen2016-02-247-2/+175
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I30350076621c83c758927444e5f8bcc2b7d0fc74 Partial-Bug: 1519502 Related-to: blueprint neutron-client
* | | | Merge "Fixed a bunch of spacing"Jenkins2016-02-2547-76/+183
|\ \ \ \ | | |/ / | |/| |
| * | | Fixed a bunch of spacingBrandon Palm2016-02-2347-76/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Nothing too complicated here. I fixed a bunch of spacing issues that I saw in OSC. Change-Id: I935ab48e7c5bac5f88ecdb3a05f73fb44fc9f41d
* | | | Merge "Add python-searchlightclient to list of adopters."Jenkins2016-02-251-0/+1
|\ \ \ \
| * | | | Add python-searchlightclient to list of adopters.Travis Tripp2016-01-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds python-searchlightclient to the list of adopters. Change-Id: Ifb6f1931c00fc735a0b0fcc830979a4d83c0527d
* | | | | Merge "update heat object and command doc"Jenkins2016-02-253-2/+16
|\ \ \ \ \
| * | | | | update heat object and command docMark Vanderwiel2016-02-253-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many OpenStack client heat command patches are in progress, seems like good time to also update some of the highlevel doc. Added new objects for orchestration and software openstack orchestration resource type list/show openstack software config create/delete/show/list Added new action for restore openstack stack snapshot create/delete/list/show/restore Added link to CLI reference for complete plugin syntax and details Removed deprecated tasker client Change-Id: I2c94a5981954edcba95f364a0f909c799f1c403b Blueprint: heat-support-python-openstackclient
* | | | | | Merge "Add some test cases for "server list" command"Jenkins2016-02-252-27/+78
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add some test cases for "server list" commandting.wang2016-02-242-27/+78
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some test cases that test 'server list' command when specifying flavor or image. Because I add some attribution to fake.py, I have to change some code in create server test. Despite all this, I think it's good for testing. Change-Id: I714deac1f6f940b790a3c20af5f7ffa724ac44d1
* | | | | Merge "Improve tox to show coverage report on same window"Jenkins2016-02-241-1/+3
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Improve tox to show coverage report on same windowting.wang2016-02-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch coverage report will be shown with the results when tox -e cover will be run. Change-Id: I96713a8dd5d82019631c9e48c1abd7a94e201569
* | | | | Merge "Refactor network AZ exception handling"Jenkins2016-02-241-3/+2
|\ \ \ \ \
| * | | | | Refactor network AZ exception handlingRichard Theis2016-02-101-3/+2
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exceptions that occur while getting network availability zones should not be masked as if the extension does not exist. Change-Id: I07213ec6c4d83e97261b58bf8d42417c1cdfae6a Related-Bug: #1534202
* | | | | Merge "Py3 replace dict.iteritems with six.iteritems"Jenkins2016-02-241-1/+1
|\ \ \ \ \
| * | | | | Py3 replace dict.iteritems with six.iteritemsting.wang2016-02-241-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All dict.iteritems in osc are replaced with six.iteritems except this one. So fix it to add py3 compatibility. Change-Id: I1aa51399a36e650d262d839ce2b4ec04d3f91db2
* | | | | Updated from global requirementsOpenStack Proposal Bot2016-02-241-1/+1
|/ / / / | | | | | | | | | | | | Change-Id: Ib681d0b07afdde821ab4f9a17b1333bd12739eec
* | | | Merge "Use update_parser_common() in ShowNetwork"Jenkins2016-02-231-2/+1
|\ \ \ \
| * | | | Use update_parser_common() in ShowNetworkTang Chen2016-02-231-2/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | ShowNetwork inherits from NetworkAndComputeCommand. So we should use update_parser_common() in it, not overwrite parent's get_parser(). Change-Id: I21bb1407962344b9800fd31caee4b2582674fe24
* | | | Merge "Add "security group rule show" command"Jenkins2016-02-237-4/+236
|\ \ \ \
| * | | | Add "security group rule show" commandRichard Theis2016-02-237-4/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the "os security group rule show" command which will use the SDK when neutron is enabled, and use the nova client when nova network is enabled. Change-Id: I41efaa4468ec15e4e86d74144cc72edc25a29024 Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | | | Fix wrong return value in TestDeleteFloatingIPNetworkTang Chen2016-02-231-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | delete_ip() should return None, not the fake floating IP. Change-Id: I1476189a09a94c76c90f9a3986e3ae57dc66d796
* | | | Merge "Use instanceof instead of type"Jenkins2016-02-233-6/+6
|\ \ \ \
| * | | | Use instanceof instead of typeBrandon Palm2016-02-223-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjusted conditional statements to use instanceof when comparing variables. Instanceof supports inheritance type checking better than type. Change-Id: I4ee0004934dc2322d43ef07e797a6811e39a812c Closes-Bug: 1548530
* | | | | Merge "Add functional tests for "volume" commands v2"Jenkins2016-02-234-2/+116
|\ \ \ \ \
| * | | | | Add functional tests for "volume" commands v2Tang Chen2016-02-214-2/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests for v2 "volume" commands are quite similar to v1. This patch also map 'metadata' to 'properties', 'volume_type' to 'type' to align to the v1 output. Change-Id: Icf2c5463b186fc78c890ccd96453090c4a2c2eb6 Partial-bug: #1519503
* | | | | | Merge "Add unit tests for 'hypervisor stats' command"Jenkins2016-02-232-0/+140
|\ \ \ \ \ \
| * | | | | | Add unit tests for 'hypervisor stats' commandting.wang2016-02-222-0/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'hypervisor stats show' command isn't covered by unit tests, so add unit tests to test it. Change-Id: Ic355230cbdd596e848191b599803dca7f27c2ffb
* | | | | | | Merge "Add "os subnet show" command using SDK"Jenkins2016-02-236-2/+133
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Add "os subnet show" command using SDKBrad Behle2016-02-226-2/+133
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the openstack client subnet show command using SDK calls. This shows the details of a specific subnet. Co-Authored-By: Terry Howe <terrylhowe@gmail.com> Partially implements: blueprint neutron-client Closes-Bug: #1542359 Change-Id: Iaf18b9e44af35ca0cd61033b468e0c60cd3b05d6
* | | | | | Initialize _keys in __init__() in FakeFlavorResourceTang Chen2016-02-231-2/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _keys is defined as a class attribute in FakeFlavorResource. So when we call set_keys() to update it, it changes. And this change may bring trouble to the other tests afterward. So define and initialize it in __init__() as an object attribute. Change-Id: Ib18c03877b67e1b7c2e107f598076b928a58e4fb Closes-bug: #1548378
* | | | | Merge "Add unit test for "flavor show" command"Jenkins2016-02-222-10/+89
|\ \ \ \ \
| * | | | | Add unit test for "flavor show" commandTang Chen2016-02-202-10/+89
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I1591649e5b97a885707042fcccad3335ee8c7aec
* | | | | Merge "gitignore .idea"Jenkins2016-02-221-0/+1
|\ \ \ \ \
| * | | | | gitignore .ideating.wang2016-02-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Directory .idea is produces by pycharm. We'd better ignore it. Change-Id: Ia3cbca09398caeb88dd66f89adcd0fcfff8dac4c
* | | | | | Merge "Add functional tests for "image" command v2"Jenkins2016-02-222-0/+67
|\ \ \ \ \ \
| * | | | | | Add functional tests for "image" command v2Tang Chen2016-02-212-0/+67
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests for image v2 are quite similar to the tests for v1. The only difference things are: 1. v2 "image set" command only allows to change the disk format for a queued image 2. v2 "image show" command output is different from v1 Change-Id: Ieb6bec7467887aab567743153ea3181afa49537d
* | | | | | Merge "Clean redundant argument to dict.get"Jenkins2016-02-225-47/+42
|\ \ \ \ \ \
| * | | | | | Clean redundant argument to dict.getting.wang2016-02-215-47/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `dict.get()` returns `None` by default, if a key wasn't found. Removing `None` as second argument to avoid redundancy. Change-Id: Ia82f7469cd019509bbeccbfe54b15eeedc7bb6ea
* | | | | | | Merge "Refactor: Set "project_id" for FakeXXX in a consistent style"Jenkins2016-02-211-10/+9
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Refactor: Set "project_id" for FakeXXX in a consistent styleTang Chen2016-02-201-10/+9
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenStack SDK will translate "project_id" into "tenant_id" automatically when referring to "tenant_id" attribute with the name "project_id". So when faking an object returned fron SDK, we need to fake this behavior. The original way is ugly. This patch turns it into a consistent style, and give better comments. Change-Id: I0dfb1f7552fc28eb4e7ebf5c614c9f3bde79ad80
* | | | | | Merge "Support unscoped token request"Jenkins2016-02-2111-6/+125
|\ \ \ \ \ \
| * | | | | | Support unscoped token requestguang-yee2016-02-1911-6/+125
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make scope check optional for the "token issue" command as unscoped token is a valid Keystone V2/V3 API. Change-Id: Ie1cded4dbfdafd3a78c0ebdf89e3f66762509930 Closes-Bug: #1543214
* | | | | | Merge "Fix Mutable default argument"Jenkins2016-02-211-2/+12
|\ \ \ \ \ \
| * | | | | | Fix Mutable default argumentting.wang2016-02-201-2/+12
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python’s default arguments are evaluated once when the function is defined, not each time the function is called. This means that if you use a mutable default argument (like list and dict) and mutate it, you will and have mutated that object for all future calls to the function as well. more details about this wrong usage here: http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments Change-Id: If187f16bfb305ac4fe6e4177e498a06c49c3f946
* | | | | | Updated from global requirementsOpenStack Proposal Bot2016-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I387ac9f75fd542ade62869efaf173a4f8d769fe1