Kien Nguyen
6c49f94b2f
[Refactor code] Backward compatibility.
...
Define method _check_argument to backward compatibility.
Change-Id: I913d4f8b9ed5b40cb013b9549398c44db4cd993b
2017-08-22 09:00:00 +07:00
Kien Nguyen
5e35360ba4
[Refactor code] Update shell
...
- Use zunclient.client.Client instead of zunclient.v1.client.Client
- Change related testcase.
Change-Id: I731e50abb679532b8ddbfbb5f2e01c4f4381e57b
2017-08-22 09:00:00 +07:00
Kien Nguyen
f4e2e419f0
[Refactor code] Support dynamic load Client module
...
- Support dynamic load Client module depend on given version.
At this time, Zunclient has only 1 version, but this patch
will be useful in the future.
- Change related test cases.
- Remove hardcode version.
Change-Id: I49403d88c6d64577d5a6c1a11e36a6d4c3bf0eba
2017-08-18 13:30:05 +07:00
Jenkins
f6d4dca49d
Merge "Fix the default service type as container"
2017-08-17 02:15:44 +00:00
Jenkins
9e6d699fd2
Merge "Reserve links info when showing a container by osc command"
2017-08-14 10:16:25 +00:00
Jenkins
ac0a4beb7b
Merge "Reserve links info when showing host info"
2017-08-14 10:16:17 +00:00
Jenkins
14168c6c86
Merge "Remove null parms form image_list and host_list"
2017-08-11 11:20:28 +00:00
Jenkins
90e45ce88b
Merge "Fixed the incorrect metaver in OSC"
2017-08-11 09:49:06 +00:00
Hongbin Lu
67910868de
Fix the default service type as container
...
In HTTP client, the default service type was set to 'baremetal'.
This is obviously incorrect. It should be 'container'.
Change-Id: I0e950db6897dbc8e12a452c6d55b7ae57790ca1d
2017-08-08 18:16:55 +00:00
00129207
d18fabdf84
Reserve links info when showing host info
...
Change-Id: Ic16003ebdf36838eb0c4f7b0ae94c449c92a003a
2017-08-08 13:48:55 +08:00
00129207
a2daf8452e
Remove null parms form image_list and host_list
...
Change-Id: I02af4573996f28d17dce78f90f3b5ede42bc90ca
2017-08-08 13:45:23 +08:00
Jenkins
7e23e33f40
Merge "Align the style with Docker on commit"
2017-08-08 03:11:47 +00:00
Jenkins
165610ad9f
Merge "Remove unused CLI options"
2017-08-08 01:21:37 +00:00
wangzhh
e7bb107d48
Align the style with Docker on commit
...
Change-Id: If3885cfa9f5cd70c57358cc796a839244d891ab8
Closes-Bugs: #1708748
2017-08-06 21:53:09 -04:00
wangzhh
644ba9beaf
Remove unused CLI options
...
Remove token and tenant_name from CLI options.
Change-Id: Iaea1e8f7fab60ea25985cc69aa7b5d8b9268ffa0
Closes-Bug:#1708752
2017-08-05 07:55:35 -04:00
Hongbin Lu
3a527d2457
Fixed the incorrect metaver in OSC
...
The network option should be singular (not plural).
Change-Id: I39205019718746a82301332f317471b3ef2b5375
2017-08-04 22:37:18 +00:00
ShunliZhou
ae8a0055de
Add host show CLI
...
Add host show CLI
I cannot bump the api version to 1.5 as the unit test fail. seem
pecan check the request version to all controller function which
lead to unit test fail.
Change-Id: I4662bde3737b6c0a4c1ea1d51ca67c072f6b3011
Partially-Implements: blueprint show-container-engine-info
2017-08-04 09:01:55 +08:00
Jenkins
544be4cb42
Merge "Add CLI support for add_security_group"
2017-08-03 15:14:20 +00:00
00129207
5a775df801
Add CLI support for add_security_group
...
Change-Id: I89af790cf2a82aa7a2718e84798b588541572667
Closes-Bug: #170779
2017-08-03 08:23:16 +08:00
Jenkins
dc7e53c82d
Merge "Reserve links info when showing image"
2017-08-02 16:10:40 +00:00
Jenkins
0cc07abf89
Merge "Showing contain info after updating by osc command"
2017-08-02 04:31:37 +00:00
Jenkins
60a4e74bcc
Merge "Add host list cli"
2017-08-02 03:51:39 +00:00
Jenkins
3273c23e86
Merge "Add <> for metavar info"
2017-08-02 03:51:26 +00:00
ShunliZhou
60be365a7c
Add host list cli
...
Add host list cli
Change-Id: Ic9685fd747e8c2fb56ffe5b2c48597ecd4f4d44b
Partially-Implements: blueprint show-container-engine-info
2017-08-01 15:44:52 +08:00
Jenkins
bfe14b8000
Merge "Autoremove container added to zun run client"
2017-07-31 10:24:08 +00:00
00129207
302ac04960
Showing contain info after updating by osc command
...
Change-Id: I49be8a71109a97ee2a91569392b3a96c7b82c55f
2017-07-31 17:23:00 +08:00
00129207
7737e278b0
Reserve links info when showing image
...
Change-Id: I6170f4e1c58a16553e210fcacf8d5f17ed4ece6a
2017-07-31 16:54:46 +08:00
00129207
518d91aed1
Add <> for metavar info
...
Change-Id: I4abbc44800fd99a39a3e3b74a17f00d5a90261aa
2017-07-31 16:49:04 +08:00
Jenkins
3af9b7e21a
Merge "Support all_tenants in show and delete"
2017-07-28 03:46:56 +00:00
Hangdong Zhang
de5f4b4a24
Update the documentation link for doc migration
...
Change-Id: I600a99e686641ad64a1b9096d6f1962f7a20c716
2017-07-24 14:08:53 +08:00
prameswar
9b12509ab9
Autoremove container added to zun run client
...
Co-Authored-By: Hongbin Lu <hongbin.lu@huawei.com>
Related-Bug: #1644901
Depends-On: Ic6d35274a49648bde5e0e7486453a6d1a13f6f2e
Change-Id: I8ea18c545ec347db3404f4e2c325c84032637e99
2017-07-22 18:06:56 +07:00
Jenkins
26554c15ed
Merge "Fixed the api version issue on OSC plugin"
2017-07-20 10:03:56 +00:00
Jenkins
06ebf19d1e
Merge "Add the parameter interactive in ExecContainer"
2017-07-20 09:54:50 +00:00
Hongbin Lu
071a047a25
Fixed the api version issue on OSC plugin
...
* Fixed an issue that the api version is passed with wrong keyword
argument (should be 'api_version', not 'os_container_api_version').
* Bump the api version to 1.2 which is the current latest.
Closes-Bug: #1705283
Change-Id: Idef09cce42003ccc113d6113640df4ab69f4b690
2017-07-19 15:13:14 +00:00
Jenkins
126ec244ab
Merge "Add uts for parse_command"
2017-07-19 12:01:29 +00:00
Jenkins
2f33fa5265
Merge "Remove deprecated parameter command in RunContainer"
2017-07-19 12:01:19 +00:00
00129207
af050e4cf9
Add the parameter interactive in ExecContainer
...
Change-Id: I050c8273975da97c4b8f673be9636963d0b9533c
2017-07-18 13:30:51 +08:00
00129207
fa50c1a7dc
Add uts for parse_command
...
Change-Id: I8d1393f4d8bc39d14047517317a43fedca84a6d9
2017-07-18 10:15:12 +08:00
Jenkins
9b4f4a389c
Merge "Re-enable osc tempest tests"
2017-07-17 16:26:33 +00:00
00129207
967a8d4fe3
Remove deprecated parameter command in RunContainer
...
Change-Id: I95afd31191f1104264859e11bcf9a7440af7606a
2017-07-17 17:33:00 +08:00
Jenkins
5d92a6bfac
Merge "Rename parameter '--nets' to '--net'"
2017-07-17 09:22:49 +00:00
Jenkins
fb4739c0e1
Merge "Enhance api version support in CLI"
2017-07-17 08:20:43 +00:00
Hongbin Lu
93b3f71b00
Re-enable osc tempest tests
...
These tests were temporarily disabled for upgrading docker-py [1].
After the upgrade finish, it should be re-enabled.
[1] https://review.openstack.org/#/c/475863/
Change-Id: I230fb41879c18392a59c9041e5594fcbb542b004
Depends-On: I5051119e3d63bbc758dfeeeb60322d8c882cd690
2017-07-14 20:59:23 +00:00
00129207
cc40afb13e
Rename parameter '--nets' to '--net'
...
Change-Id: I5051119e3d63bbc758dfeeeb60322d8c882cd690
Closes-Bug: #1703985
2017-07-13 09:39:19 +08:00
ShunliZhou
e7997289c1
Fix the typo that missing blank between words.
...
Fix the typo that missing blank between words.
Change-Id: I04e9cccde72d4f4ae59509871729512eadb7d101
2017-07-11 15:29:51 +08:00
Feng Shengqin
c04ef8ced7
Enhance api version support in CLI
...
Change-Id: I7f8f35ccc30a80741d31c4790ea0c85c6a9a67eb
Implements: blueprint api-microversion-cli
2017-07-10 13:30:15 +08:00
Jenkins
3f06632027
Merge "Remove unused code from zunclient/common/apiclient"
2017-07-10 05:24:04 +00:00
Feng Shengqin
043163839e
Support all_tenants in show and delete
...
Co-Authored-By: Hongbin Lu <hongbin.lu@huawei.com>
Depends-On: Ica579c2f297c6ee08118859b1571b084e40c9bf9
Change-Id: I7e9c043927631a738c99402613067f2f5dec28ac
Closes-Bug: #1681589
2017-07-08 19:20:33 +00:00
Jenkins
86e8d1b5bc
Merge "Fixed wrap from taking negative values"
2017-07-08 03:17:35 +00:00
Jenkins
16e98ae65c
Merge "Don't run zun server tempest tests in gate"
2017-07-08 03:15:23 +00:00