vinfra service compute floatingip list
List floating IP addresses:
usage: vinfra service compute floatingip list [--long] [--limit <num>] [--marker <floating-ip>] [--ip-address <ip-address>] [--id <id>] [--network <network>]
--long
- Enable access and listing of all fields of objects.
--limit <num>
- The maximum number of floating IPs to list. To list all floating IPs, set the option to -1.
--marker <floating-ip>
- List floating IPs after the marker.
--ip-address <ip-address>
- List floating IPs with the specified IP address or use a filter. Supported filter operator:
contains
. The filter format is<operator>:<value1>[,<value2>,…]
. --id <id>
- Show a floating IP with the specified ID or list floating IPs using a filter. Supported filter operator:
in
. The filter format is<operator>:<value1>[,<value2>,…]
. --network <network>
- List floating IPs that have the specified network name or ID.
Example:
# vinfra service compute floatingip list -c id -c fixed_ip_address -c port_id \ -c floating_ip_address +----------------+------------------+----------------+---------------------+ | id | fixed_ip_address | port_id | floating_ip_address | +----------------+------------------+----------------+---------------------+ | a709f884-<...> | 192.168.128.5 | 418c8c9e-<...> | 10.94.129.72 | +----------------+------------------+----------------+---------------------+
This command lists floating IP addresses used in the compute cluster.