summaryrefslogtreecommitdiff
path: root/openstackclient/network/v2
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Support error handling for "port delete" command"Jenkins2016-06-071-2/+15
|\
| * Support error handling for "port delete" commandHuanxuan Ao2016-06-071-2/+15
| | | | | | | | | | | | | | | | | | | | "Port delete" command supported deleting multi ports before but didn't support error handing, This patch add the error handling following the rules in doc/source/command-errors.rst. Change-Id: I4ea69f2279763626d6a27cad1ca0ee99822d016d Partially-Implements: blueprint multi-argument-network
* | Merge "Add network availability for osc"Jenkins2016-06-061-0/+109
|\ \
| * | Add network availability for oscManjeet Singh Bhatia2016-06-031-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements openstack client for network ip availability. Implements: blueprint neutron-ip-capacity Depends-On: I3b40d8edea87c068c4e8133e436511765064d5f8 Change-Id: Iffaa2e20ff495fbd205d3397e027e8141d04385e
* | | Fix --enable options on commandsRichard Theis2016-06-021-13/+4
| |/ |/| | | | | | | | | | | | | | | | | | | | | The --enable option on commands is ignored when the arguments are parsed. This is related to the --enable-beta-commands option. Renaming the option to --os-beta-command fixes the problem. There's no need to handle backwards compatibility for the option name change because there hasn't been an OSC release yet with beta commands. Change-Id: I0327ba8a2058858a83e9a42e231470ed733cc834 Closes-Bug: #1588384
* | Merge "Add network segment command object"Jenkins2016-05-301-0/+124
|\ \
| * | Add network segment command objectRichard Theis2016-05-271-0/+124
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Add network segment command object in support of routed networks. This patch set includes documentation, unit tests and functional tests (currently skipped until segments enabled in neutron by default) for the following new commands: - "os network segment list" - "os network segment show" These new commands are currently marked as beta commands. Change-Id: I1a79b48dc6820fe2a39fcceb11c8cae3bda413a0 Partially-Implements: blueprint routed-networks
* | Support deleting multi address scopes in networkv2Huanxuan Ao2016-05-281-4/+20
|/ | | | | | | | This patch adds support for deleting multi address scopes by using "address scope delete" command. Change-Id: Ic8d3ebc17db44ca5d42c336d2c4d5633f70d4e8b Partially-Implements: blueprint multi-argument-network
* Merge "remove #noqa from i18n imports"Jenkins2016-05-191-1/+1
|\
| * remove #noqa from i18n importsSteve Martinelli2016-05-131-1/+1
| | | | | | | | | | | | hacking checks no longer fail on `import _` Change-Id: Idd60f0a0e71e5081691eacb39e5091ab08fcce6d
* | Merge "Add ip version filter to subnet list"Jenkins2016-05-171-1/+13
|\ \
| * | Add ip version filter to subnet listManjeet Singh Bhatia2016-05-161-1/+13
| |/ | | | | | | | | | | | | | | This patch will add argument ip-version to command subnet list Change-Id: If7458d4979e53aec7e2633c4f1779c3810f9a3f1 Closes-Bug: #1581179
* | Merge "Enhance exception handling for "network delete" command"Jenkins2016-05-171-10/+10
|\ \
| * | Enhance exception handling for "network delete" commandTang Chen2016-04-141-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Add VLAN Transparent option to ``osc network``"Jenkins2016-05-161-4/+20
|\ \ \ \
| * | | | Add VLAN Transparent option to ``osc network``reedip2016-05-161-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Added --no-route to the router set command"Jenkins2016-05-161-2/+18
|\ \ \ \ \
| * | | | | Added --no-route to the router set commandHideki Saito2016-05-161-2/+18
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecated --clear-routes Closes-Bug #1565034 Change-Id: I4a8975edc026aecd2a362fd1929c984cfab8ade6
* | | | | Merge "Fix network router type display"Jenkins2016-05-161-5/+2
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Fix network router type displayRichard Theis2016-05-051-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-141-32/+152
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Implement "address scope set" command"Jenkins2016-05-111-0/+48
|\ \ \ \
| * | | | Implement "address scope set" commandHuanxuan Ao2016-05-111-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-111-0/+24
|\ \ \ \ \ | |/ / / /
| * | | | Implement "address scope show" commandHuanxuan Ao2016-05-111-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-111-0/+27
|\ \ \ \ \ | |/ / / /
| * | | | Implement "address scope list" commandHuanxuan Ao2016-05-111-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add a command that supports listing address scopes Change-Id: Id14757011560cacf28011ba51841a8e23b824f33 Partial-Bug: #1566269
* | | | | Merge "Implement "address scope delete" command"Jenkins2016-05-111-0/+19
|\ \ \ \ \ | |/ / / /
| * | | | Implement "address scope delete" commandHuanxuan Ao2016-05-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-111-0/+96
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Implement "address scope create" commandHuanxuan Ao2016-05-111-0/+96
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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 "Fix router set --route option"Jenkins2016-05-031-5/+21
|\ \ \
| * | | Fix router set --route optionRichard Theis2016-04-181-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the "--route" option on the "os router set" command. The option did not properly format the new routes to set which resulted in a "HttpException: Bad Request" error. In addition, the output for routes was fixed to improve readability and to align with the "--route" option on the "os router set" command. Change-Id: I9c514153ec201e2feae32be6dd281771e3298b9c Closes-Bug: #1564460
* | | | remove assert in favor an if/elseMichael McCune2016-05-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the assert usage in the NonNegativeAction has the potential to allow unexpected behavior when the python is byte-compiled with optimization turned on. Changes * remove assert in favor of if/else in NonNegativeAction class * add type specifier to parser arguments for non-negative actions * correct tests for new int based values Change-Id: I093e7440b8beff4f179e2c4ed81daff82704c40e Closes-Bug: #1576375
* | | | Fixes BadRequest when no --pool-prefix givenInessa Vasilevskaya2016-04-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | --pool-prefix is made required on subnetpool creation. Closes-bug: #1536479 Change-Id: I3d183e45e9b96bc08011c36f45ec2b7a9c01b627
* | | | Merge "Add new share and default parms to subnet pool cmds"Jenkins2016-04-211-0/+42
|\ \ \ \
| * | | | Add new share and default parms to subnet pool cmdsBrad Behle2016-04-201-0/+42
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the "share" and "default" parms to subnet pool create command. Add the "default" and "no-default" parms to subnet pool set command. Note that "share" can not be modified once subnet pool has been created, so do not add this to the set command. Change-Id: I1eecad69527a1cde7fb234669f4aff2be2db491e Partial-Bug: #1544591 Partial-Bug: #1544586
* | | | Merge "Fixed subnet command host route output"Jenkins2016-04-211-10/+8
|\ \ \ \
| * | | | Fixed subnet command host route outputRichard Theis2016-04-201-10/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed the "os subnet create", "os subnet list" and "os subnet show" command output for host routes to improve readability and to align with the "--host-route" option on the "os subnet create" and "os subnet set" commands. Change-Id: Ida69ae1a0bdb2e1648f8b5c978fc80cf1bbe752f Closes-Bug: #1572309
* | | | Trivial: Fix an omited i18n issueTang Chen2016-04-201-1/+2
|/ / / | | | | | | | | | Change-Id: I064ae79d31f96021dfb5d7cd16a3ace9725803f6
* | | Merge "Add provider network options to osc network set"Jenkins2016-04-191-31/+33
|\ \ \
| * | | Add provider network options to osc network setreedip2016-04-191-31/+33
| |/ / | | | | | | | | | | | | | | | | | | | | | The following patch adds the provider network options to OSC "network set". Change-Id: I23b617077eda25d16164172a8e280082750eaf18 Partial-Bug: #1545537
* | | Add options to security group rule listRichard Theis2016-04-181-3/+43
|/ / | | | | | | | | | | | | | | | | | | | | Add the following options to the 'os security group rule list' command: --long: Display direction and ethertype for Network v2 --all-projects: Display information from all projects for Compute v2 Change-Id: If8a1cbd7669cdfa6577d6d2f6fffd9e999a39a82 Partial-Bug: #1519512 Implements: blueprint neutron-client
* | State i18() changes and help messages improvedTang Chen2016-04-188-200/+229
| | | | | | | | | | | | | | | | Add _() to wrap help message in network commands. And also some improvement for help message. Change-Id: Ib3e498f5976ba98c44fd4eec2d1623263b3db53e Partial-bug: 1570924
* | Merge "Append existing information during port set"Jenkins2016-04-151-6/+14
|\ \
| * | Append existing information during port setreedip2016-04-141-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing --fixed-ip and --binding-profile information is currently overwritten when a user executes 'port set', but actually that data should be appended. This patch fixes the issue. Closes-Bug: #1564453 Change-Id: I62500c10ccbbc68167f24e9d4fa49e85345d82c4
* | | Merge "Add external network options to osc network set"Jenkins2016-04-151-8/+30
|\ \ \
| * | | Add external network options to osc network setreedip2016-04-151-8/+30
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | The following patch adds the options "--external" & "--internal" and the suboptions to "external": "--default" & "--no-default", to "osc network set" CLI to provide the user an option to set a network as an external network or remove the setting. Change-Id: I3a7f2cb249bc8101cbb01322d7732e913237d6cd Partial-Bug: #1545537