summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* Fix Nova-net netowrk commandsDean Troyer2017-04-272-1/+9
| | | | | | | | | | | | In cleaning up functional tests for nova-net, I discovered some problems in network create: * --subnet option is required in network create command * Switch API to use /os-networks rather than /os-tenant-networks as this is what we were actually using via novaclient * Fix functional tests for nova-net * Normalize some private function names in network/v2/network.py Change-Id: I426b864406756d58d140575a3a45ee9aee67ce84
* Fix NoneType error for volume snapshot create commandHuanxuan Ao2017-04-262-1/+16
| | | | | | | | | | | | | In volume snapshot command, <volume> is the same as <snapshot-name> when --volume is not specified, but <volume> cannot be None, so when <snapshot-name> is not specified (<snapshot-name> is None), a NoneType error appears. So make <snapshot-name> no longer optional, it should be always present. Change-Id: I3d9f10753a8ef601e70816421c160598e2cc811f Closes-bug: #1659894
* Merge "Add --network and --port to server create"Jenkins2017-04-251-0/+26
|\
| * Add --network and --port to server createDavid Rabel2017-04-071-0/+26
| | | | | | | | | | | | | | | | | | --nic option is quite unhandy. It is better to have two seperate options --network and --port to add a network to a new server. Change-Id: I523abdc83ca2dd4c5dd3871f8f109c2bf57c2e02 Closes-Bug: #1612898
* | Merge "Allow override of distributed router flag"Jenkins2017-04-171-1/+14
|\ \
| * | Allow override of distributed router flagvenkata anil2017-04-061-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When router_distributed=True is set in neutron.conf, user can't override this and create a centralized router through openstack client. Openstack client allows modifying routers from distributed to centralized after creation but not supporting centralized flag during creation. We allow centralized and distributed flags during router creation with this change. Closes-bug: #1664255 Change-Id: I75f72ca695338ad8c381cfa89fbb9d8e61ee7bc5
* | | Add document about renaming OS_ENDPOINT_TYPE to OS_INTERFACERui Chen2017-04-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch https://review.openstack.org/#/c/198506/ rename option --os-endpoint-type to --os-interface a year ago, but lots of users switch to osc from these project specified clients, like: novaclient and neutronclient, they used OS_ENDPOINT_TYPE and --os-endpoint-type for long time, we should add the notes into openstackclient manpage, let them know the gap exists, and how to make it works. Change-Id: Ic84a60744aa4e519994a18104deae0c2b5b8b0ed Closes-Bug: #1678144
* | | Merge ""floating ip set/unset port" for OSC"Jenkins2017-04-061-0/+47
|\ \ \
| * | | "floating ip set/unset port" for OSCSindhu Devale2017-04-051-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements Neutron feature of floating ip associate/disassociate into OpenStack Client. Previously, network.find_ip() function only supported to search floating ip by UUID. Hence, _find_floating_ip() function is used in floating_ip.py, to search fip both by UUID and ip_address. [1] adds the ability to find fip object using both UUID and ip_address. This functionality however, won't be available until the SDK is released. Hence, we continue to use _find_floating_ip() method, which was cleaned up by [2] to remove the use of ip_cache. Once, the SDK is released, we will remove all the usage of _find_floating_ip() method and instead only use network.find_ip(). [1] https://review.openstack.org/#/c/449879/2 [2] https://review.openstack.org/#/c/447938/ Change-Id: I6c5222287c46ca42365917d2deae70bdb626347 Co-Authored-By: Reedip<reedip.banerjee@nectechnologies.in> Co-Authored-By: RuiChen<chenrui.momo@gmail.com> Closes-Bug: #1560297
* | | | Merge "Add "qos-policy" option to "port create" & "port set""Jenkins2017-04-061-0/+15
|\ \ \ \ | |_|/ / |/| | |
| * | | Add "qos-policy" option to "port create" & "port set"Ha Van Tu2017-04-051-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds "qos-policy" option to "port create" command, and "qos-policy", "no-qos-policy" options to "port set" command and "qos-policy" option to "port unset". Change-Id: I78072e1ff0dd30a2e23a0fb833ce6ab5cf246016 Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com> Co-Authored-By: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> Partial-Bug: #1612136 Partially-Implements: blueprint network-commands-options
* | | | Merge "Enable to create legacy router"Jenkins2017-04-051-1/+5
|\ \ \ \ | |/ / / |/| | |
| * | | Enable to create legacy routerCedric Brandily2017-03-311-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some deployments create by default HA routers, this change enables to force the creation of a legacy router using: openstack router create --no-ha ... Closes-Bug: #1675514 Change-Id: I78f7dc3640a2acfdaf085e0e387b30373e8415f1
* | | | Merge "Enable to specify which fixed-ip to add to a vm."Jenkins2017-04-051-0/+5
|\ \ \ \
| * | | | Enable to specify which fixed-ip to add to a vm.Cedric Brandily2017-04-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables to specify which fixed-ip will be added to a vm using: openstack server add fixed ip <vm> <network> --fixed-ip-address <ip> This change uses interface_attach instead of add_fixed_ip[1] which is less flexible and uses a deprecated API. [1] https://review.openstack.org/384261 Closes-Bug: #1678140 Change-Id: I7fe4621439ef0d8dca080551ffaeb614c5a91174
* | | | | Correct flavor associate/disassociate commands in Mapping GuideShashank Kumar Shankar2017-04-041-3/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the neutron CLI mapping for neutron flavor-associate and flavor-disassociate since [1] got merged. [1] - https://review.openstack.org/#/c/403907/ Change-Id: Ifd09a8b091ae89c33a06590aba935df5e22e215b
* | | | Merge "Help/docs cleanups: marker, limit, ip-address metavars"Jenkins2017-04-0414-64/+68
|\ \ \ \ | |_|/ / |/| | |
| * | | Help/docs cleanups: marker, limit, ip-address metavarsDean Troyer2017-04-0414-64/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup help strings and docs for clarity and to keep things consistent: * --limit metavar should be <num-resource> to indicate what is being counted * --marker metavar should be <resource> or <resource-id> to indicate the type of value being specified * <*-ip-address> metavars should be just <ip-address> as there is no difference in format between fixed and floating IPs * Move all occurances of '(name or ID)' to end of help text Change-Id: I2c31746ed6ded3845244e03e57d809f8bc0e6b9d
* | | | Merge "Introduce neutron flavor associate, disassociate to OSC"Jenkins2017-04-041-0/+44
|\ \ \ \
| * | | | Introduce neutron flavor associate, disassociate to OSCShashank Kumar Shankar2017-04-031-0/+44
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces network flavor associate and disassociate to OSC. The following neutron equivalent commands are implemented in OSC: - neutron flavor-associate - neutron flavor-disassociate Change-Id: Icba4dbf7300a36353142586359059cd6784049dc
* | | | Merge "Enable to add/remove port to/from a server"Jenkins2017-04-031-0/+40
|\ \ \ \ | |/ / / |/| | |
| * | | Enable to add/remove port to/from a serverCedric Brandily2017-04-031-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables to add/remove a specific port to/from a server using the new commands: openstack server add port <vm> <port> openstack server remove port <vm> <port> Closes-Bug: #1678137 Change-Id: I6ee57df089235ccc1fb9d38316bd484956b1134d
* | | | Merge "doc: Correct Sphinx warnings"Jenkins2017-04-0111-88/+163
|\ \ \ \
| * | | | doc: Correct Sphinx warningsStephen Finucane2017-03-2811-88/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix option-describe typos - Correct option and envvar markup, for commands that are using the reference form instead of the definition form or are marking up option arguments as options - Avoid duplicate commands - Fix some invalid docstrings - Fix some invalid indentation - Disable the murano plugin, which has invalid docs - Correct issues with- and track the network-topology spec - Include API modules in docs Change-Id: I3d5ed5e872540fe13f3e4bd5e9335829dc9a5226
* | | | | Merge "doc: Remove local fork of apidoc"Jenkins2017-04-013-48/+0
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | doc: Remove local fork of apidocStephen Finucane2017-03-283-48/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is unnecessary as pbr has since been fixed. It was causing a broken build as it didn't respect the '[pbr] autodoc_tree_excludes' setting in setup.cfg. The 'openstackclient/volume/v3' directory is an empty module containing only an '__init__' file). Empty modules = unhappy autodoc, thus, this module is ignored. Change-Id: Ie355b14c14b7badccb5c25f7c17edbc5e4b3804f
* | | | Fix volume transfers request commandsDean Troyer2017-03-272-10/+22
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix volume transfer request accept to actually not crash when trying to call Volume API. * Fix volume transfer request accept syntax to have only one positional argument, which is the ID of the resource in the command * Change the output column order in volume transfer request list to have ID followed by Name then the remaining columns. Closes-bug: 1633582 Change-Id: I5cc005f039d171cc70859f60e7fe649b09ead229
* | | Doc: Fix link in network flavorsAnkur Gupta2017-03-241-1/+1
|/ / | | | | | | | | | | Rendered incorrectly. Change-Id: I206dd8affa45864e406796147665c94684e9bf4d
* | Merge "OSC Extension Show"Jenkins2017-03-231-0/+17
|\ \
| * | OSC Extension ShowSindhu Devale2017-03-221-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | Implement Neutron feature of Extension Show into OpenStack Client. Change-Id: Ifecb794838cb3bf8c2466d178345349db3cd4003 Implements: blueprint extension-show
* | | Merge "docs: Don't include ChangeLog"Jenkins2017-03-232-2/+0
|\ \ \
| * | | docs: Don't include ChangeLogStephen Finucane2017-03-202-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ChangeLog is built using commit message summary lines. Unfortunately some of these contain invalid rST markup. There's no way to retroactively fix this, so simply stop including the doc. Change-Id: I6600c1baf142fe4c776f1ae170faa3f6a87b330c
* | | | Merge "Support to add/remove multi users for "group add/remove user""Jenkins2017-03-211-4/+6
|\ \ \ \
| * | | | Support to add/remove multi users for "group add/remove user"Huanxuan Ao2017-03-211-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar delete commands in OSC, we can also support add/remove multi users for one specified group, this review implement it. Change-Id: I8ccf99d4ee83a18778fa3ff5c0a42bc7c6ff21fb Implements: bp support-multi-add-remove
* | | | | Merge "Fix Trivial Changes in [1]"Jenkins2017-03-211-6/+6
|\ \ \ \ \
| * | | | | Fix Trivial Changes in [1]Reedip2017-03-211-6/+6
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [1] had some trivial changes in the main code, which are being put forward in this patch, to consider future scenarios. [1]: I77a933f4b3ce875c63cef5b6a32aee78fd844b03 TrivialFix Change-Id: I8e8fbb194cd319e5605f09c94ae09e952d0961b1
* | | | | Merge "OSC Quota List"Jenkins2017-03-211-0/+23
|\ \ \ \ \
| * | | | | OSC Quota ListSindhu Devale2017-03-101-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Neutron feature of Quota List into OpenStack Client. Change-Id: Idf941acf8d00b136776b7381b877c56d82622f57 Partially-Implements: blueprint neutron-client-quota
* | | | | | Merge "OSC Network Flavor Profile"Jenkins2017-03-212-0/+146
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | OSC Network Flavor ProfileNakul Dahiwade2017-03-202-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Neutron feature of Network Flavor Profile into OpenstackClient This patch implements the following commands: network flavor profile create network flavor profile delete network flavor profile list network flavor profile show network flavor profile set SDK Version needed: 0.9.9 Change-Id: Ie6fe5e53122cfb2eda8d326851d54562739a8386 Partially-Implements: blueprint neutron-client-flavors
* | | | | | Merge "Enable to specify which vm fixed-ip to publish"Jenkins2017-03-211-0/+5
|\ \ \ \ \ \
| * | | | | | Enable to specify which vm fixed-ip to publishCedric Brandily2017-03-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables to specify which vm fixed-ip will be associated to a floating ip using: openstack server add floating ip <vm> <fip> --fixed-ip-address <ip> Closes-Bug: #1624524 Change-Id: I2ddb68c5873bfed7293b0e661d1adbe111681136
* | | | | | | Merge "Introduce Neutron DHCP agent commands to OSC"Jenkins2017-03-202-0/+60
|\ \ \ \ \ \ \
| * | | | | | | Introduce Neutron DHCP agent commands to OSCShashank Kumar Shankar2017-03-202-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces neutron dhcp-agent related commands to OpenStack client. The equivalent neutron commands implemented in OSC: neutron: dhcp-agent-list-hosting-net OSC: network agent list --network neutron: dhcp-agent-network-add OSC: network agent add network neutron: dhcp-agent-network-remove OSC: network agent remove network neutron: net-list-on-dhcp-agent OSC: network list --agent Change-Id: I77a933f4b3ce875c63cef5b6a32aee78fd844b03
* | | | | | | | Merge "Make MAC address of port updatable"Jenkins2017-03-201-0/+5
|\ \ \ \ \ \ \ \
| * | | | | | | | Make MAC address of port updatableBence Romsics2017-03-201-0/+5
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openstackclient does not allow the update of a port's MAC address. However this is possible in neutron API (though by default policy it is an admin-only operation). Allow it in openstackclient too. Change-Id: Ibd9e0a6fbd1d0d461b8a8daee24dbb7c3f929df6 Closes-Bug: #1670707
* | | | | | | | Merge "Non-Admin can't list own projects"Jenkins2017-03-201-0/+7
|\ \ \ \ \ \ \ \
| * | | | | | | | Non-Admin can't list own projectsadrian-turjak2017-03-201-0/+7
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a default Keystone policy until Newtown, and the use of resource_find, non-admins are unable to list their own projects. This patch bypasses this problem while also introducing better UX for non-admins wishing to get their project list. 'openstack project list' retains the default of 'list all projects' but on a forbidden error will default instead to 'list my projects'. This way for non-admins 'list my projects' feels like the default without breaking the expected admin default. Adding the '--my-projects' option allows admins to easily list their own projects or allows non-admins to be explicit and bypass the forbidden error fallback. Change-Id: I1021276f69fbbf28e13e17c4e567d932fce7ed8b Closes-Bug: #1627555
* | | | | | | | Merge "Add extra filtering options to qos policy list"Jenkins2017-03-201-0/+19
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Add extra filtering options to qos policy listlvjiawei2017-03-141-0/+19
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch adds filtering "--project", "--project-domain", "--share", "--no-share" options to qos policy list. Change-Id: I5c012fb27fb952f736ddc9fbc54ef6da4d0af5e0 Partially-Implements: blueprint network-commands-options