View the virtual machine instance XML file;
[[email protected] Linux-node2 ~]# cat/etc/libvirt/qemu/instance-0000000f.xml <!--Warning:this is an Auto-generated FILE. Changes to IT is likely to Beoverwritten and LOST. Changes to this XML configuration should is made Using:virsh edit instance-0000000for other application using the Libvir T api.--><domain type= ' KVM ' > <name>instance-0000000f</name> <uuid> e7585ece-c8e9-4ad8-8796-8a58bca459bf</uuid> <metadata> <nova:instance xmlns:nova= "/http openstack.org/xmlns/libvirt/nova/1.0 "> <nova:package version=" 12.0.4-1.el7 "/> <nova:name>hello-in stance</nova:name> <nova:creationtime>2018-10-10 13:22:45</nova:creationtime> <nova:flavor Name= "M1.tiny" > <nova:memory>512</nova:memory> <nova:disk>1</nova:disk> &L T;nova:swap>0</nova:swap> <nova:ephemeral>0</nova:ephemeral> <nova:vcpus>1</no Va:vcpus> </nova:flavor> <nova:owner> <nova:user uuid= "8ce3700aed4e428d9ce51b05685ae0a6" &G t;demo</nova:user> <nova:project uuid= "29b7833bc24e41d7b4c1d8c77de81e88" >demo</nova:project> </nova:owner> <nova:root type= "image" uuid= "0297b83c-f9d7-4c19-ab05-762fd4616c49"/> </nova:instanc e> </metadata> <memory unit= ' KiB ' >524288</memory> <currentmemory unit= ' KiB ' >524288</ currentmemory> <vcpu placement= ' static ' >1</vcpu> <cputune> <shares>1024</shares> & lt;/cputune> <sysinfo type= ' smbios ' > <system> <entry name= ' manufacturer ' >fedora project</ entry> <entry name= ' product ' >openstack nova</entry> <entry name= ' version ' >12.0.4-1.el7</ entry> <entry name= ' serial ' >10488a90-1077-49ad-a5f8-26ba6bc70b2d</entry> <entry name= ' uuid ' ; e7585ece-c8e9-4ad8-8796-8a58bca459bf</entry> <entry name= ' family ' >virtual machine</entry> </system> </sysinfo> <os> <type arch= ' x86_64 ' machine= ' pc-i440fx-rhel7.0.0 ' >hvm</type> <boot dev= ' HD '/> <sm BIOS mode= ' sysinfo '/> </os> <features> <acpi/> <apic/> </features> <cpu mode = ' Host-model ' check= ' partial ' > <model fallback= ' Allow '/> <topology sockets= ' 1 ' cores= ' 1 ' threads= ' 1 '/> ; </cpu> <clock offset= ' UTC ' > <timer name= ' pit ' tickpolicy= ' delay '/> <timer name= ' RTC ' tickpolic y= ' catchup '/> <timer name= ' hpet ' present= ' no '/> </clock> <on_poweroff>destroy</on_poweroff& Gt <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator >/usr/libexec/qemu-kvm</emulator> <disk type= ' file ' device= ' disk ' > <driver name= ' qemu ' type= ' Qco W2 ' cache= ' None '/> <source file= '/var/lib/nova/instances/e7585ece-c8e9-4ad8-8796-8a58bca459bf/disk '/> <target dev= ' VDA ' bus = ' Virtio '/> <address type= ' pci ' domain= ' 0x0000 ' bus= ' 0x00 ' slot= ' 0x04 ' function= ' 0x0 '/> </disk> <controller type= ' usb ' index= ' 0 ' model= ' piix3-uhci ' > <address type= ' PCI ' domain= ' 0x0000 ' bus= ' 0x00 ' slot= ' 0x function= ' 0x2 '/> </controller> <controller type= ' PCI ' index= ' 0 ' model= ' pci-root '/> <interfa Ce type= ' bridge ' > <mac address= ' fa:16:3e:f4:6f:fe '/> <source bridge= ' brq9252cb78-d1 '/> <t Arget dev= ' tapf761b1bc-25 '/> <model type= ' virtio '/> <address type= ' pci ' domain= ' 0x0000 ' bus= ' 0x00 ' s lot= ' 0x03 ' function= ' 0x0 '/> </interface> <serial type= ' file ' > <source path= '/var/lib/nova/ins Tances/e7585ece-c8e9-4ad8-8796-8a58bca459bf/console.log '/> <target type= ' isa-serial ' port= ' 0 ' > <mo Del name= ' isa-serial '/> </target> </serial> <serial type= ' pty ' > <target type= ' isa-serial ' port= ' 1 ' > < Model name= ' isa-serial '/> </target> </serial> <console type= ' file ' > <source path= ' /var/lib/nova/instances/e7585ece-c8e9-4ad8-8796-8a58bca459bf/console.log '/> <target type= ' serial ' port= ' 0 '/ > </console> <input type= ' tablet ' bus= ' USB ' > <address type= ' usb ' bus= ' 0 ' port= ' 1 '/> < ;/input> <input type= ' mouse ' bus= ' ps2 '/> <input type= ' keyboard ' bus= ' ps2 '/> <graphics type= ' VNC ' Port= '-1 ' autoport= ' yes ' listen= ' 0.0.0.0 ' keymap= ' en-US ' > <listen type= ' address ' address= ' 0.0.0.0 '/> &l t;/graphics> <video> <model type= ' Cirrus ' vram= ' 16384 ' heads= ' 1 ' primary= ' yes '/> <address t Ype= ' PCI ' domain= ' 0x0000 ' bus= ' 0x00 ' slot= ' 0x02 ' function= ' 0x0 '/> </video> <memballoon model= ' Virtio ' ; <stats perIod= '/> <address type= ' pci ' domain= ' 0x0000 ' bus= ' 0x00 ' slot= ' 0x05 ' function= ' 0x0 '/> </memballoon> ; </devices></domain>
OpenStack Network classification:
Public network: Want to provide access to tenants or API calls
Manage networks: Communication between physical machines in the cloud
Storage networks: Networks stored in the cloud, such as iSCSI or Glusterfs use
Service Network: The network used within the virtual machine
Single Flat Network:
OpenStack Neutron:
Openstack-liberty Edition Network introduction (eight)