Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-08-01 Thread Sandeep Adapala
Hello Guru,

After much trouble I was finally able to finish the task. Thanks for all
the help.

Here is what I did.


Regards,
Sandeep

On Thu, Jul 26, 2018 at 2:14 PM, Sandeep Adapala  wrote:

> thanks a lot Guru you have been great help let me try this.
>
> On Thu, Jul 26, 2018 at 2:03 PM, Guru Shetty  wrote:
>
>> I have a 2 node vagrant scripts in a private repo that I use to test the
>> Docker integration with OVN here: https://github.com/shett
>> yg/ovn-docker/tree/master/vagrant_overlay
>>
>> I tested this again today with OVS 2.9.2 and the latest docker and it
>> passes my sanity tests. If you have a mac and virtualbox, it should
>> probably be as simple as "vagrant up". Otherwise, you can look
>> at consul-server.sh, consul-client.sh, install-docker.sh
>> and install-ovn.sh on a ubuntu to reproduce the environment.
>>
>> On 26 July 2018 at 10:45, Sandeep Adapala 
>> wrote:
>>
>>> After building the ovs also I get the same error Guru.
>>>
>>>
>>>
>>> On Wed, Jul 25, 2018 at 4:15 PM, Sandeep Adapala <
>>> sandeepadapal...@gmail.com> wrote:
>>>
 After installing openvswitch-switch-dpdk I am getting this error.

 WARN[0041] Unable to locate plugin: openvswitch, retrying in 1s
 WARN[0042] Unable to locate plugin: openvswitch, retrying in 2s
 WARN[0044] Unable to locate plugin: openvswitch, retrying in 4s
 WARN[0048] Unable to locate plugin: openvswitch, retrying in 8s
 ERRO[0056] Handler for POST /v1.27/networks/create returned error: legacy 
 plugin: plugin not found


 On Wed, Jul 25, 2018 at 4:13 PM, Sandeep Adapala <
 sandeepadapal...@gmail.com> wrote:

> Hello Guru,
>
> I am using sudo apt install openvswitch-switch-dpdk as suggested by
> the website. So it installed 2.5.4 by default. Do you want me to build and
> install OVS?
>
> https://software.intel.com/en-us/articles/using-docker-conta
> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710
>
> Regards,
> Sandeep
>
> On Wed, Jul 25, 2018 at 1:28 PM, Guru Shetty  wrote:
>
>> We had talked about using OVS 2.9, right? Are you using that?
>>
>> On 25 July 2018 at 08:51, Sandeep Adapala > > wrote:
>>
>>> Hello Guru,
>>>
>>> I think OVS doesn't like me at all :) every step I am facing a issue.
>>>
>>> this time when I tried to create a docker network on OVS (*sudo
>>> docker network create -d openvswitch --subnet=192.168.22.0/24
>>>  ovs*) it failed and I got this error in
>>> Docker log
>>>
>>> *ERRO[2717] Handler for POST /v1.27/networks/create returned error: 
>>> remote: create_network: lswitch-add Fatal error executing ['ovn-nbctl', 
>>> '--timeout=5', '-vconsole:off', '--db=tcp:192.168.14.33:6642 
>>> ', 'lswitch-add', 
>>> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
>>> '--', 'set', 'Logical_Switch', 
>>> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
>>> u'external_ids:subnet=192.168.22.0/24 ', 
>>> u'external_ids:gateway_ip=192.168.22.1'] *
>>>
>>>
>>>
>>> Regards,
>>> Sandeep
>>>
>>> On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty  wrote:
>>>
 Yes.

 On 23 July 2018 at 13:43, Sandeep Adapala <
 sandeepadapal...@gmail.com> wrote:

> So you are saying just do the overlay part in this doc ?
> http://docs.openvswitch.org/en/latest/howto/docker/#the-over
> lay-mode
>
> On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:
>
>> May I suggest that you get OVN working with containers without
>> DPDK first? Once you are confident about what needs to be done for 
>> OVN, you
>> can concentrate more on DPDK.
>>
>> On 23 July 2018 at 13:15, Sandeep Adapala <
>> sandeepadapal...@gmail.com> wrote:
>>
>>> I have configured the grub as
>>>
>>> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
>>> hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>>>
>>>
>>> I didn't isolate any cores so if I want to use core 2 or 3 what 
>>> will be the dpdk-lcore-mask and pod-cpu-mask?
>>>
>>>
>>> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
>>> sandeepadapal...@gmail.com> wrote:
>>>
 I have tried that already Guru but I got the same error always.
 Let me ask one more question.

 What do I need to configure here?

 sudo ovs-vsctl -no-wait set Open_vSwitch .
 other_config:dpdk-lcore-mask=0xfbe.
 sudo ovs-vsctl -no-wait set Open_vSwitch .
 other_config:dpdk-socket-mem="1024,1024"
 sudo ovs-vsctl set Open_vSwitch . 

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-26 Thread Sandeep Adapala
thanks a lot Guru you have been great help let me try this.

On Thu, Jul 26, 2018 at 2:03 PM, Guru Shetty  wrote:

> I have a 2 node vagrant scripts in a private repo that I use to test the
> Docker integration with OVN here: https://github.com/
> shettyg/ovn-docker/tree/master/vagrant_overlay
>
> I tested this again today with OVS 2.9.2 and the latest docker and it
> passes my sanity tests. If you have a mac and virtualbox, it should
> probably be as simple as "vagrant up". Otherwise, you can look
> at consul-server.sh, consul-client.sh, install-docker.sh
> and install-ovn.sh on a ubuntu to reproduce the environment.
>
> On 26 July 2018 at 10:45, Sandeep Adapala 
> wrote:
>
>> After building the ovs also I get the same error Guru.
>>
>>
>>
>> On Wed, Jul 25, 2018 at 4:15 PM, Sandeep Adapala <
>> sandeepadapal...@gmail.com> wrote:
>>
>>> After installing openvswitch-switch-dpdk I am getting this error.
>>>
>>> WARN[0041] Unable to locate plugin: openvswitch, retrying in 1s
>>> WARN[0042] Unable to locate plugin: openvswitch, retrying in 2s
>>> WARN[0044] Unable to locate plugin: openvswitch, retrying in 4s
>>> WARN[0048] Unable to locate plugin: openvswitch, retrying in 8s
>>> ERRO[0056] Handler for POST /v1.27/networks/create returned error: legacy 
>>> plugin: plugin not found
>>>
>>>
>>> On Wed, Jul 25, 2018 at 4:13 PM, Sandeep Adapala <
>>> sandeepadapal...@gmail.com> wrote:
>>>
 Hello Guru,

 I am using sudo apt install openvswitch-switch-dpdk as suggested by
 the website. So it installed 2.5.4 by default. Do you want me to build and
 install OVS?

 https://software.intel.com/en-us/articles/using-docker-conta
 iners-with-open-vswitch-and-dpdk-on-ubuntu-1710

 Regards,
 Sandeep

 On Wed, Jul 25, 2018 at 1:28 PM, Guru Shetty  wrote:

> We had talked about using OVS 2.9, right? Are you using that?
>
> On 25 July 2018 at 08:51, Sandeep Adapala 
> wrote:
>
>> Hello Guru,
>>
>> I think OVS doesn't like me at all :) every step I am facing a issue.
>>
>> this time when I tried to create a docker network on OVS (*sudo
>> docker network create -d openvswitch --subnet=192.168.22.0/24
>>  ovs*) it failed and I got this error in
>> Docker log
>>
>> *ERRO[2717] Handler for POST /v1.27/networks/create returned error: 
>> remote: create_network: lswitch-add Fatal error executing ['ovn-nbctl', 
>> '--timeout=5', '-vconsole:off', '--db=tcp:192.168.14.33:6642 
>> ', 'lswitch-add', 
>> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
>> '--', 'set', 'Logical_Switch', 
>> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
>> u'external_ids:subnet=192.168.22.0/24 ', 
>> u'external_ids:gateway_ip=192.168.22.1'] *
>>
>>
>>
>> Regards,
>> Sandeep
>>
>> On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty  wrote:
>>
>>> Yes.
>>>
>>> On 23 July 2018 at 13:43, Sandeep Adapala <
>>> sandeepadapal...@gmail.com> wrote:
>>>
 So you are saying just do the overlay part in this doc ?
 http://docs.openvswitch.org/en/latest/howto/docker/#the-over
 lay-mode

 On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:

> May I suggest that you get OVN working with containers without
> DPDK first? Once you are confident about what needs to be done for 
> OVN, you
> can concentrate more on DPDK.
>
> On 23 July 2018 at 13:15, Sandeep Adapala <
> sandeepadapal...@gmail.com> wrote:
>
>> I have configured the grub as
>>
>> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
>> hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>>
>>
>> I didn't isolate any cores so if I want to use core 2 or 3 what will 
>> be the dpdk-lcore-mask and pod-cpu-mask?
>>
>>
>> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
>> sandeepadapal...@gmail.com> wrote:
>>
>>> I have tried that already Guru but I got the same error always.
>>> Let me ask one more question.
>>>
>>> What do I need to configure here?
>>>
>>> sudo ovs-vsctl -no-wait set Open_vSwitch .
>>> other_config:dpdk-lcore-mask=0xfbe.
>>> sudo ovs-vsctl -no-wait set Open_vSwitch .
>>> other_config:dpdk-socket-mem="1024,1024"
>>> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x80
>>> 0002
>>>
>>>
>>> I am very new to ovs so I am still learning things. So can you
>>> explain me what I should configure in lcore-mask and cpu-mask
>>>
>>> I have a 28 core with 10G intel NIC's
>>>
>>> Regards

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-26 Thread Guru Shetty
I have a 2 node vagrant scripts in a private repo that I use to test the
Docker integration with OVN here:
https://github.com/shettyg/ovn-docker/tree/master/vagrant_overlay

I tested this again today with OVS 2.9.2 and the latest docker and it
passes my sanity tests. If you have a mac and virtualbox, it should
probably be as simple as "vagrant up". Otherwise, you can look
at consul-server.sh, consul-client.sh, install-docker.sh and install-ovn.sh
on a ubuntu to reproduce the environment.

On 26 July 2018 at 10:45, Sandeep Adapala 
wrote:

> After building the ovs also I get the same error Guru.
>
>
>
> On Wed, Jul 25, 2018 at 4:15 PM, Sandeep Adapala <
> sandeepadapal...@gmail.com> wrote:
>
>> After installing openvswitch-switch-dpdk I am getting this error.
>>
>> WARN[0041] Unable to locate plugin: openvswitch, retrying in 1s
>> WARN[0042] Unable to locate plugin: openvswitch, retrying in 2s
>> WARN[0044] Unable to locate plugin: openvswitch, retrying in 4s
>> WARN[0048] Unable to locate plugin: openvswitch, retrying in 8s
>> ERRO[0056] Handler for POST /v1.27/networks/create returned error: legacy 
>> plugin: plugin not found
>>
>>
>> On Wed, Jul 25, 2018 at 4:13 PM, Sandeep Adapala <
>> sandeepadapal...@gmail.com> wrote:
>>
>>> Hello Guru,
>>>
>>> I am using sudo apt install openvswitch-switch-dpdk as suggested by the
>>> website. So it installed 2.5.4 by default. Do you want me to build and
>>> install OVS?
>>>
>>> https://software.intel.com/en-us/articles/using-docker-conta
>>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710
>>>
>>> Regards,
>>> Sandeep
>>>
>>> On Wed, Jul 25, 2018 at 1:28 PM, Guru Shetty  wrote:
>>>
 We had talked about using OVS 2.9, right? Are you using that?

 On 25 July 2018 at 08:51, Sandeep Adapala 
 wrote:

> Hello Guru,
>
> I think OVS doesn't like me at all :) every step I am facing a issue.
>
> this time when I tried to create a docker network on OVS (*sudo
> docker network create -d openvswitch --subnet=192.168.22.0/24
>  ovs*) it failed and I got this error in
> Docker log
>
> *ERRO[2717] Handler for POST /v1.27/networks/create returned error: 
> remote: create_network: lswitch-add Fatal error executing ['ovn-nbctl', 
> '--timeout=5', '-vconsole:off', '--db=tcp:192.168.14.33:6642 
> ', 'lswitch-add', 
> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
> '--', 'set', 'Logical_Switch', 
> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
> u'external_ids:subnet=192.168.22.0/24 ', 
> u'external_ids:gateway_ip=192.168.22.1'] *
>
>
>
> Regards,
> Sandeep
>
> On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty  wrote:
>
>> Yes.
>>
>> On 23 July 2018 at 13:43, Sandeep Adapala > > wrote:
>>
>>> So you are saying just do the overlay part in this doc ?
>>> http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode
>>>
>>> On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:
>>>
 May I suggest that you get OVN working with containers without DPDK
 first? Once you are confident about what needs to be done for OVN, you 
 can
 concentrate more on DPDK.

 On 23 July 2018 at 13:15, Sandeep Adapala <
 sandeepadapal...@gmail.com> wrote:

> I have configured the grub as
>
> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
> hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>
>
> I didn't isolate any cores so if I want to use core 2 or 3 what will 
> be the dpdk-lcore-mask and pod-cpu-mask?
>
>
> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
> sandeepadapal...@gmail.com> wrote:
>
>> I have tried that already Guru but I got the same error always.
>> Let me ask one more question.
>>
>> What do I need to configure here?
>>
>> sudo ovs-vsctl -no-wait set Open_vSwitch .
>> other_config:dpdk-lcore-mask=0xfbe.
>> sudo ovs-vsctl -no-wait set Open_vSwitch .
>> other_config:dpdk-socket-mem="1024,1024"
>> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x80
>> 0002
>>
>>
>> I am very new to ovs so I am still learning things. So can you
>> explain me what I should configure in lcore-mask and cpu-mask
>>
>> I have a 28 core with 10G intel NIC's
>>
>> Regards
>> Sandeep
>>
>> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty 
>> wrote:
>>
>>> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And
>>> this should be the IP of your host.
>>> 2. ENCAP_TYPE="geneve".
>>>
>>> 

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-26 Thread Sandeep Adapala
After building the ovs also I get the same error Guru.



On Wed, Jul 25, 2018 at 4:15 PM, Sandeep Adapala  wrote:

> After installing openvswitch-switch-dpdk I am getting this error.
>
> WARN[0041] Unable to locate plugin: openvswitch, retrying in 1s
> WARN[0042] Unable to locate plugin: openvswitch, retrying in 2s
> WARN[0044] Unable to locate plugin: openvswitch, retrying in 4s
> WARN[0048] Unable to locate plugin: openvswitch, retrying in 8s
> ERRO[0056] Handler for POST /v1.27/networks/create returned error: legacy 
> plugin: plugin not found
>
>
> On Wed, Jul 25, 2018 at 4:13 PM, Sandeep Adapala <
> sandeepadapal...@gmail.com> wrote:
>
>> Hello Guru,
>>
>> I am using sudo apt install openvswitch-switch-dpdk as suggested by the
>> website. So it installed 2.5.4 by default. Do you want me to build and
>> install OVS?
>>
>> https://software.intel.com/en-us/articles/using-docker-conta
>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710
>>
>> Regards,
>> Sandeep
>>
>> On Wed, Jul 25, 2018 at 1:28 PM, Guru Shetty  wrote:
>>
>>> We had talked about using OVS 2.9, right? Are you using that?
>>>
>>> On 25 July 2018 at 08:51, Sandeep Adapala 
>>> wrote:
>>>
 Hello Guru,

 I think OVS doesn't like me at all :) every step I am facing a issue.

 this time when I tried to create a docker network on OVS (*sudo docker
 network create -d openvswitch --subnet=192.168.22.0/24
  ovs*) it failed and I got this error in
 Docker log

 *ERRO[2717] Handler for POST /v1.27/networks/create returned error: 
 remote: create_network: lswitch-add Fatal error executing ['ovn-nbctl', 
 '--timeout=5', '-vconsole:off', '--db=tcp:192.168.14.33:6642 
 ', 'lswitch-add', 
 u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', '--', 
 'set', 'Logical_Switch', 
 u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
 u'external_ids:subnet=192.168.22.0/24 ', 
 u'external_ids:gateway_ip=192.168.22.1'] *



 Regards,
 Sandeep

 On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty  wrote:

> Yes.
>
> On 23 July 2018 at 13:43, Sandeep Adapala 
> wrote:
>
>> So you are saying just do the overlay part in this doc ?
>> http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode
>>
>> On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:
>>
>>> May I suggest that you get OVN working with containers without DPDK
>>> first? Once you are confident about what needs to be done for OVN, you 
>>> can
>>> concentrate more on DPDK.
>>>
>>> On 23 July 2018 at 13:15, Sandeep Adapala <
>>> sandeepadapal...@gmail.com> wrote:
>>>
 I have configured the grub as

 GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
 hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"


 I didn't isolate any cores so if I want to use core 2 or 3 what will 
 be the dpdk-lcore-mask and pod-cpu-mask?


 On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
 sandeepadapal...@gmail.com> wrote:

> I have tried that already Guru but I got the same error always.
> Let me ask one more question.
>
> What do I need to configure here?
>
> sudo ovs-vsctl -no-wait set Open_vSwitch .
> other_config:dpdk-lcore-mask=0xfbe.
> sudo ovs-vsctl -no-wait set Open_vSwitch .
> other_config:dpdk-socket-mem="1024,1024"
> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x80
> 0002
>
>
> I am very new to ovs so I am still learning things. So can you
> explain me what I should configure in lcore-mask and cpu-mask
>
> I have a 28 core with 10G intel NIC's
>
> Regards
> Sandeep
>
> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:
>
>> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And
>> this should be the IP of your host.
>> 2. ENCAP_TYPE="geneve".
>>
>> On 23 July 2018 at 12:41, Sandeep Adapala <
>> sandeepadapal...@gmail.com> wrote:
>>
>>> Hello All,
>>>
>>> I am trying to use this doc to setup the containers using
>>> OVS-DPDK (
>>> https://software.intel.com/en-us/articles/using-docker-conta
>>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
>>> but when I try to configure the ovs on overlay mode I am little
>>> confused on
>>> this configuration. I don't have a remote server I want
>>> everything to be
>>> installed in same server. so can you please help me out what
>>> should I
>>> remove and replace in the below config

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-25 Thread Sandeep Adapala
After installing openvswitch-switch-dpdk I am getting this error.

WARN[0041] Unable to locate plugin: openvswitch, retrying in 1s
WARN[0042] Unable to locate plugin: openvswitch, retrying in 2s
WARN[0044] Unable to locate plugin: openvswitch, retrying in 4s
WARN[0048] Unable to locate plugin: openvswitch, retrying in 8s
ERRO[0056] Handler for POST /v1.27/networks/create returned error:
legacy plugin: plugin not found


On Wed, Jul 25, 2018 at 4:13 PM, Sandeep Adapala  wrote:

> Hello Guru,
>
> I am using sudo apt install openvswitch-switch-dpdk as suggested by the
> website. So it installed 2.5.4 by default. Do you want me to build and
> install OVS?
>
> https://software.intel.com/en-us/articles/using-docker-
> containers-with-open-vswitch-and-dpdk-on-ubuntu-1710
>
> Regards,
> Sandeep
>
> On Wed, Jul 25, 2018 at 1:28 PM, Guru Shetty  wrote:
>
>> We had talked about using OVS 2.9, right? Are you using that?
>>
>> On 25 July 2018 at 08:51, Sandeep Adapala 
>> wrote:
>>
>>> Hello Guru,
>>>
>>> I think OVS doesn't like me at all :) every step I am facing a issue.
>>>
>>> this time when I tried to create a docker network on OVS (*sudo docker
>>> network create -d openvswitch --subnet=192.168.22.0/24
>>>  ovs*) it failed and I got this error in Docker
>>> log
>>>
>>> *ERRO[2717] Handler for POST /v1.27/networks/create returned error: remote: 
>>> create_network: lswitch-add Fatal error executing ['ovn-nbctl', 
>>> '--timeout=5', '-vconsole:off', '--db=tcp:192.168.14.33:6642 
>>> ', 'lswitch-add', 
>>> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', '--', 
>>> 'set', 'Logical_Switch', 
>>> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
>>> u'external_ids:subnet=192.168.22.0/24 ', 
>>> u'external_ids:gateway_ip=192.168.22.1'] *
>>>
>>>
>>>
>>> Regards,
>>> Sandeep
>>>
>>> On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty  wrote:
>>>
 Yes.

 On 23 July 2018 at 13:43, Sandeep Adapala 
 wrote:

> So you are saying just do the overlay part in this doc ?
> http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode
>
> On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:
>
>> May I suggest that you get OVN working with containers without DPDK
>> first? Once you are confident about what needs to be done for OVN, you 
>> can
>> concentrate more on DPDK.
>>
>> On 23 July 2018 at 13:15, Sandeep Adapala > > wrote:
>>
>>> I have configured the grub as
>>>
>>> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
>>> hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>>>
>>>
>>> I didn't isolate any cores so if I want to use core 2 or 3 what will be 
>>> the dpdk-lcore-mask and pod-cpu-mask?
>>>
>>>
>>> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
>>> sandeepadapal...@gmail.com> wrote:
>>>
 I have tried that already Guru but I got the same error always. Let
 me ask one more question.

 What do I need to configure here?

 sudo ovs-vsctl -no-wait set Open_vSwitch .
 other_config:dpdk-lcore-mask=0xfbe.
 sudo ovs-vsctl -no-wait set Open_vSwitch .
 other_config:dpdk-socket-mem="1024,1024"
 sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x80
 0002


 I am very new to ovs so I am still learning things. So can you
 explain me what I should configure in lcore-mask and cpu-mask

 I have a 28 core with 10G intel NIC's

 Regards
 Sandeep

 On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:

> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And
> this should be the IP of your host.
> 2. ENCAP_TYPE="geneve".
>
> On 23 July 2018 at 12:41, Sandeep Adapala <
> sandeepadapal...@gmail.com> wrote:
>
>> Hello All,
>>
>> I am trying to use this doc to setup the containers using
>> OVS-DPDK (
>> https://software.intel.com/en-us/articles/using-docker-conta
>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
>> but when I try to configure the ovs on overlay mode I am little
>> confused on
>> this configuration. I don't have a remote server I want
>> everything to be
>> installed in same server. so can you please help me out what
>> should I
>> remove and replace in the below config
>>
>> ovs-vsctl set Open_vSwitch . \
>> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
>> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
>> external_ids:ovn-encap-ip=$LOCAL_IP \
>> external_ids:ovn-encap-type="$ENCAP_TYPE"
>>
>>
>> like 

Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-25 Thread Sandeep Adapala
Hello Guru,

I am using sudo apt install openvswitch-switch-dpdk as suggested by the
website. So it installed 2.5.4 by default. Do you want me to build and
install OVS?

https://software.intel.com/en-us/articles/using-docker-containers-with-open-vswitch-and-dpdk-on-ubuntu-1710

Regards,
Sandeep

On Wed, Jul 25, 2018 at 1:28 PM, Guru Shetty  wrote:

> We had talked about using OVS 2.9, right? Are you using that?
>
> On 25 July 2018 at 08:51, Sandeep Adapala 
> wrote:
>
>> Hello Guru,
>>
>> I think OVS doesn't like me at all :) every step I am facing a issue.
>>
>> this time when I tried to create a docker network on OVS (*sudo docker
>> network create -d openvswitch --subnet=192.168.22.0/24
>>  ovs*) it failed and I got this error in Docker
>> log
>>
>> *ERRO[2717] Handler for POST /v1.27/networks/create returned error: remote: 
>> create_network: lswitch-add Fatal error executing ['ovn-nbctl', 
>> '--timeout=5', '-vconsole:off', '--db=tcp:192.168.14.33:6642 
>> ', 'lswitch-add', 
>> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', '--', 
>> 'set', 'Logical_Switch', 
>> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
>> u'external_ids:subnet=192.168.22.0/24 ', 
>> u'external_ids:gateway_ip=192.168.22.1'] *
>>
>>
>>
>> Regards,
>> Sandeep
>>
>> On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty  wrote:
>>
>>> Yes.
>>>
>>> On 23 July 2018 at 13:43, Sandeep Adapala 
>>> wrote:
>>>
 So you are saying just do the overlay part in this doc ?
 http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode

 On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:

> May I suggest that you get OVN working with containers without DPDK
> first? Once you are confident about what needs to be done for OVN, you can
> concentrate more on DPDK.
>
> On 23 July 2018 at 13:15, Sandeep Adapala 
> wrote:
>
>> I have configured the grub as
>>
>> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
>> hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>>
>>
>> I didn't isolate any cores so if I want to use core 2 or 3 what will be 
>> the dpdk-lcore-mask and pod-cpu-mask?
>>
>>
>> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
>> sandeepadapal...@gmail.com> wrote:
>>
>>> I have tried that already Guru but I got the same error always. Let
>>> me ask one more question.
>>>
>>> What do I need to configure here?
>>>
>>> sudo ovs-vsctl -no-wait set Open_vSwitch .
>>> other_config:dpdk-lcore-mask=0xfbe.
>>> sudo ovs-vsctl -no-wait set Open_vSwitch .
>>> other_config:dpdk-socket-mem="1024,1024"
>>> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x82
>>>
>>>
>>> I am very new to ovs so I am still learning things. So can you
>>> explain me what I should configure in lcore-mask and cpu-mask
>>>
>>> I have a 28 core with 10G intel NIC's
>>>
>>> Regards
>>> Sandeep
>>>
>>> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:
>>>
 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And
 this should be the IP of your host.
 2. ENCAP_TYPE="geneve".

 On 23 July 2018 at 12:41, Sandeep Adapala <
 sandeepadapal...@gmail.com> wrote:

> Hello All,
>
> I am trying to use this doc to setup the containers using OVS-DPDK
> (
> https://software.intel.com/en-us/articles/using-docker-conta
> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
> but when I try to configure the ovs on overlay mode I am little
> confused on
> this configuration. I don't have a remote server I want everything
> to be
> installed in same server. so can you please help me out what
> should I
> remove and replace in the below config
>
> ovs-vsctl set Open_vSwitch . \
> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
> external_ids:ovn-encap-ip=$LOCAL_IP \
> external_ids:ovn-encap-type="$ENCAP_TYPE"
>
>
> like what is CENTRAL_IP? ENCAP_TYPE and all?
>
> Regards,
> Sandeep
> ___
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


>>>
>>
>

>>>
>>
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-25 Thread Guru Shetty
We had talked about using OVS 2.9, right? Are you using that?

On 25 July 2018 at 08:51, Sandeep Adapala 
wrote:

> Hello Guru,
>
> I think OVS doesn't like me at all :) every step I am facing a issue.
>
> this time when I tried to create a docker network on OVS (*sudo docker
> network create -d openvswitch --subnet=192.168.22.0/24
>  ovs*) it failed and I got this error in Docker
> log
>
> *ERRO[2717] Handler for POST /v1.27/networks/create returned error: remote: 
> create_network: lswitch-add Fatal error executing ['ovn-nbctl', 
> '--timeout=5', '-vconsole:off', '--db=tcp:192.168.14.33:6642 
> ', 'lswitch-add', 
> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', '--', 
> 'set', 'Logical_Switch', 
> u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55', 
> u'external_ids:subnet=192.168.22.0/24 ', 
> u'external_ids:gateway_ip=192.168.22.1'] *
>
>
>
> Regards,
> Sandeep
>
> On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty  wrote:
>
>> Yes.
>>
>> On 23 July 2018 at 13:43, Sandeep Adapala 
>> wrote:
>>
>>> So you are saying just do the overlay part in this doc ?
>>> http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode
>>>
>>> On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:
>>>
 May I suggest that you get OVN working with containers without DPDK
 first? Once you are confident about what needs to be done for OVN, you can
 concentrate more on DPDK.

 On 23 July 2018 at 13:15, Sandeep Adapala 
 wrote:

> I have configured the grub as
>
> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
> hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>
>
> I didn't isolate any cores so if I want to use core 2 or 3 what will be 
> the dpdk-lcore-mask and pod-cpu-mask?
>
>
> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
> sandeepadapal...@gmail.com> wrote:
>
>> I have tried that already Guru but I got the same error always. Let
>> me ask one more question.
>>
>> What do I need to configure here?
>>
>> sudo ovs-vsctl -no-wait set Open_vSwitch .
>> other_config:dpdk-lcore-mask=0xfbe.
>> sudo ovs-vsctl -no-wait set Open_vSwitch .
>> other_config:dpdk-socket-mem="1024,1024"
>> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x82
>>
>>
>> I am very new to ovs so I am still learning things. So can you
>> explain me what I should configure in lcore-mask and cpu-mask
>>
>> I have a 28 core with 10G intel NIC's
>>
>> Regards
>> Sandeep
>>
>> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:
>>
>>> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And
>>> this should be the IP of your host.
>>> 2. ENCAP_TYPE="geneve".
>>>
>>> On 23 July 2018 at 12:41, Sandeep Adapala <
>>> sandeepadapal...@gmail.com> wrote:
>>>
 Hello All,

 I am trying to use this doc to setup the containers using OVS-DPDK (
 https://software.intel.com/en-us/articles/using-docker-conta
 iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
 but when I try to configure the ovs on overlay mode I am little
 confused on
 this configuration. I don't have a remote server I want everything
 to be
 installed in same server. so can you please help me out what should
 I
 remove and replace in the below config

 ovs-vsctl set Open_vSwitch . \
 external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
 external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
 external_ids:ovn-encap-ip=$LOCAL_IP \
 external_ids:ovn-encap-type="$ENCAP_TYPE"


 like what is CENTRAL_IP? ENCAP_TYPE and all?

 Regards,
 Sandeep
 ___
 dev mailing list
 d...@openvswitch.org
 https://mail.openvswitch.org/mailman/listinfo/ovs-dev

>>>
>>>
>>
>

>>>
>>
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-25 Thread Sandeep Adapala
Hello Guru,

I think OVS doesn't like me at all :) every step I am facing a issue.

this time when I tried to create a docker network on OVS (*sudo docker
network create -d openvswitch --subnet=192.168.22.0/24
 ovs*) it failed and I got this error in Docker log

*ERRO[2717] Handler for POST /v1.27/networks/create returned error:
remote: create_network: lswitch-add Fatal error executing
['ovn-nbctl', '--timeout=5', '-vconsole:off',
'--db=tcp:192.168.14.33:6642 ',
'lswitch-add', 
u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55',
'--', 'set', 'Logical_Switch',
u'6eccad3be08421bb50e97a620c0ffa80e28e9676e8ad18881aeb1a640d7cdd55',
u'external_ids:subnet=192.168.22.0/24 ',
u'external_ids:gateway_ip=192.168.22.1'] *



Regards,
Sandeep

On Mon, Jul 23, 2018 at 5:01 PM, Guru Shetty  wrote:

> Yes.
>
> On 23 July 2018 at 13:43, Sandeep Adapala 
> wrote:
>
>> So you are saying just do the overlay part in this doc ?
>> http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode
>>
>> On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:
>>
>>> May I suggest that you get OVN working with containers without DPDK
>>> first? Once you are confident about what needs to be done for OVN, you can
>>> concentrate more on DPDK.
>>>
>>> On 23 July 2018 at 13:15, Sandeep Adapala 
>>> wrote:
>>>
 I have configured the grub as

 GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
 hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"


 I didn't isolate any cores so if I want to use core 2 or 3 what will be 
 the dpdk-lcore-mask and pod-cpu-mask?


 On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
 sandeepadapal...@gmail.com> wrote:

> I have tried that already Guru but I got the same error always. Let me
> ask one more question.
>
> What do I need to configure here?
>
> sudo ovs-vsctl -no-wait set Open_vSwitch .
> other_config:dpdk-lcore-mask=0xfbe.
> sudo ovs-vsctl -no-wait set Open_vSwitch .
> other_config:dpdk-socket-mem="1024,1024"
> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x82
>
>
> I am very new to ovs so I am still learning things. So can you explain
> me what I should configure in lcore-mask and cpu-mask
>
> I have a 28 core with 10G intel NIC's
>
> Regards
> Sandeep
>
> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:
>
>> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this
>> should be the IP of your host.
>> 2. ENCAP_TYPE="geneve".
>>
>> On 23 July 2018 at 12:41, Sandeep Adapala > > wrote:
>>
>>> Hello All,
>>>
>>> I am trying to use this doc to setup the containers using OVS-DPDK (
>>> https://software.intel.com/en-us/articles/using-docker-conta
>>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
>>> but when I try to configure the ovs on overlay mode I am little
>>> confused on
>>> this configuration. I don't have a remote server I want everything
>>> to be
>>> installed in same server. so can you please help me out what should I
>>> remove and replace in the below config
>>>
>>> ovs-vsctl set Open_vSwitch . \
>>> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
>>> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
>>> external_ids:ovn-encap-ip=$LOCAL_IP \
>>> external_ids:ovn-encap-type="$ENCAP_TYPE"
>>>
>>>
>>> like what is CENTRAL_IP? ENCAP_TYPE and all?
>>>
>>> Regards,
>>> Sandeep
>>> ___
>>> dev mailing list
>>> d...@openvswitch.org
>>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>>>
>>
>>
>

>>>
>>
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Guru Shetty
Yes.

On 23 July 2018 at 13:43, Sandeep Adapala 
wrote:

> So you are saying just do the overlay part in this doc ?
> http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode
>
> On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:
>
>> May I suggest that you get OVN working with containers without DPDK
>> first? Once you are confident about what needs to be done for OVN, you can
>> concentrate more on DPDK.
>>
>> On 23 July 2018 at 13:15, Sandeep Adapala 
>> wrote:
>>
>>> I have configured the grub as
>>>
>>> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G 
>>> hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>>>
>>>
>>> I didn't isolate any cores so if I want to use core 2 or 3 what will be the 
>>> dpdk-lcore-mask and pod-cpu-mask?
>>>
>>>
>>> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
>>> sandeepadapal...@gmail.com> wrote:
>>>
 I have tried that already Guru but I got the same error always. Let me
 ask one more question.

 What do I need to configure here?

 sudo ovs-vsctl -no-wait set Open_vSwitch .
 other_config:dpdk-lcore-mask=0xfbe.
 sudo ovs-vsctl -no-wait set Open_vSwitch .
 other_config:dpdk-socket-mem="1024,1024"
 sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x82


 I am very new to ovs so I am still learning things. So can you explain
 me what I should configure in lcore-mask and cpu-mask

 I have a 28 core with 10G intel NIC's

 Regards
 Sandeep

 On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:

> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this
> should be the IP of your host.
> 2. ENCAP_TYPE="geneve".
>
> On 23 July 2018 at 12:41, Sandeep Adapala 
> wrote:
>
>> Hello All,
>>
>> I am trying to use this doc to setup the containers using OVS-DPDK (
>> https://software.intel.com/en-us/articles/using-docker-conta
>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
>> but when I try to configure the ovs on overlay mode I am little
>> confused on
>> this configuration. I don't have a remote server I want everything to
>> be
>> installed in same server. so can you please help me out what should I
>> remove and replace in the below config
>>
>> ovs-vsctl set Open_vSwitch . \
>> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
>> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
>> external_ids:ovn-encap-ip=$LOCAL_IP \
>> external_ids:ovn-encap-type="$ENCAP_TYPE"
>>
>>
>> like what is CENTRAL_IP? ENCAP_TYPE and all?
>>
>> Regards,
>> Sandeep
>> ___
>> dev mailing list
>> d...@openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>>
>
>

>>>
>>
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Sandeep Adapala
So you are saying just do the overlay part in this doc ?
http://docs.openvswitch.org/en/latest/howto/docker/#the-overlay-mode

On Mon, Jul 23, 2018 at 4:35 PM, Guru Shetty  wrote:

> May I suggest that you get OVN working with containers without DPDK first?
> Once you are confident about what needs to be done for OVN, you can
> concentrate more on DPDK.
>
> On 23 July 2018 at 13:15, Sandeep Adapala 
> wrote:
>
>> I have configured the grub as
>>
>> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G hugepages=16 
>> hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>>
>>
>> I didn't isolate any cores so if I want to use core 2 or 3 what will be the 
>> dpdk-lcore-mask and pod-cpu-mask?
>>
>>
>> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
>> sandeepadapal...@gmail.com> wrote:
>>
>>> I have tried that already Guru but I got the same error always. Let me
>>> ask one more question.
>>>
>>> What do I need to configure here?
>>>
>>> sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=0
>>> xfbe.
>>> sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-socket-mem="
>>> 1024,1024"
>>> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x82
>>>
>>>
>>> I am very new to ovs so I am still learning things. So can you explain
>>> me what I should configure in lcore-mask and cpu-mask
>>>
>>> I have a 28 core with 10G intel NIC's
>>>
>>> Regards
>>> Sandeep
>>>
>>> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:
>>>
 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this
 should be the IP of your host.
 2. ENCAP_TYPE="geneve".

 On 23 July 2018 at 12:41, Sandeep Adapala 
 wrote:

> Hello All,
>
> I am trying to use this doc to setup the containers using OVS-DPDK (
> https://software.intel.com/en-us/articles/using-docker-conta
> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
> but when I try to configure the ovs on overlay mode I am little
> confused on
> this configuration. I don't have a remote server I want everything to
> be
> installed in same server. so can you please help me out what should I
> remove and replace in the below config
>
> ovs-vsctl set Open_vSwitch . \
> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
> external_ids:ovn-encap-ip=$LOCAL_IP \
> external_ids:ovn-encap-type="$ENCAP_TYPE"
>
>
> like what is CENTRAL_IP? ENCAP_TYPE and all?
>
> Regards,
> Sandeep
> ___
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


>>>
>>
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Guru Shetty
May I suggest that you get OVN working with containers without DPDK first?
Once you are confident about what needs to be done for OVN, you can
concentrate more on DPDK.

On 23 July 2018 at 13:15, Sandeep Adapala 
wrote:

> I have configured the grub as
>
> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G hugepages=16 
> hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"
>
>
> I didn't isolate any cores so if I want to use core 2 or 3 what will be the 
> dpdk-lcore-mask and pod-cpu-mask?
>
>
> On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala <
> sandeepadapal...@gmail.com> wrote:
>
>> I have tried that already Guru but I got the same error always. Let me
>> ask one more question.
>>
>> What do I need to configure here?
>>
>> sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=0
>> xfbe.
>> sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-socket-mem="
>> 1024,1024"
>> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x82
>>
>>
>> I am very new to ovs so I am still learning things. So can you explain me
>> what I should configure in lcore-mask and cpu-mask
>>
>> I have a 28 core with 10G intel NIC's
>>
>> Regards
>> Sandeep
>>
>> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:
>>
>>> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this
>>> should be the IP of your host.
>>> 2. ENCAP_TYPE="geneve".
>>>
>>> On 23 July 2018 at 12:41, Sandeep Adapala 
>>> wrote:
>>>
 Hello All,

 I am trying to use this doc to setup the containers using OVS-DPDK (
 https://software.intel.com/en-us/articles/using-docker-conta
 iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
 but when I try to configure the ovs on overlay mode I am little
 confused on
 this configuration. I don't have a remote server I want everything to be
 installed in same server. so can you please help me out what should I
 remove and replace in the below config

 ovs-vsctl set Open_vSwitch . \
 external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
 external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
 external_ids:ovn-encap-ip=$LOCAL_IP \
 external_ids:ovn-encap-type="$ENCAP_TYPE"


 like what is CENTRAL_IP? ENCAP_TYPE and all?

 Regards,
 Sandeep
 ___
 dev mailing list
 d...@openvswitch.org
 https://mail.openvswitch.org/mailman/listinfo/ovs-dev

>>>
>>>
>>
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Sandeep Adapala
I have configured the grub as

GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G
hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on"


I didn't isolate any cores so if I want to use core 2 or 3 what will
be the dpdk-lcore-mask and pod-cpu-mask?


On Mon, Jul 23, 2018 at 4:11 PM, Sandeep Adapala  wrote:

> I have tried that already Guru but I got the same error always. Let me ask
> one more question.
>
> What do I need to configure here?
>
> sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=0
> xfbe.
> sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-socket-mem="
> 1024,1024"
> sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x82
>
>
> I am very new to ovs so I am still learning things. So can you explain me
> what I should configure in lcore-mask and cpu-mask
>
> I have a 28 core with 10G intel NIC's
>
> Regards
> Sandeep
>
> On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:
>
>> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this
>> should be the IP of your host.
>> 2. ENCAP_TYPE="geneve".
>>
>> On 23 July 2018 at 12:41, Sandeep Adapala 
>> wrote:
>>
>>> Hello All,
>>>
>>> I am trying to use this doc to setup the containers using OVS-DPDK (
>>> https://software.intel.com/en-us/articles/using-docker-conta
>>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
>>> but when I try to configure the ovs on overlay mode I am little confused
>>> on
>>> this configuration. I don't have a remote server I want everything to be
>>> installed in same server. so can you please help me out what should I
>>> remove and replace in the below config
>>>
>>> ovs-vsctl set Open_vSwitch . \
>>> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
>>> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
>>> external_ids:ovn-encap-ip=$LOCAL_IP \
>>> external_ids:ovn-encap-type="$ENCAP_TYPE"
>>>
>>>
>>> like what is CENTRAL_IP? ENCAP_TYPE and all?
>>>
>>> Regards,
>>> Sandeep
>>> ___
>>> dev mailing list
>>> d...@openvswitch.org
>>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>>>
>>
>>
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Sandeep Adapala
I have tried that already Guru but I got the same error always. Let me ask
one more question.

What do I need to configure here?

sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=
0xfbe.
sudo ovs-vsctl -no-wait set Open_vSwitch . other_config:dpdk-socket-mem="
1024,1024"
sudo ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=0x82


I am very new to ovs so I am still learning things. So can you explain me
what I should configure in lcore-mask and cpu-mask

I have a 28 core with 10G intel NIC's

Regards
Sandeep

On Mon, Jul 23, 2018 at 3:49 PM, Guru Shetty  wrote:

> 1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this
> should be the IP of your host.
> 2. ENCAP_TYPE="geneve".
>
> On 23 July 2018 at 12:41, Sandeep Adapala 
> wrote:
>
>> Hello All,
>>
>> I am trying to use this doc to setup the containers using OVS-DPDK (
>> https://software.intel.com/en-us/articles/using-docker-conta
>> iners-with-open-vswitch-and-dpdk-on-ubuntu-1710)
>> but when I try to configure the ovs on overlay mode I am little confused
>> on
>> this configuration. I don't have a remote server I want everything to be
>> installed in same server. so can you please help me out what should I
>> remove and replace in the below config
>>
>> ovs-vsctl set Open_vSwitch . \
>> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
>> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
>> external_ids:ovn-encap-ip=$LOCAL_IP \
>> external_ids:ovn-encap-type="$ENCAP_TYPE"
>>
>>
>> like what is CENTRAL_IP? ENCAP_TYPE and all?
>>
>> Regards,
>> Sandeep
>> ___
>> dev mailing list
>> d...@openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>>
>
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Guru Shetty
1. Use the same IP address for both CENTRAL_IP and LOCAL_IP. And this
should be the IP of your host.
2. ENCAP_TYPE="geneve".

On 23 July 2018 at 12:41, Sandeep Adapala 
wrote:

> Hello All,
>
> I am trying to use this doc to setup the containers using OVS-DPDK (
> https://software.intel.com/en-us/articles/using-docker-
> containers-with-open-vswitch-and-dpdk-on-ubuntu-1710)
> but when I try to configure the ovs on overlay mode I am little confused on
> this configuration. I don't have a remote server I want everything to be
> installed in same server. so can you please help me out what should I
> remove and replace in the below config
>
> ovs-vsctl set Open_vSwitch . \
> external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
> external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
> external_ids:ovn-encap-ip=$LOCAL_IP \
> external_ids:ovn-encap-type="$ENCAP_TYPE"
>
>
> like what is CENTRAL_IP? ENCAP_TYPE and all?
>
> Regards,
> Sandeep
> ___
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] The “overlay” mode issue while setting up OVS with DPDK

2018-07-23 Thread Sandeep Adapala
Hello All,

I am trying to use this doc to setup the containers using OVS-DPDK (
https://software.intel.com/en-us/articles/using-docker-containers-with-open-vswitch-and-dpdk-on-ubuntu-1710)
but when I try to configure the ovs on overlay mode I am little confused on
this configuration. I don't have a remote server I want everything to be
installed in same server. so can you please help me out what should I
remove and replace in the below config

ovs-vsctl set Open_vSwitch . \
external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \
external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \
external_ids:ovn-encap-ip=$LOCAL_IP \
external_ids:ovn-encap-type="$ENCAP_TYPE"


like what is CENTRAL_IP? ENCAP_TYPE and all?

Regards,
Sandeep
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev