[openstack-dev] [Openstack] [nova] [os-vif] [vif_plug_ovs] Support for OVS DB tcp socket communication.

pranab boruah pranabjyotiboruah at gmail.com
Wed Jul 25 09:52:27 UTC 2018

Hello folks,

I have filed a bug in os-vif:
https://bugs.launchpad.net/os-vif/+bug/1778724 and
working on a patch. Any feedback/comments from you guys would be extremely

Bug details:

OVS DB server has the feature of listening over a TCP socket for
connections rather than just on the unix domain socket. [0]

If the OVS DB server is listening over a TCP socket, then the ovs-vsctl
commands should include the ovsdb_connection parameter:
# ovs-vsctl --db=tcp:IP:PORT ...
# ovs-vsctl --db=tcp: add-port br-int eth0

Neutron supports running the ovs-vsctl commands with the ovsdb_connection
parameter. The ovsdb_connection parameter is configured in
openvswitch_agent.ini file. [1]

While adding a vif to the ovs bridge(br-int), Nova(os-vif) invokes the
ovs-vsctl command. Today, there is no support to pass the ovsdb_connection
parameter while invoking the ovs-vsctl command. The support should be
added. This would enhance the functionality of os-vif, since it would
support a scenario when OVS DB server is listening on a TCP socket
connection and on functional parity with Neutron.

[0] http://www.openvswitch.org/support/dist-docs/ovsdb-server.1.html
[1] https://docs.openstack.org/neutron/pike/configuration
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180725/43de6b01/attachment.html>

More information about the OpenStack-dev mailing list