Create Bridges for Each Tenant

Getting Started with Napatech Link-Virtualization™ Software

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

Before you begin

Make sure that you have completed the steps in Running OVS-DPDK

Procedure

List and delete any existing bridges. Create the OVS integration bridge for each tenant:
Note: The OVS integration bridge is a switch that is usually managed by the tenant and to which VMs are directly connected.
#
# Tenant A
#
ovs-vsctl --if-exists del-br tenantA

ovs-vsctl add-br tenantA -- set bridge tenantA datapath_type=netdev
ovs-vsctl add-port tenantA dpdkvp0 -- set interface dpdkvp0 type=dpdk \
  options:dpdk-devargs=eth_ntvp0 

# Add tunnel port
ovs-vsctl add-port tenantA vx1 -- set interface vx1 type=vxlan \
  options:remote_ip=172.16.1.2 options:key=100

#
# Tenant B
#
ovs-vsctl --if-exists del-br tenantB

ovs-vsctl add-br tenantB -- set bridge tenantB datapath_type=netdev
ovs-vsctl add-port tenantB dpdkvp1 -- set interface dpdkvp1 type=dpdk \
  options:dpdk-devargs=eth_ntvp1 

# Add tunnel port
ovs-vsctl add-port tenantB vx2 -- set interface vx2 type=vxlan \
  options:remote_ip=172.16.1.2 options:key=200