This page explains the arguments used by the
vnctl interfaces add command in the Single network) guide.
vnctl interfaces add \ --uuid if-inst1 \ --mode vif \ --owner-datapath-uuid dp-test1 \ --mac-address 10:54:ff:00:00:01 \ --network-uuid nw-test1 \ --ipv4-address 10.100.0.10 \ --port-name inst1
A unique ID that will be used to refer to this interface.
The mode of the interface. An entry with
vif mode is basically means that this is a network interface that will be connected to one of OpenVNet's virtual networks.
The UUID of the datapath to which this interface will be connected. We created this datapath back in the installation guide.
The MAC address of the network interface of the virtual machine.
The UUID of the virtual network to participate
The IPv4 address which will be assigned to the network interface.
Typically there are multiple network interfaces connected to Open vSwitch. OpenVNet needs to know which one we are describing here. That's where
port-name comes in. This needs to be the same as this interface's port name on Open vSwitch. You can see the ports currently connected to Open vSwitch by running