In this example, an instance will be created with the following characteristics:
- Name: TestInstance1
- Flavor: tiny
- Image: cirros-0.4.0
- Network: MyVLANNetwork
- Compute Node: compute01
The command to create the instance is as follows:
openstack server create \ --image cirros-0.4.0 \ --flavor tiny \--nic net-id=MyVLANNetwork \--availability-zone nova:compute01 \TestInstance1
To observe the instance requesting a DHCP lease, start a packet capture within the DHCP network namespace that corresponds to the instance's network using the following command:
ip netns exec <namespace> tcpdump -i any -ne ...