[vpp-dev] vpp building problem

2017-11-01 Thread Holoo Gulakh
Hi all i'm trying to install vpp from source on Ubuntu 16.04 server (without virtualization). I obeyed the following this link: https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Pulling_anonymously_.28https.29 So i did as such: sudo -s cd / git clone https://ge

[vpp-dev] WHERE IS libpneum.so ???

2017-11-02 Thread Holoo Gulakh
Hi I am installing VPP Python API Here https://wiki.fd.io/view/VPP/Python_API there is a command : export LD_LIBRARY_PATH=`find $VPP -name "libpneum.so" -exec dirname {} \; | grep python | head -n 1` but there is no libpneum.so in $VPP and anywhere else :( Please help ___

[vpp-dev] make test

2017-11-03 Thread Holoo Gulakh
Hi I want to know is there any *make <...>* command to make just one special test (for example test bmpls) instead of using *make test*, because this command makes all tests. Best regards Holoo ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.f

[vpp-dev] some error in < make test TEST=test_papi >

2017-11-03 Thread Holoo Gulakh
Hi I have got some errors when i use *make test TEST=test_api*, while all other *tests are ok:* == PAPI Message parsing Test Case == test_add_new_

[vpp-dev] Return NIC back to linux

2017-11-20 Thread Holoo Gulakh
Hi I bound 2 NICs to vpp in /etc/vpp/startup.conf file in dpdk{} block! Now, how can i return NIC handling from vpp to Linux? Regards ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Must vpp be installled at root ?

2017-11-23 Thread Holoo Gulakh
Hi, Does it differ that where we "git clone" then make vpp? Should it be at root (/) ? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Why vagrant?

2017-11-23 Thread Holoo Gulakh
Hi What would occur if i download vpp on a regular VM (e.g. ubuntu 1604 on vmware or vbox) and install it, without using special Vagrantfile on vpp/extra/vagrant? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] vpp api test

2017-11-26 Thread Holoo Gulakh
Hello I am working on VPP and now need to use its API to communicate with it. I want to know how I can use its API?? Is there any example in source code or any where else? (if yes, how should I use it?) thanks in advance ___ vpp-dev mailing list vpp-dev@l

[vpp-dev] VPP API

2017-11-27 Thread Holoo Gulakh
Here in this link (https://wiki.fd.io/view/VPP/Code_Walkthrough_VoDs), there is a video (Code Walkthrough VoD: Chapter 4 | VPP API ) in which the lecturer is using a program named (vpe_api_test). Now I just need a program like that (preferably in C) so t

[vpp-dev] vpp start fails

2017-11-27 Thread Holoo Gulakh
Hi I am trying to run the example here (https://wiki.fd.io/view/VPP/Python_API) to test VPP API usage. after entering command (make run) vpp fails to start and indicate an error saying "min heap allocation failure!" using command "sudo service vpp status" shows that vpp service is dead. How to fix

[vpp-dev] Papi usage example

2017-11-28 Thread Holoo Gulakh
Hi, I want to do the following vpp command with python api: ip route add table 1 1.2.3.4/24 10.0.0.2 GigabitEthernet2/0/1 weight 7" So, how can i know the name and where to find the definition of the corresponding api? Thanks ___ vpp-dev mailing list vpp-

Re: [vpp-dev] Papi usage example

2017-11-29 Thread Holoo Gulakh
As far as I understand, VPP class defined in vpp_papi.py opens json files and iterate over it, extracting messages and makes functions which are dynamicallt added to our object that has been created earlier from VPP class. some functions like "ip_fib_dump" do not need any argument which is logicall

[vpp-dev] VPP high level working flowchart

2017-12-03 Thread Holoo Gulakh
Hi, According to my researches around VPP and its workflow, I have prepared a flowchart showing VPP's workflow. This flowchart says that all ingress packet to interfaces handled by VPP are sent to VPP without Linux network stack intervention. afterward based on the packet type/destination one of t

[vpp-dev] vpp api

2017-12-12 Thread Holoo Gulakh
Hi, In order to use VPP API in python, I use this command "sudo –E LD_LIBRARY_PATH=/vpp/build-root/install-vpp_debug-native/vpp/lib64/libvppapiclient.so python testAPI.py" As you can see in the above command, I should link libvppapiclient.so to my code *** My question is that "where is the source

Re: [vpp-dev] vpp api

2017-12-12 Thread Holoo Gulakh
sts.fd.io [mailto:vpp-dev-boun...@lists.fd.io] > On > > Behalf Of Holoo Gulakh > > Sent: Tuesday, December 12, 2017 10:49 AM > > To: vpp-dev@lists.fd.io > > Subject: [vpp-dev] vpp api > > > > Hi, > > > > In order to use VPP API in python, I use

[vpp-dev] mpls API

2017-12-17 Thread Holoo Gulakh
Hi, I want to add an entry to mpls fib. How can I do that??? What are essential parameters?? thanks in advance ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] ip routing by mpls

2017-12-19 Thread Holoo Gulakh
Hi, I used the following command to enter an entry into IP FIB so that I can route incoming packets by their mpls label: " vppctl ip route add 5.6.7.8/32 via 10.10.10.10 GigabitEthernet0/9/0 out-label 46 " Now IP FIB has a new entry like this: 5.6.7.8/32 unicast-ip4-chain [@0]: dp

[vpp-dev] VPP Design Documents

2017-12-19 Thread Holoo Gulakh
Hi, I want to analyze and understand VPP code, but as you know getting insight into how things are implemented from the source code is difficult. Can I have VPP design documents (software engineering) to understand: +how project is structured and divided in multiple parts?? +how different parts co

Re: [vpp-dev] ip routing by mpls

2017-12-19 Thread Holoo Gulakh
; Thanks, > > neale > > > > *From: * on behalf of Holoo Gulakh < > holoogul...@gmail.com> > *Date: *Tuesday, 19 December 2017 at 13:39 > *To: *"vpp-dev@lists.fd.io" > *Subject: *[vpp-dev] ip routing by mpls > > > > Hi, > > I used the fol

[vpp-dev] get mpls info from kernel

2017-12-24 Thread Holoo Gulakh
Hi, I want to make a program that reads mpls information from a mpls-enabled linux kernel and then uses VPP API to configure VPP mpls fib. I can use iproute2 to configure kernel mpls fib, but it is CLI command. for iproute2, I use below link: http://www.samrussell.nz/2015/12/mpls-testbed-on-ubunt

Re: [vpp-dev] get mpls info from kernel

2017-12-25 Thread Holoo Gulakh
we can use iproute2 python library to have network information such as interface names, mpls table(of course in mpls-enabled linux kernel), ip table and so on here is the link for library: https://pypi.python.org/pypi/pyroute2 On Sun, Dec 24, 2017 at 2:47 PM, Holoo Gulakh wrote: >

[vpp-dev] mpls routing

2017-12-26 Thread Holoo Gulakh
Hi, I want to test a scenario in which I have two host and a VPP router. host1(10.0.10.2)<-->(10.0.10.1)(Gb4/0/0)VPP(Gbb/0/0)(10.0.20.1)<-->(10.0.20.2)host2 host1 and host2 are two mpls-enabled ubuntu server. Goal: To ping host1 from host2 using mpls label = VPP vers

[vpp-dev] packet capture

2018-01-09 Thread Holoo Gulakh
Hi, In a typical scenario, we usually use wireshark or tcpdump to capture input/output packets from interfaces and we can use filters to filter them base on different criteria such as protocol. My question is that : when VPP handles one interface, then this interface is out of kernel's control so w

Re: [vpp-dev] packet capture

2018-01-09 Thread Holoo Gulakh
trace frame-queuetrace frame-queue (on|off) > vpp# > > I hope that it will help. > > -br > Mohsin > > > -- > *From:* vpp-dev-boun...@lists.fd.io on > behalf of Holoo Gulakh > *Sent:* Tuesday, January 9, 2018 11