Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-12 Thread Neha
Hi,

Even I followed the same steps as Hamid,

ln -sf 
/root/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0 
/usr/lib/vpp_plugins/router.so

I am able to see the router.so is linked. router.so -> 
/root/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0

But still not able to see router plugin in the 'show plugins' in vpp.


Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-04 Thread demian
Yes, I need to do BGP and Routing.
I am using virtual box just to compile the sources, and running VPP on the bare 
metal.

You can find the problem, just running VPP.
There you will find if the VPP program is able to find the router plugin.

I manually copied the files from the VM to the host, and added the lib path to 
/etc/ld.so.conf.d/.



> El 3 abr. 2018, a las 16:03, Hamid via Lists.Fd.Io 
> <14mseesrasool=seecs.edu...@lists.fd.io> escribió:
> 
> Hi Demian,
> 
> My environment is KVM virtual machine (Ubuntu 16.04 server) with 2 cores and 
> 2 GB RAM on an R620 server (guest is Ubuntu 16.04 desktop). I am building vpp 
> from sources through deb installer packages on the VM.
> 
> Normal VPP operations are working. My objective is to use routing and CG-NAT 
> functionality with VPP (with or without DPDK).
> 
> On Tue, Apr 3, 2018 at 11:25 PM,   > wrote:
> Hi Hamid
>   I follow the same sample and its working (at least inside the VM).
>   Are you running the ln -sf /home/xflow/vppsb/netlink inside the vagrant 
> VM ?
> 
> Demian
> 
>> El 3 abr. 2018, a las 15:16, Hamid via Lists.Fd.Io  
>> <14mseesrasool=seecs.edu...@lists.fd.io 
>> > escribió:
>> 
>> I am following the FRR tutorial 
>>  
>> to set up vppsb. Please let me know if there is better documentation 
>> available.
>> 
>> I had already built and ran stable/1801 branch vpp code on my machine but 
>> due to conflicts with vppsb I had to check out master for vpp and vppsb 
>> repos.
>> 
>> Here the steps,
>> 
>> In the home directory, git clone https://gerrit.fd.io/r/vppsb 
>> 
>> cd vppsb
>> git checkout master
>> 
>> Then, in vpp directory,
>> ln -sf /home/xflow/vppsb/netlink
>> ln -sf /home/xflow/vppsb/router
>> ln -sf /home/xflow/netlink/netlink.mk  
>> build-data/packages/
>> ln -sf /home/xflow/router/router.mk  build-data/packages/
>> 
>> cd build-root
>> sudo make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install 
>> router-install
>> sudo dpkg -i *.deb
>> sudo ln -sf 
>> /root/xflow/install1/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0
>>  /usr/lib/vpp_plugins/router.so
>> 
>> And then, I restart vpp service and check tap-inject which does not work.
>> 
>> The contents of the build-root directory is given earlier in the thread.
>> 
>>  
>> 
>>  Virus-free. www.avast.com 
>> 
>>  <>
>> 
>> On Tue, Apr 3, 2018 at 9:48 PM, Wang > > wrote:
>> Would you share the command lines you used to install router plugin? It 
>> seems to me the router plugin is not loaded?
>> 
>> 2018-04-02 13:05 GMT-04:00 Hamid Rasool <14mseesras...@seecs.edu.pk 
>> >:
>> Hi Wang,
>> 
>> My copy of the code contains the patch. I have checked the source and it is 
>> according to the diff in your commit 
>> .
>>  The make netlink-install and router-install now build without errors (using 
>> vpp 18.04-rc0 ; vpp stable/18.01 had the above issue).
>> 
>> The problem I am facing that after netlink and router are built, I am unable 
>> to perform 'sudo vppctl enable tap-inject' command. Does the build command 
>> supposed to have .deb packages for vppsb. This is my build-root directory:
>> xflow@vpphamid1:~/install1/vpp/build-root$ ls
>> autowank  platforms.mk 
>> bin   python
>> build-config.mk    sbin
>> build-config.mk.READMEscripts
>> build-tool-native tools
>> build-vpp_debug-nativevagrant
>> build-vpp-native  vpp_18.04-rc0~503-gf0404e9_amd64.changes
>> config.site    
>> vpp_18.04-rc0~503-gf0404e9_amd64.deb
>> copyimg   vpp-api-java_18.04-rc0~503-gf0404e9_amd64.deb
>> deb   vpp-api-lua_18.04-rc0~503-gf0404e9_amd64.deb
>> install-vpp_debug-native  vpp-api-python_18.04-rc0~503-gf0404e9_amd64.deb
>> install-vpp-nativevpp-dbg_18.04-rc0~503-gf0404e9_amd64.deb
>> lib64 vpp-dev_18.04-rc0~503-gf0404e9_amd64.deb
>> Makefile  vpp-lib_18.04-rc0~503-gf0404e9_amd64.deb
>> path_setupvpp-plugins_18.04-rc0~503-gf0404e9_amd64.deb
>> 
>> 
>> 
>>  
>> 

Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-03 Thread Hamid via Lists.Fd.Io
Sorry guys.

I did not provide absolute path to the router.so link. The router.so is now
showing up on vppctl show plugins and I am able to execute vppctl enable
tap-inject.

Thanks Burt, Damien and Wang!


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Apr 4, 2018 at 1:02 AM, Burt Silverman  wrote:

> Does
>
> $ ls -ld /usr/lib/vpp_plugins/router.so
>
> show it pointing to a good file? Try to make sure you are pointing to the
> file that you built, I mean, just double check that everything looks
> correct. I think your note mentioned 2 different source areas -- maybe I am
> misreading and wrong, maybe it is a typo.
>
> Good luck.
>
> Burt
>
> On Tue, Apr 3, 2018 at 2:16 PM, Hamid via Lists.Fd.Io <
> 14mseesrasool=seecs.edu...@lists.fd.io> wrote:
>
>> I am following the FRR tutorial
>> 
>> to set up vppsb. Please let me know if there is better documentation
>> available.
>>
>> I had already built and ran stable/1801 branch vpp code on my machine but
>> due to conflicts with vppsb I had to check out master for vpp and vppsb
>> repos.
>>
>> Here the steps,
>>
>> In the home directory, git clone https://gerrit.fd.io/r/vppsb
>> cd vppsb
>> git checkout master
>>
>> Then, in vpp directory,
>> ln -sf /home/xflow/vppsb/netlink
>> ln -sf /home/xflow/vppsb/router
>> ln -sf /home/xflow/netlink/netlink.mk build-data/packages/
>> ln -sf /home/xflow/router/router.mk build-data/packages/
>>
>> cd build-root
>> sudo make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install
>> router-install
>> sudo dpkg -i *.deb
>> sudo ln -sf 
>> /root/xflow/install1/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0
>> /usr/lib/vpp_plugins/router.so
>>
>> And then, I restart vpp service and check tap-inject which does not work.
>>
>> The contents of the build-root directory is given earlier in the thread.
>>
>>
>> 
>>  Virus-free.
>> www.avast.com
>> 
>> <#m_-3821815970941011092_m_8641439262321474351_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Tue, Apr 3, 2018 at 9:48 PM, Wang  wrote:
>>
>>> Would you share the command lines you used to install router plugin? It
>>> seems to me the router plugin is not loaded?
>>>
>>> 2018-04-02 13:05 GMT-04:00 Hamid Rasool <14mseesras...@seecs.edu.pk>:
>>>
 Hi Wang,

 My copy of the code contains the patch. I have checked the source and
 it is according to the diff in your commit
 .
 The make netlink-install and router-install now build without errors (using
 vpp 18.04-rc0 ; vpp stable/18.01 had the above issue).

 The problem I am facing that after netlink and router are built, I am
 unable to perform 'sudo vppctl enable tap-inject' command. Does the build
 command supposed to have .deb packages for vppsb. This is my build-root
 directory:
 xflow@vpphamid1:~/install1/vpp/build-root$ ls
 autowank  platforms.mk
 bin   python
 build-config.mk   sbin
 build-config.mk.READMEscripts
 build-tool-native tools
 build-vpp_debug-nativevagrant
 build-vpp-native  vpp_18.04-rc0~503-gf0404e9_amd64.changes
 config.site   vpp_18.04-rc0~503-gf0404e9_amd64.deb
 copyimg   vpp-api-java_18.04-rc0~503-gf0404e9_amd64.deb
 deb   vpp-api-lua_18.04-rc0~503-gf0404e9_amd64.deb
 install-vpp_debug-native  vpp-api-python_18.04-rc0~503-g
 f0404e9_amd64.deb
 install-vpp-nativevpp-dbg_18.04-rc0~503-gf0404e9_amd64.deb
 lib64 vpp-dev_18.04-rc0~503-gf0404e9_amd64.deb
 Makefile  vpp-lib_18.04-rc0~503-gf0404e9_amd64.deb
 path_setupvpp-plugins_18.04-rc0~503-gf0404e9_amd64.deb




 
  Virus-free.
 www.avast.com
 
 <#m_-3821815970941011092_m_8641439262321474351_m_8696160008385872788_m_-6449746801624537005_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

 On Mon, Apr 2, 2018 

Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-03 Thread Hamid via Lists.Fd.Io
Hi Demian,

My environment is KVM virtual machine (Ubuntu 16.04 server) with 2 cores
and 2 GB RAM on an R620 server (guest is Ubuntu 16.04 desktop). I am
building vpp from sources through deb installer packages on the VM.

Normal VPP operations are working. My objective is to use routing and
CG-NAT functionality with VPP (with or without DPDK).

On Tue, Apr 3, 2018 at 11:25 PM,  wrote:

> Hi Hamid
> I follow the same sample and its working (at least inside the VM).
> Are you running the ln -sf /home/xflow/vppsb/netlink inside the vagrant VM
> ?
>
> Demian
>
> El 3 abr. 2018, a las 15:16, Hamid via Lists.Fd.Io <
> 14mseesrasool=seecs.edu...@lists.fd.io> escribió:
>
> I am following the FRR tutorial
> 
> to set up vppsb. Please let me know if there is better documentation
> available.
>
> I had already built and ran stable/1801 branch vpp code on my machine but
> due to conflicts with vppsb I had to check out master for vpp and vppsb
> repos.
>
> Here the steps,
>
> In the home directory, git clone https://gerrit.fd.io/r/vppsb
> cd vppsb
> git checkout master
>
> Then, in vpp directory,
> ln -sf /home/xflow/vppsb/netlink
> ln -sf /home/xflow/vppsb/router
> ln -sf /home/xflow/netlink/netlink.mk build-data/packages/
> ln -sf /home/xflow/router/router.mk build-data/packages/
>
> cd build-root
> sudo make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install
> router-install
> sudo dpkg -i *.deb
> sudo ln -sf /root/xflow/install1/vpp/build-root/install-vpp_debug-
> native/router/lib64/router.so.0.0.0 /usr/lib/vpp_plugins/router.so
>
> And then, I restart vpp service and check tap-inject which does not work.
>
> The contents of the build-root directory is given earlier in the thread.
>
>
> 
>  Virus-free.
> www.avast.com
> 
>
> On Tue, Apr 3, 2018 at 9:48 PM, Wang  wrote:
>
>> Would you share the command lines you used to install router plugin? It
>> seems to me the router plugin is not loaded?
>>
>> 2018-04-02 13:05 GMT-04:00 Hamid Rasool <14mseesras...@seecs.edu.pk>:
>>
>>> Hi Wang,
>>>
>>> My copy of the code contains the patch. I have checked the source and it
>>> is according to the diff in your commit
>>> .
>>> The make netlink-install and router-install now build without errors (using
>>> vpp 18.04-rc0 ; vpp stable/18.01 had the above issue).
>>>
>>> The problem I am facing that after netlink and router are built, I am
>>> unable to perform 'sudo vppctl enable tap-inject' command. Does the build
>>> command supposed to have .deb packages for vppsb. This is my build-root
>>> directory:
>>> xflow@vpphamid1:~/install1/vpp/build-root$ ls
>>> autowank  platforms.mk
>>> bin   python
>>> build-config.mk   sbin
>>> build-config.mk.READMEscripts
>>> build-tool-native tools
>>> build-vpp_debug-nativevagrant
>>> build-vpp-native  vpp_18.04-rc0~503-gf0404e9_amd64.changes
>>> config.site   vpp_18.04-rc0~503-gf0404e9_amd64.deb
>>> copyimg   vpp-api-java_18.04-rc0~503-gf0404e9_amd64.deb
>>> deb   vpp-api-lua_18.04-rc0~503-gf0404e9_amd64.deb
>>> install-vpp_debug-native  vpp-api-python_18.04-rc0~503-g
>>> f0404e9_amd64.deb
>>> install-vpp-nativevpp-dbg_18.04-rc0~503-gf0404e9_amd64.deb
>>> lib64 vpp-dev_18.04-rc0~503-gf0404e9_amd64.deb
>>> Makefile  vpp-lib_18.04-rc0~503-gf0404e9_amd64.deb
>>> path_setupvpp-plugins_18.04-rc0~503-gf0404e9_amd64.deb
>>>
>>>
>>>
>>>
>>> 
>>>  Virus-free.
>>> www.avast.com
>>> 
>>>
>>> On Mon, Apr 2, 2018 at 6:14 PM, Wang  wrote:
>>>
 Here is the patch

 https://gerrit.fd.io/r/#/c/11167/

 it should be merged into vppsb.

 Chad

 2018-04-01 12:39 GMT-04:00 Hamid via Lists.Fd.Io 
 <14mseesrasool=seecs.edu...@lists.fd.io>:

> Not working with the latest code.
>
> I have retried with 'git checkout origin/master' after make wipe-all
> and make vpp-wipe commands but I am still getting the same error with
> librtnl files.
>
>
>
>

>>>
>>
> 
>
>
> --
> Demian Pecile
> Siete Capas S.R.L.
> Periodistas 

Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-03 Thread demian
Hi Hamid
I follow the same sample and its working (at least inside the VM).
Are you running the ln -sf /home/xflow/vppsb/netlink inside the vagrant 
VM ?

Demian

> El 3 abr. 2018, a las 15:16, Hamid via Lists.Fd.Io 
> <14mseesrasool=seecs.edu...@lists.fd.io> escribió:
> 
> I am following the FRR tutorial 
>  to 
> set up vppsb. Please let me know if there is better documentation available.
> 
> I had already built and ran stable/1801 branch vpp code on my machine but due 
> to conflicts with vppsb I had to check out master for vpp and vppsb repos.
> 
> Here the steps,
> 
> In the home directory, git clone https://gerrit.fd.io/r/vppsb 
> 
> cd vppsb
> git checkout master
> 
> Then, in vpp directory,
> ln -sf /home/xflow/vppsb/netlink
> ln -sf /home/xflow/vppsb/router
> ln -sf /home/xflow/netlink/netlink.mk  
> build-data/packages/
> ln -sf /home/xflow/router/router.mk  build-data/packages/
> 
> cd build-root
> sudo make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install 
> router-install
> sudo dpkg -i *.deb
> sudo ln -sf 
> /root/xflow/install1/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0
>  /usr/lib/vpp_plugins/router.so
> 
> And then, I restart vpp service and check tap-inject which does not work.
> 
> The contents of the build-root directory is given earlier in the thread.
> 
>  
> 
>   Virus-free. www.avast.com 
> 
>  
> 
> On Tue, Apr 3, 2018 at 9:48 PM, Wang  > wrote:
> Would you share the command lines you used to install router plugin? It seems 
> to me the router plugin is not loaded?
> 
> 2018-04-02 13:05 GMT-04:00 Hamid Rasool <14mseesras...@seecs.edu.pk 
> >:
> Hi Wang,
> 
> My copy of the code contains the patch. I have checked the source and it is 
> according to the diff in your commit 
> .
>  The make netlink-install and router-install now build without errors (using 
> vpp 18.04-rc0 ; vpp stable/18.01 had the above issue).
> 
> The problem I am facing that after netlink and router are built, I am unable 
> to perform 'sudo vppctl enable tap-inject' command. Does the build command 
> supposed to have .deb packages for vppsb. This is my build-root directory:
> xflow@vpphamid1:~/install1/vpp/build-root$ ls
> autowank  platforms.mk 
> bin   python
> build-config.mk    sbin
> build-config.mk.READMEscripts
> build-tool-native tools
> build-vpp_debug-nativevagrant
> build-vpp-native  vpp_18.04-rc0~503-gf0404e9_amd64.changes
> config.site   vpp_18.04-rc0~503-gf0404e9_amd64.deb
> copyimg   vpp-api-java_18.04-rc0~503-gf0404e9_amd64.deb
> deb   vpp-api-lua_18.04-rc0~503-gf0404e9_amd64.deb
> install-vpp_debug-native  vpp-api-python_18.04-rc0~503-gf0404e9_amd64.deb
> install-vpp-nativevpp-dbg_18.04-rc0~503-gf0404e9_amd64.deb
> lib64 vpp-dev_18.04-rc0~503-gf0404e9_amd64.deb
> Makefile  vpp-lib_18.04-rc0~503-gf0404e9_amd64.deb
> path_setupvpp-plugins_18.04-rc0~503-gf0404e9_amd64.deb
> 
> 
> 
>  
> 
>   Virus-free. www.avast.com 
> 
>  
> 
> 
> On Mon, Apr 2, 2018 at 6:14 PM, Wang  > wrote:
> Here is the patch 
> 
> https://gerrit.fd.io/r/#/c/11167/ 
> 
> it should be merged into vppsb.
> 
> Chad
> 
> 2018-04-01 12:39 GMT-04:00 Hamid via Lists.Fd.Io  
> <14mseesrasool=seecs.edu...@lists.fd.io 
> >:
> Not working with the latest code.
> 
> I have retried with 'git checkout origin/master' after make wipe-all and make 
> vpp-wipe commands but I am still getting the same error with librtnl files.
> 
> 
> 
> 
> 
> 
> 
> 
> 

--
Demian Pecile
Siete Capas S.R.L.
Periodistas Neuquinos 136
Piso 4 - Dpto. A - 8300 Neuquen
Argentina
Tel +54-299-4479172 
Cel. +549-299-5833500



Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-03 Thread Hamid via Lists.Fd.Io
I am following the FRR tutorial

to set up vppsb. Please let me know if there is better documentation
available.

I had already built and ran stable/1801 branch vpp code on my machine but
due to conflicts with vppsb I had to check out master for vpp and vppsb
repos.

Here the steps,

In the home directory, git clone https://gerrit.fd.io/r/vppsb
cd vppsb
git checkout master

Then, in vpp directory,
ln -sf /home/xflow/vppsb/netlink
ln -sf /home/xflow/vppsb/router
ln -sf /home/xflow/netlink/netlink.mk build-data/packages/
ln -sf /home/xflow/router/router.mk build-data/packages/

cd build-root
sudo make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install
router-install
sudo dpkg -i *.deb
sudo ln -sf
/root/xflow/install1/vpp/build-root/install-vpp_debug-native/router/lib64/router.so.0.0.0
/usr/lib/vpp_plugins/router.so

And then, I restart vpp service and check tap-inject which does not work.

The contents of the build-root directory is given earlier in the thread.


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Tue, Apr 3, 2018 at 9:48 PM, Wang  wrote:

> Would you share the command lines you used to install router plugin? It
> seems to me the router plugin is not loaded?
>
> 2018-04-02 13:05 GMT-04:00 Hamid Rasool <14mseesras...@seecs.edu.pk>:
>
>> Hi Wang,
>>
>> My copy of the code contains the patch. I have checked the source and it
>> is according to the diff in your commit
>> .
>> The make netlink-install and router-install now build without errors (using
>> vpp 18.04-rc0 ; vpp stable/18.01 had the above issue).
>>
>> The problem I am facing that after netlink and router are built, I am
>> unable to perform 'sudo vppctl enable tap-inject' command. Does the build
>> command supposed to have .deb packages for vppsb. This is my build-root
>> directory:
>> xflow@vpphamid1:~/install1/vpp/build-root$ ls
>> autowank  platforms.mk
>> bin   python
>> build-config.mk   sbin
>> build-config.mk.READMEscripts
>> build-tool-native tools
>> build-vpp_debug-nativevagrant
>> build-vpp-native  vpp_18.04-rc0~503-gf0404e9_amd64.changes
>> config.site   vpp_18.04-rc0~503-gf0404e9_amd64.deb
>> copyimg   vpp-api-java_18.04-rc0~503-gf0404e9_amd64.deb
>> deb   vpp-api-lua_18.04-rc0~503-gf0404e9_amd64.deb
>> install-vpp_debug-native  vpp-api-python_18.04-rc0~503-gf0404e9_amd64.deb
>> install-vpp-nativevpp-dbg_18.04-rc0~503-gf0404e9_amd64.deb
>> lib64 vpp-dev_18.04-rc0~503-gf0404e9_amd64.deb
>> Makefile  vpp-lib_18.04-rc0~503-gf0404e9_amd64.deb
>> path_setupvpp-plugins_18.04-rc0~503-gf0404e9_amd64.deb
>>
>>
>>
>>
>> 
>>  Virus-free.
>> www.avast.com
>> 
>> <#m_8696160008385872788_m_-6449746801624537005_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Mon, Apr 2, 2018 at 6:14 PM, Wang  wrote:
>>
>>> Here is the patch
>>>
>>> https://gerrit.fd.io/r/#/c/11167/
>>>
>>> it should be merged into vppsb.
>>>
>>> Chad
>>>
>>> 2018-04-01 12:39 GMT-04:00 Hamid via Lists.Fd.Io <
>>> 14mseesrasool=seecs.edu...@lists.fd.io>:
>>>
 Not working with the latest code.

 I have retried with 'git checkout origin/master' after make wipe-all
 and make vpp-wipe commands but I am still getting the same error with
 librtnl files.
 


>>>
>>
>


Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-03 Thread Wang
Would you share the command lines you used to install router plugin? It
seems to me the router plugin is not loaded?

2018-04-02 13:05 GMT-04:00 Hamid Rasool <14mseesras...@seecs.edu.pk>:

> Hi Wang,
>
> My copy of the code contains the patch. I have checked the source and it
> is according to the diff in your commit
> .
> The make netlink-install and router-install now build without errors (using
> vpp 18.04-rc0 ; vpp stable/18.01 had the above issue).
>
> The problem I am facing that after netlink and router are built, I am
> unable to perform 'sudo vppctl enable tap-inject' command. Does the build
> command supposed to have .deb packages for vppsb. This is my build-root
> directory:
> xflow@vpphamid1:~/install1/vpp/build-root$ ls
> autowank  platforms.mk
> bin   python
> build-config.mk   sbin
> build-config.mk.READMEscripts
> build-tool-native tools
> build-vpp_debug-nativevagrant
> build-vpp-native  vpp_18.04-rc0~503-gf0404e9_amd64.changes
> config.site   vpp_18.04-rc0~503-gf0404e9_amd64.deb
> copyimg   vpp-api-java_18.04-rc0~503-gf0404e9_amd64.deb
> deb   vpp-api-lua_18.04-rc0~503-gf0404e9_amd64.deb
> install-vpp_debug-native  vpp-api-python_18.04-rc0~503-gf0404e9_amd64.deb
> install-vpp-nativevpp-dbg_18.04-rc0~503-gf0404e9_amd64.deb
> lib64 vpp-dev_18.04-rc0~503-gf0404e9_amd64.deb
> Makefile  vpp-lib_18.04-rc0~503-gf0404e9_amd64.deb
> path_setupvpp-plugins_18.04-rc0~503-gf0404e9_amd64.deb
>
>
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_-6449746801624537005_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Mon, Apr 2, 2018 at 6:14 PM, Wang  wrote:
>
>> Here is the patch
>>
>> https://gerrit.fd.io/r/#/c/11167/
>>
>> it should be merged into vppsb.
>>
>> Chad
>>
>> 2018-04-01 12:39 GMT-04:00 Hamid via Lists.Fd.Io <
>> 14mseesrasool=seecs.edu...@lists.fd.io>:
>>
>>> Not working with the latest code.
>>>
>>> I have retried with 'git checkout origin/master' after make wipe-all and
>>> make vpp-wipe commands but I am still getting the same error with librtnl
>>> files.
>>> 
>>>
>>>
>>
>


Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-02 Thread Wang
Here is the patch

https://gerrit.fd.io/r/#/c/11167/

it should be merged into vppsb.

Chad

2018-04-01 12:39 GMT-04:00 Hamid via Lists.Fd.Io <
14mseesrasool=seecs.edu...@lists.fd.io>:

> Not working with the latest code.
>
> I have retried with 'git checkout origin/master' after make wipe-all and
> make vpp-wipe commands but I am still getting the same error with librtnl
> files.
> 
>
>


Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-02 Thread Hamid via Lists.Fd.Io
Thanks Wang and Burt.

The trick was to use the master vpp as well (18.04-rc0 latest) as I was
still getting errors with the 18.01 branch. However, my next issue is that
I cannot enable tap-inject.

I have linked the router.so.0.0.0 to the /usr/lib/vpp_plugins directory
(there is also a router.so.0 module in the router/lib64 dir):

xflow@vpphamid1:~/install1/vpp/build-root$ sudo ln -sf
install-vpp_debug-native/router/lib64/router.so.0.0.0
/usr/lib/vpp_plugins/router.so
xflow@vpphamid1:~/install1/vpp/build-root$ sudo service vpp restart
xflow@vpphamid1:~/install1/vpp/build-root$ sudo vppctl enable tap-inject
enable: unknown input `tap-inject'

Here is my version:
xflow@vpphamid1:~/install1/vpp/build-root$ sudo vppctl show ver
vpp v18.04-rc0~503-gf0404e9 built by root on vpphamid1 at Mon Apr  2
10:27:49 PKT 2018

Here are the vpp_plugins content (containing router.so):
xflow@vpphamid1:~/install1/vpp/build-root$ ls /usr/lib/vpp_plugins/
acl_plugin.sogtpu_plugin.so   l2e_plugin.sorouter.so
avf_plugin.soigmp_plugin.so   lacp_plugin.so   srv6ad_plugin.so
cdp_plugin.soila_plugin.solb_plugin.so srv6am_plugin.so
dpdk_plugin.so   ioam_plugin.so   memif_plugin.so  srv6as_plugin.so
flowprobe_plugin.so  ixge_plugin.so   nat_plugin.sostn_plugin.so
gbp_plugin.sokubeproxy_plugin.so  pppoe_plugin.so
tlsopenssl_plugin.so

And here is the show plugins output:
xflow@vpphamid1:~/install1/vpp/build-root$ sudo vppctl show plugins
 Plugin path is: /usr/lib/vpp_plugins

 Plugin   Version
Description
  1. ioam_plugin.so   18.04-rc0~503-gf0404e9
   Inbound OAM
  2. memif_plugin.so  18.04-rc0~503-gf0404e9
   Packet Memory Interface (experimetal)
  3. avf_plugin.so18.04-rc0~503-gf0404e9
   Intel Adaptive Virtual Function (AVF) Device Plugin
  4. pppoe_plugin.so  18.04-rc0~503-gf0404e9
   PPPoE
  5. srv6am_plugin.so 18.04-rc0~503-gf0404e9
   Masquerading SRv6 proxy
  6. ila_plugin.so18.04-rc0~503-gf0404e9
   Identifier-locator addressing for IPv6
  7. l2e_plugin.so18.04-rc0~503-gf0404e9
   L2 Emulation
  8. tlsopenssl_plugin.so 18.04-rc0~503-gf0404e9
   openssl based TLS Engine
  9. gtpu_plugin.so   18.04-rc0~503-gf0404e9
   GTPv1-U
 10. dpdk_plugin.so   18.04-rc0~503-gf0404e9
   Data Plane Development Kit (DPDK)
 11. stn_plugin.so18.04-rc0~503-gf0404e9
   VPP Steals the NIC for Container integration
 12. acl_plugin.so18.04-rc0~503-gf0404e9
   Access Control Lists
 13. cdp_plugin.so18.04-rc0~503-gf0404e9
 14. lacp_plugin.so   18.04-rc0~503-gf0404e9
   Link Aggregation Control Protocol
 15. flowprobe_plugin.so  18.04-rc0~503-gf0404e9
   Flow per Packet
 16. lb_plugin.so 18.04-rc0~503-gf0404e9
   Load Balancer
 17. srv6as_plugin.so 18.04-rc0~503-gf0404e9
   Static SRv6 proxy
 18. srv6ad_plugin.so 18.04-rc0~503-gf0404e9
   Dynamic SRv6 proxy
 19. kubeproxy_plugin.so  18.04-rc0~503-gf0404e9
   kube-proxy data plane
 20. gbp_plugin.so18.04-rc0~503-gf0404e9
   Group Based Policy
 21. igmp_plugin.so   18.04-rc0~503-gf0404e9
   IGMP messaging
 22. nat_plugin.so18.04-rc0~503-gf0404e9
   Network Address Translation





Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sun, Apr 1, 2018 at 11:21 PM, Burt Silverman  wrote:

> It looks like you did not follow Chad Wang's advice if you are seeing the
> same error. Get the latest vppsb code.
>
> Burt
>
> On Sun, Apr 1, 2018 at 12:39 PM, Hamid via Lists.Fd.Io <
> 14mseesrasool=seecs.edu...@lists.fd.io> wrote:
>
>> Not working with the latest code.
>>
>> I have retried with 'git checkout origin/master' after make wipe-all and
>> make vpp-wipe commands but I am still getting the same error with librtnl
>> files.
>> 
>>
>>
>


Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-01 Thread Burt Silverman
It looks like you did not follow Chad Wang's advice if you are seeing the
same error. Get the latest vppsb code.

Burt

On Sun, Apr 1, 2018 at 12:39 PM, Hamid via Lists.Fd.Io <
14mseesrasool=seecs.edu...@lists.fd.io> wrote:

> Not working with the latest code.
>
> I have retried with 'git checkout origin/master' after make wipe-all and
> make vpp-wipe commands but I am still getting the same error with librtnl
> files.
> 
>
>


Re: [vpp-dev] Issue in installing router and netlink plugins

2018-04-01 Thread Hamid via Lists.Fd.Io
Not working with the latest code.

I have retried with 'git checkout origin/master' after make wipe-all and make 
vpp-wipe commands but I am still getting the same error with librtnl files.


Re: [vpp-dev] Issue in installing router and netlink plugins

2018-03-30 Thread Wang
Did you checkout the latest vppsb? There should be a patch merged to fix
this issue.

2018-03-30 3:25 GMT-04:00 Hamid Rasool :

> Hi,
>
> I want to enable dynamic routing protocols (using Quagga or FRR as VPP
> does not have BGP and IS-IS built-in) to perform routing on my VPP VM
> (built using stable/1801 branch) using KVM hypervisor. I cannot enable
> tap-inject on the device. After linking the folders to vppsb/netlink,
> vppsb/router, vppsb/netlink.mk and vppsb/router.mk in my vpp build
> directory, moved to build-root directory and then ran ./bootstrap.sh.
> However I am getting errors in the
>
> make V=0 PLATFORM=vpp TAG=vpp_debug install-deb netlink-install router-install
>
> command. Attached is the output of the failed build.
>
> Has anyone been successful in enabling tap-inject module in the 18.01 or
> master version builds without vagrant? The README of vppsb indicated that
> it was compliant with 17.04.
>
> Regards,
> Hamid.
>
>
> 
>  Virus-free.
> www.avast.com
> 
> <#m_6376853032253994508_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> 
>
>