I want to set an IpAddress on one of my OpenVSwitch interface. I follow the following procedure.
link1= net.addLink(s1,s2,port1 =1, port2 =1)
link1.intf1.setIP("10.0.1.0/31")
link1.intf2.setIP("10.0.1.1/31")
However, the changes do not reflect. Moreover, the interface doesn't activate and can't be seen in ovsdb-server port table. The MAC address can be correctly set by this procedure though.
Can you please advice me on what I am doing wrong. I am getting a feeling that setting an IP address on OVS interface is not advised.
Thanks