neutron 常用命令

openstack network list
+--------------------------------------+--------+--------------------------------------+
| ID                                   | Name   | Subnets                              |
+--------------------------------------+--------+--------------------------------------+
| 9c880b4e-cee4-439b-ac50-e6d5c3daa72e | EX-NET | db92f8fb-2f31-41f5-a59e-e91359fa0f08 |
| db3d8fe0-a4f3-4932-bc4c-8a6c62bf38e7 | IN-NET | 5edf55b5-2008-4cac-9d7c-0b43b515b35f |
+--------------------------------------+--------+--------------------------------------+
 
openstack subnet list
+--------------------------------------+----------+--------------------------------------+-----------------+
| ID                                   | Name     | Network                              | Subnet          |
+--------------------------------------+----------+--------------------------------------+-----------------+
| 5edf55b5-2008-4cac-9d7c-0b43b515b35f | subnet22 | db3d8fe0-a4f3-4932-bc4c-8a6c62bf38e7 | 192.168.22.0/24 |
| db92f8fb-2f31-41f5-a59e-e91359fa0f08 | subnet03 | 9c880b4e-cee4-439b-ac50-e6d5c3daa72e | 172.17.3.0/24   |
+--------------------------------------+----------+--------------------------------------+-----------------+
 
openstack router list
+--------------------------------------+------+--------+-------+-------------+-------+----------------------------------+
| ID                                   | Name | Status | State | Distributed | HA    | Project                          |
+--------------------------------------+------+--------+-------+-------------+-------+----------------------------------+
| 43cce74b-a8e6-475e-bcb7-a3ffe8cbd3da | R1   | ACTIVE | UP    | False       | False | 9d017fa70e834164a3cbf979a5fa8d37 |
+--------------------------------------+------+--------+-------+-------------+-------+----------------------------------+
  • virtualization/openstack/neutron/常用命令.txt
  • 最后更改: 2019/04/16 18:31
  • (外部编辑)