Create a VM Using the Port

Procedure

Create a virtual machine using the port.
# openstack server create --flavor ds512M --availability-zone nova:Compute-1 --image xenial-server-amd64 --nic port-id=sriov_port sriov_vm
 
# ip link add link ens4 name ens4.2016 type vlan id 2016  sudo dhclient ens4.2016

# sudo dhclient ens4.2016