summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Add network availability for oscManjeet Singh Bhatia2016-06-033-0/+333
| | | | | | | | | This patch implements openstack client for network ip availability. Implements: blueprint neutron-ip-capacity Depends-On: I3b40d8edea87c068c4e8133e436511765064d5f8 Change-Id: Iffaa2e20ff495fbd205d3397e027e8141d04385e
* Fix image tests to use warlock resourcesDean Troyer2016-05-202-43/+21
| | | | | | | | | | We have been testing (incorrectly) Image v2 using our usual FakeResource objects, when the v2 API actually uses warlock schema modelled resources. Bring this to the tests (TestImageSet was already doing this) Change-Id: Ia6ed3a8e28a8961f770c241b49d47cce9ff328d3
* Merge "Avoid TypeError on message object additions"Jenkins2016-05-201-16/+20
|\
| * Avoid TypeError on message object additionsMadhu Mohan Nelemane2016-05-191-16/+20
| | | | | | | | | | Change-Id: I634c1e158e93eeb55ab17fef8a0715b6678dffec Closes-Bug: #1575787
* | Merge "Fix i18n support for help and log.warning in image"Jenkins2016-05-193-139/+143
|\ \
| * | Fix i18n support for help and log.warning in imageXiaoyang Zhang2016-05-193-141/+145
| | | | | | | | | | | | Change-Id: I6e2764aaf4b8c0efa78872646a7b3482ba044dc8
* | | Merge "remove #noqa from i18n imports"Jenkins2016-05-1922-22/+22
|\ \ \ | |/ / |/| |
| * | remove #noqa from i18n importsSteve Martinelli2016-05-1322-22/+22
| | | | | | | | | | | | | | | | | | hacking checks no longer fail on `import _` Change-Id: Idd60f0a0e71e5081691eacb39e5091ab08fcce6d
* | | Merge "Add support of setting snapshot state"Jenkins2016-05-182-3/+31
|\ \ \
| * | | Add support of setting snapshot stateXi Yang2016-03-092-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is going to add the functionality of setting snapshot state which OSC currently lacks. Closes-Bug:#1535239 Change-Id: I2afd6567416e75ba0c70b73351cf1eb5394b3373
* | | | Merge "Add ip version filter to subnet list"Jenkins2016-05-172-1/+29
|\ \ \ \
| * | | | Add ip version filter to subnet listManjeet Singh Bhatia2016-05-162-1/+29
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add argument ip-version to command subnet list Change-Id: If7458d4979e53aec7e2633c4f1779c3810f9a3f1 Closes-Bug: #1581179
* | | | Merge "Add FakeBackup class and updata backup unittest in volumeV2"Jenkins2016-05-172-113/+193
|\ \ \ \
| * | | | Add FakeBackup class and updata backup unittest in volumeV2Huanxuan Ao2016-05-172-113/+193
| |/ / / | | | | | | | | | | | | Change-Id: I39762bedaeaaf1894f48912ca1b7d59ab50f9f78
* | | | Merge "Enhance exception handling for "network delete" command"Jenkins2016-05-174-26/+199
|\ \ \ \
| * | | | Enhance exception handling for "network delete" commandTang Chen2016-04-144-26/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch rework "network delete" command following the rules in doc/source/command-errors.rst. In "network delete" command, there are multiple REST API calls, and we should make as many of them as possible. And log error for each one, give a better error message. Also return a non-zero exit code. Change-Id: I39ae087dd7bd08d049d513abfa6c5cab2bd13b2b Partial-Bug: #1556719
* | | | | Merge "Fix i18n support for help and error msg in network"Jenkins2016-05-167-14/+14
|\ \ \ \ \
| * | | | | Fix i18n support for help and error msg in networkTang Chen2016-05-167-14/+14
| | | | | | | | | | | | | | | | | | Change-Id: Iab0dc489226601ac4ff123bb758f84ff16989395
* | | | | | Merge "Support X.latest format for OS_COMPUTE_API_VERSION"Jenkins2016-05-161-19/+26
|\ \ \ \ \ \
| * | | | | | Support X.latest format for OS_COMPUTE_API_VERSIONRui Chen2016-04-201-19/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC don't support to use "X.latest" format in order to talk with the latest nova microversion API, that is very helpful shortcut usage to use new nova side features, this patch implement it. Change-Id: I87918addff1f50fbc6eb72ca82b31813330753b5 Closes-Bug: #1561838
* | | | | | | Merge "Add VLAN Transparent option to ``osc network``"Jenkins2016-05-162-4/+26
|\ \ \ \ \ \ \
| * | | | | | | Add VLAN Transparent option to ``osc network``reedip2016-05-162-4/+26
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | osc network set and network create now support --transparent-vlan|--no-transparent-vlan options to add/remove vlan transparency from the network. Change-Id: I845eb8f541cd32a4c4b28f929a63b205e7e31756 Closes-Bug: 1545537
* | | | | | | Merge "Refactor TestRemoveProjectImage with FakeImage class"Jenkins2016-05-161-11/+9
|\ \ \ \ \ \ \
| * | | | | | | Refactor TestRemoveProjectImage with FakeImage classting wang2016-05-161-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id40ea8a3cf59738fa254da0bca4ad6551565f5de Co-Authored-By: xiexs <xiexs@cn.fujitsu.com> Implements: blueprint improve-image-unittest-framework
* | | | | | | | Merge "Added --no-route to the router set command"Jenkins2016-05-162-2/+54
|\ \ \ \ \ \ \ \
| * | | | | | | | Added --no-route to the router set commandHideki Saito2016-05-162-2/+54
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecated --clear-routes Closes-Bug #1565034 Change-Id: I4a8975edc026aecd2a362fd1929c984cfab8ade6
* | | | | | | | Merge "Refactor TestImageList with FakeImage class"Jenkins2016-05-161-18/+21
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Refactor TestImageList with FakeImage classting.wang2016-05-141-18/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia60f75f65bba4c25a0a87b570b081424f982efca Co-Authored-By: xiexs <xiexs@cn.fujitsu.com> Implements: blueprint improve-image-unittest-framework
* | | | | | | | Merge "Refactor TestAddProjectToImage with FakeImage class"Jenkins2016-05-161-14/+18
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Refactor TestAddProjectToImage with FakeImage classxiexs2016-05-141-14/+18
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6733601f12389eb744dbf0be64b7c556356b4730 Co-Authored-By: ting wang <bx_wang@outlook.com> Implements: blueprint improve-image-unittest-framework
* | | | | | | Merge "Fix network router type display"Jenkins2016-05-163-15/+12
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Fix network router type displayRichard Theis2016-05-053-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OpenStack SDK maps the network "router:external" field to "is_router_external". However, OSC was using the incorrect mapping, "router_external". This caused OSC to display router type as "Internal" for all networks. Change-Id: Ifcd1349ab7c5881baee751936d076bf6aa058852 Closes-Bug: #1572228
* | | | | | | Additional network protocol supportRichard Theis2016-05-143-44/+386
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following network protocol support to the "os security group rule create" command: - Add "--icmp-type" and "--icmp-code" options for Network v2 only. These options can be used to set the ICMP type and code for ICMP IP protocols. - Change the "--proto" option to "--protocol". Using the "--proto" option is still supported, but is no longer documented and may be deprecated in a future release. - Add the following Network v2 IP protocols to the "--protocol" option: "ah", "dccp", "egp", "esp", "gre", "igmp", "ipv6-encap", "ipv6-frag", "ipv6-icmp", "ipv6-nonxt", "ipv6-opts", "ipv6-route", "ospf", "pgm", "rsvp", "sctp", "udplite", "vrrp" and integer representations [0-255]. The "os security group rule list" command now supports displaying the ICMP type and code for security group rules with the ICMP IP protocols. Change-Id: Ic84bc92bc7aa5ac08f6ef91660eb6c125a200eb3 Closes-Bug: #1519512 Implements: blueprint neutron-client
* | | | | | Merge "Refactor TestVolumeList with FakeVolume"Jenkins2016-05-122-64/+63
|\ \ \ \ \ \
| * | | | | | Refactor TestVolumeList with FakeVolumeting.wang2016-05-112-64/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idbe7ee1d9688ea5937852cce1a746016bf98fa74 Co-Authored-By: xiexs <xiexs@cn.fujitsu.com> Implements: blueprint improve-volume-unittest-framework
* | | | | | | Merge "Add unit tests for "server show" command"Jenkins2016-05-111-0/+95
|\ \ \ \ \ \ \
| * | | | | | | Add unit tests for "server show" commandTang Chen2016-05-111-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6eb0c4e7d5d3e677764b253e3324720a784a110b
* | | | | | | | Merge "Use find_resource() instead of get() in _prep_server_detail()"Jenkins2016-05-112-11/+6
|\ \ \ \ \ \ \ \
| * | | | | | | | Use find_resource() instead of get() in _prep_server_detail()Tang Chen2016-05-092-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is such a comment in test_server.py: # Call .get() to retrieve all of the server information # as findall(name=blah) and REST /details are not the same # and do not return flavor and image information. This is an out of date comment. There is no function named findall() in OSC now. So use find_resource() instead of get(), and remove this comment. Change-Id: I8d79afc5f341fb5caf771d905506b7f1c7a41ae8
* | | | | | | | | Merge "Implement "address scope set" command"Jenkins2016-05-112-0/+115
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | Implement "address scope set" commandHuanxuan Ao2016-05-112-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add a command that supports setting address scope properties. Change-Id: I9c4b5068a8abb986a9dc18b167b48b924d16ff42 Closes-Bug: #1566269
* | | | | | | | | Merge "Implement "address scope show" command"Jenkins2016-05-112-0/+77
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Implement "address scope show" commandHuanxuan Ao2016-05-112-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add a command that supports showing address scope details Change-Id: Ic0b41c1cab8c618904c7a6046d7493db5b74b430 Partial-Bug: #1566269
* | | | | | | | | Merge "Implement "address scope list" command"Jenkins2016-05-113-0/+87
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Implement "address scope list" commandHuanxuan Ao2016-05-113-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add a command that supports listing address scopes Change-Id: Id14757011560cacf28011ba51841a8e23b824f33 Partial-Bug: #1566269
* | | | | | | | | Merge "Implement "address scope delete" command"Jenkins2016-05-112-0/+50
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Implement "address scope delete" commandHuanxuan Ao2016-05-112-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add a command that supports deleting a address scope Change-Id: Ie028058c759b9511d105a530d7e89b841865e7d6 Partial-Bug: #1566269
* | | | | | | | | Merge "Implement "address scope create" command"Jenkins2016-05-112-0/+260
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | / / / / / / | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Implement "address scope create" commandHuanxuan Ao2016-05-112-0/+260
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supports creating a new address scope, with --ip-version,--project,--project-domain and --share or --no-share options. Change-Id: I37c73391a41ac239dd72d55dbc0adbebd7701f4a Partial-Bug: #1566269
* | | | | | | Merge "Ignore domain related config when using with keystone v2"Jenkins2016-05-091-3/+3
|\ \ \ \ \ \ \