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

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

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 <therb...@

Re: [vpp-dev] Make pkg-rpm seems to be failing...

2017-03-21 Thread otroan
Burt, > Jon's assessment is more accurate than what I wrote previously. That's > because I was mashing together two issues that really are separate, but are > closely related. In my case, I know I was trying to play a game of using > minimal disk space, and I played a game at the start where I

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. rt

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: "csit-...@lists.fd.io" Subject: [csit-dev] Missing Network and Broadcast addr

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

2017-03-21 Thread Shravan Ambati
Thanks Ole! I did try it before. I ran into issues when I invoke the API. >>> r = vpp.af_packet_create(veth0-craft0) Traceback (most recent call last): File "", line 1, in NameError: name 'veth0' is not defined >>> r = vpp.af_packet_create('veth0-craft0') Traceback (most recent

[vpp-dev] RC1 today 22nd of March

2017-03-21 Thread otroan
Just a reminder of the RC1 milestone today. Let me know if there are urgent fixes you require to get in, otherwise I will notify when the release branch is pulled. Ole signature.asc Description: Message signed with OpenPGP ___ vpp-dev mailing list vpp

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: > Thanks Ole! > I did try it b

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 [mailto:vpp-d