summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/floatingip.py
Commit message (Collapse)AuthorAgeFilesLines
* Floating IP: Neutron support for "ip floating list" commandTang Chen2016-02-141-17/+0
| | | | | | Change-Id: I253f66f6bc64470e1a18ffea506048eb53f67d5c partial-Bug: 1519502 Related-to: blueprint neutron-client
* Floating IP: Neutron support for "ip floating delete" commandJude Job2016-02-141-23/+0
| | | | | | | | | | This patch implements "ip floating delete" command for both compute and network. Also includes unit tests. Change-Id: Ie61f0faad65ec90f9d9956ae463412be8d963d05 partial-Bug: 1519502 Related-to: blueprint neutron-client Co-Authored-By: Tang Chen <chen.tang@easystack.cn>
* log take_action parameters in a single placeAkihiro Motoki2016-02-021-22/+3
| | | | | | | | | | | | 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 compute.Tang Chen2015-12-171-3/+0
| | | | Change-Id: I9dc6749256fcd53d292d7f658912c032e9ce9df5
* Doc: Update and add IP addressRichard Theis2015-11-241-9/+9
| | | | | | | | | | | Fix the 'ip floating' command documentation file name. Add missing command list documentation for the 'ip fixed' and 'ip floating pool' commands. In addition, update the command description and argument help to fix minor issues and use consistent terminology. And finally, cleanup the Network command object formatting. Change-Id: I0168891bc674c9f0d4df4062f7e93f497dc8fe6f
* Use a common decorator to log 'take_action' activationJoshua Harlow2015-09-011-3/+3
| | | | | | | | | Instead of duplicating the same log statement throughout the code, the same logic can be provided by a shared decorator that abstracts away the logging capability and unifies it behind a common function instead. Change-Id: Icc63bced7347c8bbf0299a4c5821425a10892a79
* Normalize more help stringsDean Troyer2014-07-241-7/+7
| | | | Change-Id: I2b21bc904e35c1cc50da369d148e607fe3e8cf90
* replace string format arguments with function parametersChristian Berendt2014-05-201-5/+5
| | | | | | | | There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
* Fix help message for `ip floating delete`Yejia Xu2014-05-071-1/+1
| | | | | | | | | Previously, the help message incorrectly had the string "IP address to add to server". This should probably read "IP address to delete". Change-Id: If592b736448199f84c30e0cbc8110a0a76e2c140 Closes-Bug: #1316877
* Begin Python 3 compatabilityDean Troyer2013-07-291-1/+2
| | | | | | | | | | | * use six.iteritems() * replace basestring with six.string_types * convert print statements to functions (they're all debugging and should be removed eventually anyway) * clean up OpenStack copyright: LLC -> Foundation Change-Id: Icb14212bcb408e63816bfec3922a697bc1a6c946
* Remove api = apiName calls from each methodSteve Martinelli2013-07-121-5/+0
| | | | | | | | | | | As discussed in https://review.openstack.org/#/c/36352/ for each command, we were setting api = identity or volume... etc, this was for an old way of calling commands that are is no longer used. Also removed openstackclient/common/command.py Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19
* Add fixed-ip and floating-ip commandsDean Troyer2013-04-141-0/+160
Adds: * fixed-ip commands: add, remove * floating-ip commands: add, create, delete, list, remove * floating-ip-poo command: list Also uses NAME_ATTR in the Resource class if present to determine the attribute to be used for searching in utils.find_resource() Change-Id: Ifd8fa60f880fc4050dea182ac24553cc2c4bff15