将ID为b8095ceb-005c-4ca8-88be-dbdd7bec39ac重建镜像为Htu-centos7.2
进行更改为牛逼实例类型命令:openstack server resize --flavor 实例类型名字 虚拟机ID[root@controller ~]# openstack server resize --flavor 牛逼 b8095ceb-005c-4ca8-88be-dbdd7bec39ac...
我们将删除snapshot 1 通过ID删除[root@controller ~]# openstack image delete 75d85109-2d7d-4389-a5b1-1cceac0419e7
查看安全组规则列表[root@controller ~]# openstack security group rule listIDIP ProtocolIP RangePort RangeRemote Security GroupSecurity Group02511b0c-1241-4f57-996...
查看server列表[root@controller ~]# openstack server listIDNameStatusNetworksImageFlavor748a2e6d-083b-4965-a616-170d1a2bc0d4Ke'Hu-5ACTIVEpublic=42.51.77.2...
查看IP可用性列表[root@controller ~]# openstack ip availability listNetwork IDNetwork NameTotal IPsUsed IPs36878f8d-9df4-4e8a-9972-4c236d9c9ecaprivate25311041...
分为两种查看命令[root@controller ~]# neutron subnet-list
给该ID的虚拟机添加一个随机IP-网络名选为:public[root@controller ~]# openstack server add fixed ip 0a6a2d71-38d0-4a30-8f36-92886dcf980c public
删除网络[root@controller ~]# openstack network delete 1a339f6e-7496-4ea9-aa29-144cdbf04ffd[root@controller ~]# openstack network delete provider-666
创建一个卷名叫 wocao 的卷 大小为:100G[root@controller ~]# openstack volume create wocao --size 100FieldValueattachments[]availability_zonenovabootablefalseconsis...