summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/server.rst
Commit message (Collapse)AuthorAgeFilesLines
* fix one spelling mistake and two help messageszhengsenyan2016-07-071-1/+1
| | | | | | | | | | I checked all the 70 rst files in doc/source/command-objects and found that: -one spelling mistake as:rescure should be rescue(server.rst) -two help messages:xpvnc should be xvpvnc(console-url.rst and console.py) Change-Id: I6f46c79983eaf5650bd3aa0ab448c19f5c6527a9
* Transfer "ip fixed add/remove" to "server add/remove fixed ip"Tang Chen2016-07-041-0/+40
| | | | | | | | | | | | | | | | | | | | This patch does the following things to transfer "ip fixed add/remove" to "server add/remove fixed ip": * Add new command "server add/remove fixed ip", and unit tests and doc. * Deprecate "ip fixed add/remove" command. compute/v2/fixedip.py is not removed because the arguments' positions are different between the new and old commands. * ip fixed add <network> <server> server add fixed ip <server> <network> * ip fixed remove <ip-address> <server> server remove fixed ip <server> <ip-address> Change-Id: Ica07ccf92a76c21fd5608ecaff86ff7c4d96f5a0 Implements: blueprint rework-ip-commands Partial-bug: 1555990 Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
* Transfer "ip floating add/remove" to "server add/removeTang Chen2016-07-041-0/+40
| | | | | | | | | | | | | | | | | | | | | | floating ip" This patch does the following things to transfer "ip floating add/remove" to "server add/remove floating ip": * Add new command "server add/remove floating ip", and unit tests and doc. * Deprecate "ip floating add/remove" command. compute/v2/floatingip.py is not removed because the arguments' positions are different between the new and old commands. * ip floating add <ip-address> <server> server add floating ip <server> <ip-address> * ip floating remove <ip-address> <server> server remove floating ip <server> <ip-address> Change-Id: Ic0dd22ca6fb7b7bc3e820fd5a14d7c551e7ab963 Implements: blueprint rework-ip-commands Partial-bug: 1555990 Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
* Support to set server stateRui Chen2016-05-281-0/+5
| | | | | | | | | | When a server is unexpected state, OSC don't support reset the server to active or error state, that's supported by novaclient, and it's an important command for operators, the patch implement this function. Change-Id: I3e7800feb192832b0719ef9a353945beb6bfd509 Implements: blueprint server-reset-state
* Doc: Unify repeatable option commentsTang Chen2016-04-121-6/+9
| | | | | | | | | | | | There are lots of "this option can be repeated" comments in the doc, which are not consistent to other similar docs. This patch changes them to the following format: "repeat option to do something" Change-Id: I54e01053091c428bf87bb36bb95f73a0b80ab6e7
* Fix "server unset" document issueRui Chen2016-03-231-1/+1
| | | | | | | Fix "--property" option describe issue in "server unset" document, and update the help message to keep consistent. Change-Id: I68022a187e83fad6320365400ad2a1b0c8cf9a61
* Trivial: Use 'SSH' rather than 'Ssh'Stephen Finucane2016-03-091-1/+1
| | | | | | This is reflected in the '--help' screen. Change-Id: Ic22a65ff6a56b069b37a0ea8365cce2b3f93621c
* [compute] Support restore serverjichenjc2016-02-231-0/+15
| | | | | | Server in soft-delete state can be restored, add this command. Change-Id: Id9d7246f89ae65273505f36dcb664996534ae986
* Add support for triggering an crash dumpxiexs2016-02-051-0/+19
| | | | | | | | | | | | | The triggering crash dump feature is supported by nova [1] and novaclient [2] now, it's time to introduce this feature into OSC correspondingly. [1]The change id is: I6ed777ff637254b4b79417008f9055dd19fc7405 [2]The change id is: If03b1864bbe7074c720b946fc2700bd5d07debc3 Change-Id: I5a411f283fdf0fc3c00380d069848a332c799cdd Closes-Bug: #1538372 Co-Authored-By: Tang Chen <chen.tang@easystack.cn>
* Make --image parameter optional in "server rebuild"David Moreau Simard2015-12-111-2/+3
| | | | | | | | | | | | | The command will now default to the image currently in-use by the server, effectively making the --image parameter optional. This commit also adds basic tests for ServerRebuild since there wasn't any. Will add more full tests for it. Change-Id: I733fd3ad5a825f06563c72aa430122e1a0e3b3b0 Closes-bug: #1524406 Co-Authored-By: David Moreau Simard <dms@redhat.com> Co-Authored-By: Tang Chen <tangchen@cn.fujitsu.com>
* Merge "Trivial: Improve doc for "server create" command"Jenkins2015-12-051-4/+5
|\
| * Trivial: Improve doc for "server create" commandTang Chen2015-12-041-4/+5
| | | | | | | | | | | | | | | | | | The following options of "server create" command support searching by both name and ID. So add this info into doc. --image, --volume, --flavor, --security. Change-Id: I93b167da58144e5de6c9996009b7ea2449fb4cd8
* | Merge "Support "server list" searching by both image name and ID."Jenkins2015-12-031-1/+1
|\ \
| * | Support "server list" searching by both image name and ID.Tang Chen2015-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nova API only supports list servers searching by image ID. In OSC, we can support both image name and ID by mapping the name to ID. This patch also fix the inconsistent doc in .py and .rst files. Closes-Bug: 1521492 Change-Id: I70613843f82d74732bd32a457cd4a31aba57825f
* | | Merge "Support "server list" searching by both flavor name and ID."Jenkins2015-12-031-1/+1
|\ \ \ | |/ /
| * | Support "server list" searching by both flavor name and ID.Tang Chen2015-12-011-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | Nova API only supports list servers searching by flavor ID. In OSC, we can support both flavor name and ID by mapping the name to ID. This patch also fix the inconsistent doc in .py and .rst files. Partial-Bug: 1521492 Change-Id: I1d1a6aa91aef4e2846745babe8382481185fa96e
* | Trivial: Reorder doc of "server shelve" command to keep alphabetic order.Tang Chen2015-12-041-15/+15
|/ | | | Change-Id: I616154a8c958b6980233014c7ae1c4544283d72d
* Merge "Add --limit option to "server list" command."Jenkins2015-12-011-0/+7
|\
| * Add --limit option to "server list" command.Tang Chen2015-12-011-0/+7
| | | | | | | | | | | | This option will limit the total amount of items the command will list up. Change-Id: I46af0d479d795ebb6a74585d0f76629dd940b117
* | Merge "Add --marker option to "server list" command."Jenkins2015-11-301-0/+6
|\ \ | |/
| * Add --marker option to "server list" command.Tang Chen2015-12-011-0/+6
| | | | | | | | | | | | | | This option will give user a chance to display the server list from wherever they want. Change-Id: I92cca5e98cd473f1113a9106eb9d1f490694b1fe
* | Add "openstack server unshelve" into OSCxiexs2015-11-281-0/+15
|/ | | | | | | | The unshelve operation is not supported by OSC, and this patch tries to add it. Change-Id: Ic60a4616cb63ad21c1a3c8e02611da8bad3a8bd0 Implements: blueprint introduce-shelve-into-osc
* Merge "Add "openstack server shelve" into OSC"Jenkins2015-11-241-0/+15
|\
| * Add "openstack server shelve" into OSCxiexs2015-11-241-0/+15
| | | | | | | | | | | | | | | | Currently, the shelve operation is not supported by OSC. So, this patch attempts to add it into OSC. Change-Id: I92545300bef006a069338168d2de800e8a58af69 Implements: blueprint introduce-shelve-into-osc
* | Enable "openstack server resume" command to take multiple servers.Tang Chen2015-11-241-3/+3
| | | | | | | | | | | | | | | | | | Current "openstack server resume" command could only resume one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: I726eb86bfa3df3a9911f45770e6641264dbc1e0b Implements: blueprint cmd-with-multi-servers
* | Enable "openstack server suspend" command to take multiple servers.Tang Chen2015-11-241-3/+3
|/ | | | | | | | | Current "openstack server suspend" command could only suspend one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: Ic0417ee28f46c9198a35744c0180342e61966b26 Implements: blueprint cmd-with-multi-servers
* Enable "openstack server unlock" command to take multiple servers.Tang Chen2015-11-131-3/+3
| | | | | | | | | Current "openstack server unlock" command could only unlock one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: Ibf57b2021a504da950a491d63139a438087aed0b Implements: blueprint cmd-with-multi-servers
* Enable "openstack server lock" command to take multiple servers.Tang Chen2015-11-131-3/+3
| | | | | | | | | Current "openstack server lock" command could only lock one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: Ifcf103b1c32e6c547ac09f688b887b1c03f92b09 Implements: blueprint cmd-with-multi-servers
* Enable "openstack server unpause" command to take multiple servers.Tang Chen2015-11-131-3/+3
| | | | | | | | | Current "openstack server unpause" command could only unpause one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: I069ebdd6dcd121f6e55c2bf40d42197f93830e0c Implements: blueprint cmd-with-multi-servers
* Merge "Trivial cleanup: Use plural format for "server delete" doc."Jenkins2015-11-101-1/+1
|\
| * Trivial cleanup: Use plural format for "server delete" doc.Tang Chen2015-11-101-1/+1
| | | | | | | | Change-Id: I4dca25f1933d5925db443eca75f602a39a833413
* | Enable "openstack server pause" command to take multiple servers.Tang Chen2015-11-091-3/+3
|/ | | | | | | | | Current "openstack server pause" command could only pause one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: I809f77f0720457c9cdc1028a70b391c75885984c Implements: blueprint cmd-with-multi-servers
* Add "server stop" command to osc.Tang Chen2015-11-051-0/+15
| | | | | | | There is no stop command in osc. Add it. Change-Id: Ia11a8f3b1245c884f7da442292009342d2ffde1e Implements: blueprint cmd-with-multi-servers
* Add "server start" command to osc.Tang Chen2015-11-051-0/+15
| | | | | | | There is no start command in osc. Add it. Change-Id: Ic50f83413ab17c53396065aabb3f5a1506b52959 Implements: blueprint cmd-with-multi-servers
* Add filtering by user for 'openstack server list'kafka2015-09-081-0/+9
| | | | | | | | | | | Add a new option to search by user when listing servers, include support for domain scoped users, also update docs Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Closes-Bug: #1483974 Change-Id: Ifdade6dc9ca8400fbd85f6b55793ab15ed17b97d
* Add support for listing servers of other projectsAshish Singh2015-09-081-0/+10
| | | | | | | | | | Added project and project-domain option to server list command for listing servers based on project name or id Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Change-Id: Iaadfffe734ad8a72fa4b1eeb2222748c66f7fae0 Closes-Bug: #1488486
* fix typo for server create in server.rstGuojian Shao2015-06-191-1/+1
| | | | | | | | | we have <security-group-list> in server create option, while <security-group-name> in the explanation, they both should be <security-group-name>. Closes-Bug: #1466742 Change-Id: I26a25f57e57d8f9e19ec9c9ccb3c2b8d5396b78d
* Add --wait to server deleteMatt Riedemann2015-05-291-1/+5
| | | | | | | | | | | | | | This allows the server delete command to wait for the server to be deleted (obviously). The wait method is the same model that Tempest uses, i.e. wait for a 404 on server GET (successful deletion), fail if the server went to ERROR status, or fail if a timeout is reached. The default timeout of 300 seconds is also what Tempest uses. Closes-Bug: #1460112 Change-Id: I0e66c400903e82832944d1cad61e7eb30177c3e8
* Update the docs for new nic optionsSteve Martinelli2015-04-191-3/+8
| | | | Change-Id: I4c8b93ede80f993eab8badfbba6bf1c530844d54
* Rename --verify for server resize to avoid conflictzhiyuan_cai2015-02-161-3/+3
| | | | | | | | | | | | | | Currently server resize command has a verify argument for user to confirm resize operation. But this argument is also registered by openstack client shell which is used to enable server certificate verification. So verify argument can not be correctly passed to server resize command. This patch renames --verify to --confirm (nova client has a resize-confirm command) to solve this problem. Change-Id: I751aa3df16c3b637b82944dd350afc5cbab62120 Closes-Bug: #1416542
* Improving the help of the lock command.Pedro Navarro2015-02-011-1/+1
| | | | | | | | | | The lock command allows you to block the actions on the server for the non-admin users. Improving the help so that api users understands better what locking a server implies. Change-Id: I925c946751602dc0f6bd1d31b514bc20bca585fa Closes-Bug: #1366279
* Fix doc building errorsSteve Martinelli2015-01-191-0/+22
| | | | | | Addresses some of the issues that appeared when running tox -edocs Change-Id: I31133744ee0ddefa72c6590cb381de317e65633e
* Add versioning to the docs that missed itSteve Martinelli2015-01-091-0/+1
| | | | Change-Id: I8cb90e0d5aca58c4992271e007af91f8cf782643
* tweak the server command docsSteve Martinelli2015-01-051-82/+164
| | | | | | | the formatting used for the server commands is not the same as the other command docs, this patch addresses that issue. Change-Id: I5f31cf6a317d9eb35ec46185800fade3dd956dc4
* Revert some docs changes from multi-deleteDean Troyer2014-12-231-4/+4
| | | | | | | | | | The headers in the doc files are the commands, not a description. I missed thiese in the original reviews: https://review.openstack.org/140567 https://review.openstack.org/140581 Change-Id: Iae2631f6b485e8c568ff305e5992c193f80ebe71
* add multi-delete support for compute/image/net/volumewanghong2014-12-231-4/+4
| | | | | | | | | | | | | | This is part1, add support for these objects: compute.server imagev1.image imagev2.image network.network volume.volume volume.backup volume.snapshot Closes-Bug: #1400597 Change-Id: Ice21fee85203a8a55417e0ead8b509b8fd6705c1
* Tweaks after the factDean Troyer2014-12-081-5/+5
| | | | Change-Id: Id96203de023b3b8bde1984a61c41dd9bc1711de4
* Command object docs: server, server imageDean Troyer2014-12-031-0/+544
server server image Some cosmetic changes in the command source, sorting classes, help strings, etc. Change-Id: I3f68dae77b9fe02bc6866684e05aeff943dd9cc3