Re: [vpp-dev] Papi usage example

2017-11-29 Thread Ole Troan
Holoo, > 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

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

Re: [vpp-dev] Papi usage example

2017-11-28 Thread Ole Troan
Holoo, > 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? ip_add_del_route in src/vnet/ip/ip.api. Best regards, Ole sign

[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-