summaryrefslogtreecommitdiff
path: root/openstackclient/network/v2/router.py
Commit message (Collapse)AuthorAgeFilesLines
* Router: Add --route and --clear-routes options to "router set" commandTang Chen2016-02-271-4/+26
| | | | | | | | | | | | | | | | | --route option is used to set routes to the router. It is used like this: --route destination=subnet,gateway=ip-address destination: destination subnet CIDR gateway: nexthop IP address --clear-routes is used to clear all routes on the router. Change-Id: I97ce4871113c684b29c98cdad4dec9cc80ed20f7 Implements: blueprint neutron-client Partial-bug: #1519503
* Merge "Minor typo in help text"Jenkins2016-02-041-1/+1
|\
| * Minor typo in help textJas2016-02-031-1/+1
| | | | | | | | | | | | fix misspelled 'project' in router-create help text Change-Id: I4874563c0dd7ca35ef153cf24b99e357c0c076b9
* | Merge "Add availability zone support for router commands"Jenkins2016-02-031-0/+17
|\ \
| * | Add availability zone support for router commandsJas2016-01-291-0/+17
| |/ | | | | | | | | | | | | | | | | | | This patch allows the adding of availability_zone_hints during router create. Also allows for the display of availability_zones during list and and show commands. Change-Id: Ifbc5c218bc7103d28076d726212ce25321bcf7f1 Partial-bug: #1519503 Partially-implements: blueprint neutron-client
* | log take_action parameters in a single placeAkihiro Motoki2016-02-021-23/+4
|/ | | | | | | | | | | | Previously each command logs take_action parameters explicitly by using @utils.log_method decorator or log.debug(). Some commands have no logging. This commit calls a logger in the base class and drops all logging definition from individual commands. Closes-Bug: #1532294 Change-Id: I43cd0290a4353c68c075bade9571c940733da1be
* Trivial: Remove useless return from files in networkTang Chen2015-12-181-1/+0
| | | | Change-Id: Ib871fbde7c7140eca875403332ad5ab65a7e940d
* Router: Add "router show" command using SDKTang Chen2015-12-171-0/+23
| | | | | | | | This patch adds "router show" command to osc using sdk. Change-Id: Idb0f7f0376926e97f9f70a52ef21511e7ffa9d92 Implements: blueprint neutron-client Partial-bug: #1519503
* Router: Add "router set" command using SDKTang Chen2015-12-171-0/+78
| | | | | | | | | | | This patch adds "router set" command to osc using sdk. NOTE: Setting ha property of a router is not supported for now. Will suppport it in another patch. Change-Id: I9c15249ae61a87291f0728ad1c8f0a98aa8119bf Implements: blueprint neutron-client Partial-bug: #1519503
* Router: Add "router delete" command using SDKTang Chen2015-12-161-0/+25
| | | | | | | | This patch adds "router delete" command to osc using sdk. Change-Id: I47d0ca7f7984942ffceaeb1c9ac69efd09145f40 Implements: blueprint neutron-client Partial-bug: #1519503
* Router: Add "router create" command using SDKTang Chen2015-12-151-0/+79
| | | | | | | | | | | | | | | This patch adds "router create" command to osc using sdk. NOTE: Test for --project needs support for fake identity client v2 and v3. These tests will be added in other patches. NOTE: external_gateway_info and routes are not supported to be passed to create command now. They will be supported in another tow patches. NOTE: Creating a ha router is not supported for now. Will support it in another patch. Change-Id: I7642295d27c27dd498331ae1da1c293706d8f6af Implements: blueprint neutron-client Partial-bug: #1519503
* Router: Add "router list" command using SDKTang Chen2015-12-111-0/+93
Add "router list" command. It takes one "--long" option. By default, the command will print router id, name, status, admin state up, distributed, ha and project id. With "--long" option, it will also print routes and external gateway info. Change-Id: I9d21904c41c11ee1fa107f985744878a1dc2f970 Implements: blueprint neutron-client Partial-bug: #1519503