summaryrefslogtreecommitdiff
path: root/openstackclient/network
Commit message (Collapse)AuthorAgeFilesLines
* translate all command help strings3.4.0Steve Martinelli2016-11-1715-78/+79
| | | | | | | | | | | | | | Leverage the new cliff command class attribute (_description) to get the help of a command, this allows us to mark strings for translation. We could not do this before since the help was grabbed from the docstring. This also depends on a new release of cliff and a bump to the minimum level in osc's requirements. Closes-Bug: 1636209 Depends-On: Id915f6aa7d95a0ff3dc6e2ceaac5decb3f3bf0da Change-Id: I8673080bb5625e8e3c499feaefd42dfc7121e96f
* Do proper deprecation for security group rule createDean Troyer2016-11-161-17/+47
| | | | | | | | | | | | | | Review I03fd0e14e470e7272930ac2651e73263b83bd4e1 renamed the --src-group and --src-ip options to --remote-group and --remote-ip but did not properly deprecate the old option names. Add deprecation warnings when the old option names are used. Also, format the warnings using the new proposed translation guideline for marking substrings to not be translated, such as literal names and option names. Change-Id: I63d085d190fc28b8637e7686016eda4efbdda1be
* Merge "network.common.NetworkAndComputeShowOne: catch HttpException"Jenkins2016-11-101-6/+11
|\
| * network.common.NetworkAndComputeShowOne: catch HttpExceptionJordan Pittier2016-11-101-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: if a user issue the cmd 'openstack floating ip create public' and has already maxed his quota for FIP, OSC exits with a not so useful message: >jordan@jordan-XPS13-9333:~ $ openstack floating ip create public >HttpException: Conflict This patches catch the HttpException earlier and prints a more verbose message: > jordan@jordan-XPS13-9333:~ $ openstack floating ip create public > Error while executing command: Quota exceeded for resources: ['floatingip'] Change-Id: I7c87524d871d230d92f007c32e06439b34c7194a
* | Merge "Not appropriate name sg rule attribute"Jenkins2016-11-101-16/+38
|\ \
| * | Not appropriate name sg rule attributejudy-yu2016-11-041-16/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For ingress rules set ip-prefix means src-ip- prefix, but for egress rules set ip-prefix means dst-ip-prefix. It is not appropriate to name src-ip directly. So as to src-group. Change-Id: I03fd0e14e470e7272930ac2651e73263b83bd4e1 Closes-bug: #1637365
* | | Merge "Add description field port create & port set"Jenkins2016-11-101-40/+47
|\ \ \
| * | | Add description field port create & port setAradhana Singh2016-10-171-40/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patchset 1. adds description field to openstack port create and openstack port set. 2. updates method _add_updatable_args with 4 spaces instead of existing 8 spaces Partially Implements: blueprint neutron-client-descriptions Partially Implements: blueprint network-commands-options Change-Id: I4598e555722b1de7bc47f3a9be0fd81eacfcb572
* | | | Merge "Support --provider-* options in the network list command"Jenkins2016-11-101-1/+31
|\ \ \ \
| * | | | Support --provider-* options in the network list commandYan Xing'an2016-10-271-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add --provider-network-type, --provider-physical-network, --provider-segment options into network list command. Change-Id: I02546170211fb3e7e55d5dc7e7cdc6d387fd26e5 Closes-Bug: #1635580 Partially-Implements: blueprint network-commands-options
* | | | | Merge "Add option to allow filtering by mac-address on port list"Jenkins2016-11-101-0/+7
|\ \ \ \ \
| * | | | | Add option to allow filtering by mac-address on port listYan Xing'an2016-10-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support to allow filtering ports via --mac-address option to the port list command. Change-Id: I903e443f2f9057571d46520c4cafb88d1972c0cb Partial-bug: #1634333 Partially-Implements: blueprint network-commands-options
* | | | | | Merge "Allow input the QoS policy name in network rbac create command"Jenkins2016-11-101-5/+4
|\ \ \ \ \ \
| * | | | | | Allow input the QoS policy name in network rbac create commandHuanxuan Ao2016-10-201-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We could input a QoS policy ID for the "rbac_object" parameter in "network rbac create" command but not name before. After this change, "rbac_object" parameter can be both QoS policy name or ID. Change-Id: I0fd6b5b5ae410074d85475ef49e5a0a9a52bf86f
* | | | | | | Merge "Add direction and protocol options to os security group rule list cmd"Jenkins2016-11-101-0/+30
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Add direction and protocol options to os security group rule list cmdNam Nguyen Hoai2016-10-141-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added direction options (--ingress, --egress) and protocol option (--protocol) to filter rules by os security group rule list command. Change-Id: I56ace3f97eb927fd2a868f728c7347a29d028b67 Closes-Bug: #1613533 Partially-Implements: blueprint network-commands-options
* | | | | | | Merge "Add 'description' option"Jenkins2016-11-091-0/+8
|\ \ \ \ \ \ \
| * | | | | | | Add 'description' optionSindhu Devale2016-11-081-0/+8
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--description' option to os security group rule create cmd. Change-Id: I604bcdeb4658d2dcc4d860a87e704e186cca5225 Partially-Implements: blueprint network-commands-options Partially-Implements: blueprint neutron-client-descriptions
* | | | | | | Merge "SDK refactor: Prepare floating ip commands"Jenkins2016-11-081-4/+12
|\ \ \ \ \ \ \
| * | | | | | | SDK refactor: Prepare floating ip commandsSindhu Devale2016-11-031-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "floating ip" commands for the SDK refactor. Change-Id: I02052185b3ce0b053acdcf76a0f68d49e6f7e608 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Merge "SDK Refactor: Prepare subnet pool commands"Jenkins2016-11-081-11/+24
|\ \ \ \ \ \ \ \
| * | | | | | | | SDK Refactor: Prepare subnet pool commandsRichard Theis2016-10-051-11/+24
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "subnet pool" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I6d8cb7a079cf115ee25d48d9175e31f0f995c502 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Merge "SDK Refactor: Prepare network segment commands"Jenkins2016-11-081-4/+9
|\ \ \ \ \ \ \ \
| * | | | | | | | SDK Refactor: Prepare network segment commandsRichard Theis2016-10-051-4/+9
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network segment" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I426ecdad0f9d95b89e80fb1c5ba81ffe5fe274c9 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Merge "SDK Refactor: Prepare address scope commands"Jenkins2016-11-082-12/+56
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | |
| * | | | | | SDK Refactor: Prepare address scope commandsRichard Theis2016-10-052-12/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "address scope" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I4e253e01f9b0b10452354f4e4152468090c76958 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | Add filtering options --name,--enable,--disable to router listYi Zhao2016-10-311-1/+28
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I171b6be4501b02c3df66589c45177200919117db Closes-Bug: #1637945 Partially-Implements: blueprint network-commands-options
* | | | | | Avoid duplicated project_id when show networkjudy-yu2016-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Project_id appear twice when show network. This patch check and not append if it already has one. Change-Id: I4400239f454522101b639a0412050dd60eb6a612 Closes-Bug: #1636123 Partially-Implements: blueprint duplicated-project-id
* | | | | | Correct help string of the subnet pool list optionsYan Xing'an2016-10-201-8/+10
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct help string of subnet pool list options, from "subnets" to "subnet pools". Change-Id: Ic6dd6649f411748cd0c6e6b08f0451c8a0fa220f Partially-Implements: blueprint network-commands-options
* | | | | Reset allocation pools to [] instead of ''Carl Baldwin2016-10-191-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the sdk expects subnet allocation pools to be reset to an empty array, not an empty string. Currently this results in an error message: "Invalid input for allocation_pools. Reason: Invalid data format for IP pool" Change-Id: I7cc84b9c8e4abdbd2c91e5d591ad31f0849c1a83 Closes-Bug: #1634672
* | | | Merge "Add necessary info to Floating IP list"Jenkins2016-10-171-0/+4
|\ \ \ \
| * | | | Add necessary info to Floating IP listReedip2016-10-161-0/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the Network ID and Project ID for the listed floating IPs when Neutron is enabled for OpenstackClient. Change-Id: I823090f2e6d30acd72247d30956f48f4d7672a50 Closes-Bug:#1566090
* | | | Merge "Add security groups options to "port create/set/unset""Jenkins2016-10-171-1/+72
|\ \ \ \
| * | | | Add security groups options to "port create/set/unset"Nguyen Phuong An2016-10-121-1/+72
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--security-group' and '--no-security-group' options to "port create", "port set" and "port unset" commands. Change-Id: Iff60d8f29227017b0a3966efca6cdecba69abcea Partial-Bug: #1612136 Partially-Implements: blueprint network-commands-options
* | | | Add support make a router HAReedip2016-10-161-5/+17
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently router set CLI does not provide the support make a router highly available. The following patch enables the same. Checking for setting a router as HA is left on the neutron server itself. Partially-Implements: blueprint network-commands-options Change-Id: I0d0548cf037a14e5ccb2f732918ee9d1f63f43b4 Closes-Bug:#1631492
* | | Merge "Add a new column and a new option the 'os port list' cmd"Jenkins2016-10-121-0/+11
|\ \ \ | |/ / |/| |
| * | Add a new column and a new option the 'os port list' cmdNam Nguyen Hoai2016-10-121-0/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | This patch will add a new column called status to the result of the 'os port list' command and --long option to 'os port list' command. Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Change-Id: I4f942414e969687304b578ed7f003dd219c0f2f8 Closes-Bug: #1613995 Closes-Bug: #1614321 Partially-Implements: blueprint network-commands-options
* | Merge "Add network support for Network QoS policies"Jenkins2016-10-111-0/+231
|\ \
| * | Add network support for Network QoS policiesRodolfo Alonso Hernandez2016-10-111-0/+231
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Added following commands: - network qos policy create - network qos policy delete - network qos policy set - network qos policy show - network qos policy list Closes-Bug: 1609037 Depends-On: I33bafeca979410d329ae10a82772ccdb48c10daa Change-Id: I63a8f63702514ff5814481bb021e2aa9d5f3d4b1
* | Fix router unset --route optionChoe, Cheng-Dae2016-10-101-2/+1
|/ | | | | | | | | Fix the "--route" option one the "os route unset" command. The option did not convert gateway to nexthop which results "Router does not contain route" error. Change-Id: Ia57bc7ea77ad7c6030535180a6ce42b4928c9e56 Closes-Bug: 1631471
* Add --ha option to os router create commandNam Nguyen Hoai2016-10-011-2/+8
| | | | | | | | This patch added --ha option which the 'os router create' command was missed. Change-Id: I77635fb17af32beb0d8ed9aa080ef79285719fdc Closes-Bug: #1610161
* Remove beta label for network segment resourceRichard Theis2016-09-282-45/+12
| | | | | | | | With Ocata development opened, neutron network segments are no longer beta resources. Change-Id: I25be51c30df17c746136471b88840f64a03187b9 Partially-Implements: blueprint routed-networks
* Merge "Add --description to Neutron commands"Jenkins2016-09-232-1/+20
|\
| * Add --description to Neutron commandsAnkur Gupta2016-09-232-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | Added simple option for floating ip description when creating a floating ip. Added option for create and set router as well. Partially Implements: blueprint neutron-client-descriptions Partially Implements: blueprint network-commands-options Change-Id: Ib8cd8af449e9ff33b980017b2527a6b196894a00
* | Merge "Introduce overwrite functionality in ``osc port set``"Jenkins2016-09-231-11/+18
|\ \
| * | Introduce overwrite functionality in ``osc port set``reedip2016-09-211-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | The overwrite functionality allows user to overwrite either the binding-profile or the fixed-ips of a specific port. Change-Id: I8ec3d04eeaf28972ee545fcdda4d5f7bd9deb915 partially-implements: blueprint allow-overwrite-set-options
* | | Merge "Overwrite/Clear support for subnets"Jenkins2016-09-231-4/+26
|\ \ \
| * | | Overwrite/Clear support for subnetsReedip2016-09-211-4/+26
| | |/ | |/| | | | | | | | | | | | | | | | | | | This patch adds the overwrite/clear functionality for allocation-pool and host-routes in subnets. Change-Id: Idfa41173d0c054c5bfb4eda8c5f614928012555a implements: blueprint allow-overwrite-set-options
* | | Merge "Add filtering options to os network list command"Jenkins2016-09-221-6/+77
|\ \ \
| * | | Add filtering options to os network list commandHa Van Tu2016-09-221-6/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following filtering options: '--name', '--internal', '--share' and '--no-share', '--enable' and '--disable', '--project' and '--project-domain', '--status'. Change-Id: I7e9dd372ee572c6ee8cdba7fac3182f9dc0a137b Partially-Implements: blueprint network-commands-options Closes-Bug: #1578819