[vpp-dev] plugin lb's requirements and supported topology

2017-11-15 Thread John Wei
I was looking at the lb plugins, and had some basic questions. https://docs.fd.io/vpp/17.07/lb_plugin_doc.html 1. Other than load balancer node that need to setup VPP (+ lb plugin), is VPP setup needed on the backend servers and client machines? 2. On the VPP load balancer node, is separate NIC car

[vpp-dev] Simple setup, that does not work.

2017-11-06 Thread John Wei
I followed one of the fd.io youtube demo, it is very simple, but it does not work for me. - Restart vpp - vppctl set int state GigabitEthernet13/0/0 up - vppctl set int ip address GigabitEthernet13/0/0 192.168.50.166/24 - # vppctl show int addr - GigabitEthernet

[vpp-dev] Can't ping VPP int addr, until VPP int ping outside first

2017-11-03 Thread John Wei
I have configured tow interface within VPP # vppctl show int addr GigabitEthernet13/0/0 (up): 192.168.50.166/24 GigabitEthernetb/0/0 (up): 192.168.50.201/24 gre0 (up): gre1 (up): On a different node, on the same subnet (192.168.50.151), I was not able to get ping response from 166, until I di

[vpp-dev] How to get VPP core dump and run exec file in interactive mode

2017-11-02 Thread John Wei
I added an exec file into /etc/vpp/startup.conf. It seems that it is executed only when it is started by systemd (systemctl start vpp)? If I run "vpp unix interactive", it does not run the exec file, is this expected? I was running 17.10 debug build. My vpp crashed and I was not able to find core

Re: [vpp-dev] vpp building problem

2017-11-01 Thread John Wei
What you have done is build, you need to do the installation, and configuration (if needed), before you can start the service. Take a look at this link: https://wiki.fd.io/view/VPP/Installing_VPP_binaries_from_packages I am on CentOS, the build packages are under extras/rpm. If your build is succ

[vpp-dev] Question on the "routing" exercise in the VPP tutorial

2017-10-28 Thread John Wei
I am following this VPP tutorial using 17.10-rc2. https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial All works well, until I reached "7 Exercise: Routing " https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial#Ex

Re: [vpp-dev] Not able to see PCI NICs in show int

2017-10-27 Thread John Wei
uio_pci_generic :42:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb' if=p4p2 drv=ixgbe unused=uio_pci_generic On Fri, Oct 27, 2017 at 11:51 AM, John Wei wrote: > I am following the instructions below: > https://wiki.fd.io/view/VPP/How_To_Connect_A_PCI_Interface

[vpp-dev] Not able to see PCI NICs in show int

2017-10-27 Thread John Wei
I am following the instructions below: https://wiki.fd.io/view/VPP/How_To_Connect_A_PCI_Interface_To_VPP "show int" just returned one local0 device If a NIC is not shown in the "show int" output, I can't configure further. Need advice on how to get these PCI devices shown in "show int" John I a

Re: [vpp-dev] Can you ping ip of a host-interface from within VPP?

2017-10-26 Thread John Wei
> > If you are interested in contributing improvements I can help with > debugging and patches. > > > > Regards, > > Neale > > > > > > *From: * on behalf of John Wei < > johnt...@gmail.com> > *Date: *Thursday, 26 October 2017 at 03:02 > *T

[vpp-dev] Can you ping ip of a host-interface from within VPP?

2017-10-25 Thread John Wei
It seems that VPP can't ping the ip of a host-interface, is this expected? setup: ip link add name vpp1out type veth peer name vpp1host ip link set dev vpp1out up ip link set dev vpp1host up ip add add 10.10.1.1/24 dev vpp1host vppctl create host-interface name vpp1out vppctl set int state host-

[vpp-dev] a vppctl ping bug in 17.10-rc2?

2017-10-25 Thread John Wei
in 17.07.01 a vppctl ping works. It ping 5 times, then stop. in 17.10-rc2 same vppctl ping command, got aborted: 64 bytes from 10.10.2.2: icmp_seq=2 ttl=64 time=.3473 ms Aborted due to a keypress. I not familiar with the code yet. Just to file bug. :) John _

[vpp-dev] What can be traced?

2017-10-25 Thread John Wei
*vppctl trace add* af-packet-input 10 was mentioned in this write up: https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial#Action:_Add_trace Is there write-up on - list of things that we can turn on tracing? - what is the number "10" means? John ___ vp

Re: [vpp-dev] vppctl -s option?

2017-10-24 Thread John Wei
Hi Ray, I upgraded my vpp version to 17.10-rc2. And vppctl does accept -s option. Maybe we need to document that -s in only supported started 17.10? John On Tue, Oct 24, 2017 at 10:18 AM, John Wei wrote: > Add file output: > > file `type -p vppctl` > /bin/vppctl: Python script

Re: [vpp-dev] vppctl -s option?

2017-10-24 Thread John Wei
Add file output: file `type -p vppctl` /bin/vppctl: Python script, ASCII text executable On Tue, Oct 24, 2017 at 10:17 AM, John Wei wrote: > See the vppctl output below. > > Thanks s for the help. > John > > # vppctl show int > Name

Re: [vpp-dev] vppctl -s option?

2017-10-24 Thread John Wei
root 0 Oct 23 19:29 cli-vpp1.sock srwxrwxr-x. 1 root root 0 Oct 23 19:20 cli-vpp.sock On Tue, Oct 24, 2017 at 2:17 AM, Kinsella, Ray wrote: > Hi John, > That is strange. > Can you do a > > file 'type -p vppctl' > > And report back ? > > Thanks, > >

[vpp-dev] vppctl -s option?

2017-10-23 Thread John Wei
I was reading the VPP tutorial below: https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial#Exercise:_vpp_basics In the example, "vppctl -s /run/vpp/cli-vpp1.sock" was used. But, my vppctl does not support "-s" option. I have version v17.07.01. Do I need to get newer version to get support of "-s"

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-20 Thread John Wei
k set netVIP up On Thu, Oct 19, 2017 at 11:55 PM, Pierre Pfister (ppfister) < ppfis...@cisco.com> wrote: > http://lartc.org/howto/lartc.tunnel.gre.html > > Le 20 oct. 2017 à 08:47, John Wei a écrit : > > No, I did not configure gre tunnel on backend server. Since I was abl

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-19 Thread John Wei
nnel on backend servers ? > Can you show the full tcpdump capture on the backend server (with max > verbosity) ? > > Thanks, > > - pierre > > Le 20 oct. 2017 à 04:25, John Wei a écrit : > > Hi Pierre, > Thanks for the info, I was able to bring up the VPP LB node, wit

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-19 Thread John Wei
when sending tunnelled packets. > Since there is no return traffic with Maglev, this address does not need > to be one of VPP's addresses. But it should be properly routable toward VPP > to not cause drops due to ingress-filtering. > > Cheers, > > - Pierre > > > > &g

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-18 Thread John Wei
quot;vppctl show int"? Does VPP LB require special NIC? How about DPDK? - Do I need to set "vppctl lb conf "? Should that be the IP of the host where VPP LB is run? John On Wed, Oct 18, 2017 at 6:08 PM, John Wei wrote: > Hi Pierre, > I made further progress. > I did the

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-18 Thread John Wei
d what is the syntax - instead of load all the plugins in /usr/lib/vpp_plugins/, how to configure and load just one plugin? John On Wed, Oct 18, 2017 at 5:35 PM, John Wei wrote: > Hi Pierre, > I was using "yum install vpp and vpp-lib" and there was no plugins. > Now I build the w

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-18 Thread John Wei
h plugins > directory. > I'd suggest your try with adding "plugin_path " > to VPP's command-line arguments. > > - Pierre > > > Le 3 oct. 2017 à 20:40, John Wei a écrit : > > Pierre, > Thanks for the response. > I follow instructions to instal

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-03 Thread John Wei
you feel like something in particular is missing. > > - Pierre > > > > Le 30 sept. 2017 à 00:07, John Wei a écrit : > > I saw a VPP Load Balancer mentioned in this document: > > https://docs.fd.io/vpp/17.07/lb_plugin_doc.html > > But, I did not see installati

[vpp-dev] Load balancer plugin for VPP

2017-09-29 Thread John Wei
I saw a VPP Load Balancer mentioned in this document: https://docs.fd.io/vpp/17.07/lb_plugin_doc.html But, I did not see installation information. Can someone point me to where I can get download and setup instructions? Thanks John ___ vpp-dev mailing