Configuring OVSDB with Netvisor ONE
There are a number of steps required to configure OVSDB using Netvisor ONE.
1. Configure the vNET with the number of private VLANs, VXLANs, and managed ports:
CLI network-admin@switch > vnet-create name name-string vlans vlan-range num-private-vlans integer vxlans vxlan-id managed-ports port-list
2. Configure the underlay network:
CLI network-admin@switch > vrouter-create name-string vnet name-string router type hardware
CLI network-admin@switch > vrouter-interface-add vrouter-name name-string vlan vlan-id ip ip-address netmask netmask
3. Configure the tunnel:
CLI network-admin@switch > vnet-tunnel-network-add name name-string network ip-address netmask netmask
CLI network-admin@switch > trunk-modify name name-string trunk-id trunk-id port port-list
4. Create the SSL/TLS certificate:
CLI network-admin@switch > cert-create name name-string country country-string state state-string city city-string organization organization-string organizational-unit organizational-unit-string common-name common-name-string container zone name-string
5. Configure OVSDB:
CLI network-admin@switch > openvswitch-create name name-string vnet name-string global-vtep tunnel-ip ip-address dedicated-service cert-name name-string
CLI network-admin@switch > openvswitch-interface-add ovs-name name-string ip ip-address netmask netmask if data|mgmt vlan vlan-id
Configuring the interface as data or management depends on the location of the controller, on the data network or the management network.
If the controller is on a Layer 3 network several hops away, use openvswitch-modify to configure a gateway IP address. This is required in order for the configuration to work properly.
6. Add the hardware VTEP manager:
CLI network-admin@switch > opensvswitch-hwvtep-manager-add name name-string manager-type odl|nsx connection-method ssl ip ip-address username username-string password password-string port port-number
A VXLAN tunnel automatically establishes between the local and remote hardware and software VTEPs.
If you connects to VMware NSX controllers, you must use SSL or TLS to securely connect with the hardware VTEP.