根据openstack icehouse安装文档openstack-install-guide-yum-icehouse.pdf, 安装部署完了neutron的网络部分,但发现Ping不通.于是打算删除配置好的net,subnet.
列出网络:
[root@controller-node xiaoy]# neutron net-list
+--------------------------------------+----------+-----------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+-----------------------------------------------------+
| 488574ee-496c-443a-981d-2939e8b50b16 | ext-net | d0e9d06f-f118-4adc-911c-6e66e96c8f97 203.0.113.0/24 |
| 66185ceb-62f9-4086-ae36-bfc6c5ff58d3 | demo-net | ea774c29-90f2-44a0-9eb8-683afce567d9 192.168.1.0/24 |
+--------------------------------------+----------+-----------------------------------------------------+
删除网络ext-net,报错有端口再使用
[root@controller-node xiaoy]# neutron net-delete ext-net
Unable to complete operation on network 488574ee-496c-443a-981d-2939e8b50b16. There are one or more ports still in use on the network.
显示子网subnet的信息
[root@controller-node xiaoy]# neutron subnet-show ext-subnet
[root@controller-node xiaoy]# neutron subnet-list
+--------------------------------------+-------------+----------------+---------------------------------------------------