[ovs-dev] Creation of network using ovs in Docker

Sandeep Adapala sandeepadapala11 at gmail.com
Mon Jul 9 16:33:00 UTC 2018


Hello All,

I am planning to have 2 containers talk to each other using ovs-dpdk
interface on a same host. this is how I started installing OVN on Docker.

http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode

I was trying to create a network using docker but I get the same error
every time not sure what I am doing wrong can you please help me out.


NID=`sudo docker network create -d openvswitch --subnet=192.168.1.0/24 foo`
Error response from daemon: remote: create_network: lswitch-add Fatal error
executing ['ovn-nbctl', '--timeout=5', '-vconsole:off', '--db=tcp:
192.168.14.33:6642', 'lswitch-add', u'6caabc22601b17134a4c54cc33be18
fcf3653377be99609969cc971c5f749db7', '--', 'set', 'Logical_Switch', u'
6caabc22601b17134a4c54cc33be18fcf3653377be99609969cc971c5f749db7',
u'external_ids:subnet=192.168.1.0/24', u'external_ids:gateway_ip=192.
168.1.1']


Regards,
Sandeep


More information about the dev mailing list