summaryrefslogtreecommitdiff
path: root/openstackclient/network
Commit message (Collapse)AuthorAgeFilesLines
* 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-172-10/+47
|\ \
| * | Enhance exception handling for "network delete" commandTang Chen2016-04-142-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Fix client certificate/key support for Network v2 commands"Jenkins2016-04-191-1/+3
|\ \ \
| * | | Fix client certificate/key support for Network v2 commandsCedric Brandily2016-04-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently network v2 commands don't support client certificate/key because they were not passed to OpenStackSDK Connection which is used by network v2 commands. This changes corrects the integration with OpenStacKSDK to pass client certificate/key. Closes-Bug: #1569513 Related-Bug: #1569508 Depends-On: Ic093f8515e7b15931994e4516ebec8f4399d021e Change-Id: Ie37e8e988ca695a09894c6c93560dacd83f17030
* | | | 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
* | | Merge "Add options to security group rule list"Jenkins2016-04-191-3/+43
|\ \ \
| * | | 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
* | | Merge "Initialize neutron client with region name"Jenkins2016-04-191-1/+5
|\ \ \ | |/ / |/| |
| * | Initialize neutron client with region nameAndrey Larionov2016-04-181-1/+5
| |/ | | | | | | | | | | | | | | | | All clients except neutron are initialized with region name. This makes unable to use network related commands of openstackclient in multi-region configurations Change-Id: I200dc9a2f938c3e69357f91c79810df167e4fccb Closes-bug: 1570491
* | 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
* | | Merge "Add project options to security group rule create"Jenkins2016-04-141-0/+15
|\ \ \
| * | | Add project options to security group rule createRichard Theis2016-04-111-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the --project and --project-domain options to the 'os security group rule create' command. These options are for Network v2 only. Change-Id: Ie3e136be076f0f2c22fbe7048d1d6eaebf5aa655 Partial-Bug: #1519512 Implements: blueprint neutron-client
* | | | Merge "Add network options to security group rule create"Jenkins2016-04-141-12/+47
|\ \ \ \ | |/ / / | | / / | |/ / |/| |