summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2/fixedip.py
diff options
context:
space:
mode:
authorRichard Theis <rtheis@us.ibm.com>2015-11-24 10:31:07 -0600
committerRichard Theis <rtheis@us.ibm.com>2015-11-24 14:03:51 -0600
commit325420f6d166aef0b58242918fac464642395b5d (patch)
tree625cd78e31b2c74958c5e5eb26fdd91b453a78ee /openstackclient/compute/v2/fixedip.py
parentbfa223f61591cf7515265c0ddcacc02797cee055 (diff)
downloadpython-openstackclient-325420f6d166aef0b58242918fac464642395b5d.tar.gz
Doc: Update and add IP address
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
Diffstat (limited to 'openstackclient/compute/v2/fixedip.py')
-rw-r--r--openstackclient/compute/v2/fixedip.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/openstackclient/compute/v2/fixedip.py b/openstackclient/compute/v2/fixedip.py
index d105e391..da9d85c3 100644
--- a/openstackclient/compute/v2/fixedip.py
+++ b/openstackclient/compute/v2/fixedip.py
@@ -23,7 +23,7 @@ from openstackclient.common import utils
class AddFixedIP(command.Command):
- """Add fixed-ip command"""
+ """Add fixed IP address to server"""
log = logging.getLogger(__name__ + ".AddFixedIP")
@@ -32,12 +32,12 @@ class AddFixedIP(command.Command):
parser.add_argument(
"network",
metavar="<network>",
- help="Name of the network to fetch an IP address from",
+ help="Network to fetch an IP address from (name or ID)",
)
parser.add_argument(
"server",
metavar="<server>",
- help="Name of the server to receive the IP address",
+ help="Server to receive the IP address (name or ID)",
)
return parser
@@ -56,7 +56,7 @@ class AddFixedIP(command.Command):
class RemoveFixedIP(command.Command):
- """Remove fixed-ip command"""
+ """Remove fixed IP address from server"""
log = logging.getLogger(__name__ + ".RemoveFixedIP")
@@ -65,12 +65,12 @@ class RemoveFixedIP(command.Command):
parser.add_argument(
"ip_address",
metavar="<ip-address>",
- help="IP address to remove from server",
+ help="IP address to remove from server (name only)",
)
parser.add_argument(
"server",
metavar="<server>",
- help="Name of the server to remove the IP address from",
+ help="Server to remove the IP address from (name or ID)",
)
return parser