Verifying OpenStack Installation on a Single Node

Getting Started with Napatech Link-Virtualization™ Software

Platform
Napatech SmartNIC
Content Type
Getting Started Guide
Capture Software Version
Link-Virtualization™ Software 4.4

This shows how to access VM instances and perform traffic test after the OpenStack deployment is complete.

About this task

This procedure is an example of accessing VMs to test and verify the OpenStack installation after the installation is complete.

Procedure

  1. List the VMs using virsh.
    virsh list --all
    An output example:
     Id   Name                State
    -----------------------------------
     1    instance-00000001   running
     2    instance-00000002   running
  2. Access the VMs.
    virsh console <VM instance name>
  3. Compare the MAC addresses of the ports on the host and on the VMs.
    Execute the following command on the host to get the MAC address of a port.
    openstack port show <port_name> | grep mac_address
    For example:
    openstack port show port10 | grep mac_address
    An output example:
    | mac_address             | fa:16:3e:e8:6c:42 
    Note: The following command must be executed to enable the openstack commands when a new terminal is opened.
    source keystonerc_admin
    Check the MAC address on each VM. For example:
    ip a
    Note: If the IP address is not assigned, configure manually.
    ip a add <ip>/<netmask> dev eth0
    For example:
    ip a add 192.168.1.10/24 dev eth0

    Two VMs should now be connectable via ping.

  4. Test with traffic between two VMs using iperf3.
    For example:
    # Start iperf3 as a server on one VM
    iperf3 -s
    
    # Start bandwidth test on another VM
    iperf3 -c 192.168.1.X

    where X is the last field of the iperf3 server IP address.