Re: [vpp-dev] VPP Python API for create host-interface ?

2017-03-21 Thread Gabriel Ganne
Hi, You should name the arguments you pass to the functions. If you haven't yet, I advise you to have a look here : https://wiki.fd.io/view/VPP/Python_API which contains some small samples using the python API. Regards, -Original Message- From: vpp-dev-boun...@lists.fd.io

Re: [vpp-dev] VPP Python API for create host-interface ?

2017-03-21 Thread Keith Burns
Check what the name of the system interface is: ip -o a We don't create the veth pair for you, so once you do this with "ip link" and ostensibly move one end into a netns, the other end is the one you add to VPP. On Mar 21, 2017 2:06 PM, "Shravan Ambati" wrote: >

Re: [vpp-dev] [csit-dev] Missing Network and Broadcast address in FIB for interface IP

2017-03-21 Thread Neale Ranns (nranns)
Hi Matej, We can add those /32 prefixes to drop packets. /neale From: on behalf of "Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)" Date: Tuesday, 21 March 2017 at 12:24 To: "vpp-dev@lists.fd.io" Cc:

Re: [vpp-dev] i cannot change vlib_buffer_t to rte_mbuf correctly

2017-03-21 Thread Damjan Marion
Hi Rujan, Can you please explain what you are trying to do here. You cannot assume inside VPP code that rte_mbuf is present and even if it is present, that it is filled by real data. Locally originated packets and packets coming from non-dpdk sources simply don't have rte_mbuf initialized.

Re: [vpp-dev] vhost user and upstream dpdk

2017-03-21 Thread Kinsella, Ray
+1 to Thomas's comments, completely agree. Ray K On 20/03/2017 13:20, Thomas F Herbert wrote: Damjan, Thanks for your response. My answer is inline below. --TFH On 03/16/2017 02:25 PM, Damjan Marion wrote: On 16 Mar 2017, at 14:24, Thomas F Herbert

Re: [vpp-dev] VPP Python API for create host-interface ?

2017-03-21 Thread otroan
Hi there, > I am running the latest vpp code from master branch. > I am looking at the python APIs that vpp provides. > I am specifically trying to find the API for the following cli command - > create host-interface [] > > I could not find where exactly this is defined in the json files in >

[vpp-dev] Missing Network and Broadcast address in FIB for interface IP

2017-03-21 Thread Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)
Hi all, I have configured on 2 VPP interfaces IP addresses: set interface ip address GigabitEthernet0/9/0 10.0.0.2/24 set interface ip address GigabitEthernet0/a/0 192.168.0.126/26 (Network: 192.168.0.64, Broadcast: 192.168.0.127) When I send to GigabitEthernet0/9/0 interface packet with