Hi Pierre, Sorry for the spam, I made further progress and don't want to waste your time answering questions that I already found answer. - Once I got lb pluging loaded properly, I was able to configure it using vppctl Remaining questions: - why I am got just "local0" device from "vppctl show int"? Does VPP LB require special NIC? How about DPDK? - Do I need to set "vppctl lb conf <ip4-src-address>"? 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 <johnt...@gmail.com> wrote: > Hi Pierre, > I made further progress. > I did the "rpm -i vpp-plugins-17.07.01-release.x86_64.rpm", and got > plugin installed. > I updated the /etc/vpp/startup.conf file, and how I can see plugins using > "vppctl show plugins". > My questions remains are: > - how to configure lb and 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 <johnt...@gmail.com> wrote: > >> Hi Pierre, >> I was using "yum install vpp and vpp-lib" and there was no plugins. >> Now I build the whole vpp source, including plugins, and added >> plugin_path /<home_dir>/vpp/extras/rpm/vpp-17.07.01/build-root/build-vpp >> -native/vpp/plugins >> to /etc/vpp/startup.conf file. Then restarted vpp.service. >> Now >> - how to do know that VPP lb plugin is loaded >> - I still cant find the "lb" command. I guess it is really not a command. >> But, where I need to add these "lb" configuration and what is the syntax? >> - In the monitoring section, it mentioned "show lb, show lv vips, .." Are >> they subcommands for vppctl? I tried and it does not work. >> >> John >> >> >> On Tue, Oct 3, 2017 at 11:19 PM, Pierre Pfister (ppfister) < >> ppfis...@cisco.com> wrote: >> >>> Do you start VPP with the 'make run' command ? >>> >>> It looks like the way you start VPP, it doesn't specify the righ plugins >>> directory. >>> I'd suggest your try with adding "plugin_path >>> </path/to/plugin/directory>" to VPP's command-line arguments. >>> >>> - Pierre >>> >>> >>> Le 3 oct. 2017 à 20:40, John Wei <johnt...@gmail.com> a écrit : >>> >>> Pierre, >>> Thanks for the response. >>> I follow instructions to install VPP: >>> https://wiki.fd.io/view/VPP/Installing_VPP_binaries_from_packages >>> That gives me vpp utility. There is no lb command. >>> I did a build of vpp by follow the instructions below to build vpp on >>> linux >>> https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hack >>> ing_and_Pushing_VPP_Code#Linux >>> I found "lb" in the plugins directory. >>> >>> But, how to bring up vpp with lb plugin? I hoping to see some >>> instructions that I can follow to try this VPP lb. >>> >>> John >>> >>> >>> On Sun, Oct 1, 2017 at 11:55 PM, Pierre Pfister (ppfister) < >>> ppfis...@cisco.com> wrote: >>> >>>> Hello John, >>>> >>>> The LB plugin comes with VPP by default (no need for additional >>>> download, sources are in src/plugins/lb). >>>> >>>> As far as instructions are concerned, I am afraid the link you pointed >>>> to is all there is for now. >>>> But please ask if you feel like something in particular is missing. >>>> >>>> - Pierre >>>> >>>> >>>> >>>> Le 30 sept. 2017 à 00:07, John Wei <johnt...@gmail.com> 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 installation information. >>>> Can someone point me to where I can get download and setup instructions? >>>> >>>> Thanks >>>> John >>>> >>>> _______________________________________________ >>>> vpp-dev mailing list >>>> vpp-dev@lists.fd.io >>>> https://lists.fd.io/mailman/listinfo/vpp-dev >>>> >>>> >>>> >>> >>> >> >
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev