The installation of the Openvswitch on Ubuntu brings an automatic integration into the boot sequence. When Ubuntu is booted, the Openvswitch is also started. Any bridge or port, which has been defined in previous sessions, is restored. BUT: No L3 interfaces are set up, junk interfaces, which have been defined in previous sessions, are restored. […]
OpenStack Liberty Neutron Deployment (Part 7 start a VM in a FLAT network)
Now it is time to start a VM and attach it to one of the flat networks. This is really easy, as there is no need for the tenant to provision networks, subnets, routers and floating IPs to use them. The flat networks have been allocated by the cloud admin and have the attribute shared. […]
OpenStack Liberty Neutron Deployment (Part 6 start a VM in the tenant defined network)
Now it is time to start a VM. Up to now, no DHCP server is running for the tenant’s network n1.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# # first we need the ID of the image to be used # glance image-list +--------------------------------------+-----------------------+-------------+------------------+-----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+-----------------------+-------------+------------------+-----------+--------+ | a13badd0-28a6-4d2a-a05b-7c064b747b7e | Cirros 64 Bit | qcow2 | bare | 13167616 | active | +--------------------------------------+-----------------------+-------------+------------------+-----------+--------+ # # get the network ID for the nic # neutron net-list | grep -w n1 +--------------------------------------+---------------------+------------------------------------------------------+ | id | name | subnets | +--------------------------------------+---------------------+------------------------------------------------------+ | 53fa05ef-9a39-4c30-825f-485bf9480388 | n1 | a107c408-08e2-4158-b75b-4ed74abc4e18 192.168.1.0/24 | +--------------------------------------+---------------------+------------------------------------------------------+ # # list the flavors # nova flavor-list +----+------------+-----------+------+-----------+------+-------+-------------+-----------+ | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | +----+------------+-----------+------+-----------+------+-------+-------------+-----------+ | 30 | Cirros | 256 | 1 | 0 | | 1 | 1.0 | True | +----+------------+-----------+------+-----------+------+-------+-------------+-----------+ # # now boot the VM # nova boot --image a13badd0-28a6-4d2a-a05b-7c064b747b7e --flavor Cirros --nic net-id=53fa05ef-9a39-4c30-825f-485bf9480388 testvm1 |
After starting the VM, the set up looks like: The following components have been configured: On the network node: neutron starts a DHCP server on the network node to provide a DHCP service […]