Verifying OpenStack Deployment

Getting Started with Napatech Link-Virtualization™ Software

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

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

About this task

This procedure is an example of creating and running VXLAN/VLAN tunneled VMs with OpenStack after deployment is complete.


  1. On the director node, create an OpenStack network.
    Source the overcloudrc file to access the overcloud services.
    source /home/stack/overcloudrc
    An output example:
    (undercloud) [stack@director ~]$ source /home/stack/overcloudrc
    (overcloud) [stack@director ~]$
    Run the following commands to create an OpenStack network.
    #Create the image
    openstack image create --disk-format qcow2 --container-format bare --public \
    --file ./Fedora-Cloud-Base-33-1.2.x86_64.qcow2 fedora_cloud_qcow
    #Create flavor with huge pages
    openstack flavor create --public medium --id 1 --ram 4096 --disk 10 --vcpus 1
    openstack flavor set medium --property hw:mem_page_size=large
    #Create a network
    openstack network create net1 --disable-port-security
    #Create a subnet
    openstack subnet create subnet1 --network net1 --subnet-range
    #Create a Router
    openstack router create router1
    #Attach the subnet to the router
    openstack router add subnet router1 subnet1
  2. Create an Openstack port and a VM.
    #Create a port
    openstack port create --network net1 --fixed-ip subnet=subnet1,ip-address=<VM IP> \
    --vnic-type virtio-forwarder <port_name>
    #Create a VM
    openstack server create --flavor medium --image fedora_cloud_qcow --availability-zone \
    ::<compute_node_host_name> --port <port_name> <vm_name>
    where:compute_node_host_name is the FQDN of a compute node.
    Note: Run the following command in compute nodes to check the FQDN.
    host --fqdn
    For example:
    openstack port create --network net1 --fixed-ip subnet=subnet1,ip-address= \
    --vnic-type virtio-forwarder port10
    openstack server create --flavor medium --image fedora_cloud_qcow --availability-zone \
    ::overcloud-computeovsdpdk-0.localdomain --port port10 vm1
    See the status.
    openstack server show vm1 -f json
  3. Log in to compute node 0 and access the VM.
    Check the IP addresses of the compute nodes.
    source /home/stack/stackrc
    openstack server list
    Access the node. For example:
    ssh root@
  4. Log in to the VM.
    Attach to the Podman container. You can access the VM from the container as the libvirt process runs inside container.
    podman exec -ti nova_libvirt bash
    virsh list
    An output example:
     Id   Name                State
     1    instance-00000001   running
    Access the VM.
    virsh console <vm_id>
    For example:
    virsh console  instance-00000001
  5. Ping from one VM to another VM.
    For example:
  6. Test with traffic between multiple VM guests using iperf3.
    # On one VM
    iperf3 -s
    # On another VM
    iperf3 -c <iperf3_server_VM_IP>