summaryrefslogtreecommitdiff
path: root/quantumclient/quantum/v2_0/floatingip.py
diff options
context:
space:
mode:
Diffstat (limited to 'quantumclient/quantum/v2_0/floatingip.py')
-rw-r--r--quantumclient/quantum/v2_0/floatingip.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/quantumclient/quantum/v2_0/floatingip.py b/quantumclient/quantum/v2_0/floatingip.py
index f4141f3..3916527 100644
--- a/quantumclient/quantum/v2_0/floatingip.py
+++ b/quantumclient/quantum/v2_0/floatingip.py
@@ -102,11 +102,11 @@ class AssociateFloatingIP(QuantumCommand):
def get_parser(self, prog_name):
parser = super(AssociateFloatingIP, self).get_parser(prog_name)
parser.add_argument(
- 'floatingip_id', metavar='floatingip-id',
- help='IP address of the floating IP to associate')
+ 'floatingip_id', metavar='FLOATINGIP_ID',
+ help='ID of the floating IP to associate')
parser.add_argument(
- 'port_id',
- help='ID of the port to be associated with the floatingip')
+ 'port_id', metavar='PORT',
+ help='ID or name of the port to be associated with the floatingip')
parser.add_argument(
'--fixed-ip-address',
help=('IP address on the port (only required if port has multiple'
@@ -142,8 +142,8 @@ class DisassociateFloatingIP(QuantumCommand):
def get_parser(self, prog_name):
parser = super(DisassociateFloatingIP, self).get_parser(prog_name)
parser.add_argument(
- 'floatingip_id', metavar='floatingip-id',
- help='IP address of the floating IP to associate')
+ 'floatingip_id', metavar='FLOATINGIP_ID',
+ help='ID of the floating IP to associate')
return parser
def run(self, parsed_args):