[toc]
rocky版使用命令启动一个实例
1.创建网络
openstack network create 创建网络 --shared 创建共享网络 --provider-physical-network 指定物理网卡名称 provider网络标签 --provider-network-type 指定网络类型 flat是桥接网络 pptfz是网络名称
openstack network create --share --external \
--provider-physical-network provider \
--provider-network-type flat pptfz
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | UP |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2020-05-26T12:41:05Z |
| description | |
| dns_domain | None |
| id | 26fa223a-231f-419a-a387-750d6eabf3fe |
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | None |
| is_vlan_transparent | None |
| mtu | 1500 |
| name | pptfz |
| port_security_enabled | True |
| project_id | 108d3fecb61840e3818f694c69c3ec4a |
| provider:network_type | flat |
| provider:physical_network | provider |
| provider:segmentation_id | None |
| qos_policy_id | None |
| revision_number | 1 |
| router:external | External |
| segments | None |
| shared | True |
| status | ACTIVE |
| subnets | |
| tags | |
| updated_at | 2020-05-26T12:41:05Z |
+---------------------------+--------------------------------------+