OpenStack命令查看IP可用性详细信息

2020-06-13 12:41:37 浏览数 (1)

查看IP可用性列表

[root@controller ~]# openstack ip availability list

Network ID

Network Name

Total IPs

Used IPs

36878f8d-9df4-4e8a-9972-4c236d9c9eca

private

253

11

0419d666-2a1e-4c5f-9331-b54ab7718b8b

public

253

11

进行查看信息

[root@controller ~]# openstack ip availability show 36878f8d-9df4-4e8a-9972-4c236d9c9eca

Field

Value

id

36878f8d-9df4-4e8a-9972-4c236d9c9eca

name

None

network_id

36878f8d-9df4-4e8a-9972-4c236d9c9eca

network_name

private

project_id

b03aac1f6ae94f7bada2afa8f2064312

subnet_ip_availability

cidr='10.0.0.0/24', ip_version='4', subnet_id='2e2086da-6acb-499e-a22e-a3906bcf48e7', subnet_name='private_subnet', total_ips='253', used_ips='11'

total_ips

253

used_ips

11

进行查看信息

[root@controller ~]# openstack ip availability show 0419d666-2a1e-4c5f-9331-b54ab7718b8b

Field

Value

id

0419d666-2a1e-4c5f-9331-b54ab7718b8b

name

None

network_id

0419d666-2a1e-4c5f-9331-b54ab7718b8b

network_name

public

project_id

b03aac1f6ae94f7bada2afa8f2064312

subnet_ip_availability

cidr='42.51.77.0/24', ip_version='4', subnet_id='e97beba0-d8ae-4bc6-9497-abad9200cb60', subnet_name='subnet', total_ips='253', used_ips='11'

total_ips

253

used_ips

11

0 人点赞