Re: [vpp-dev] cmake is on
Hi Damjan, I've encountered non install-able rpm package was build after this changes. $ make pkg-rpm $ sudo rpm -Uvh vpp-*327_g004869d0*rpm error: Failed dependencies: libsvm.so.18.10()(64bit) is needed by vpp-18.10-rc0~327_g004869d0.x86_64 Reason is built shared lib naming format was changed, that prevent from including package specified by spec file. Before, lib are named like "lib64/libsvm.so. *0.0.0* " Now, named as "lib64/libsvm.so. *18.10* " Patch below works on my environment but not sure whether it's a right way to fix this. diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec index 555e9444..fd708f20 100644 --- a/extras/rpm/vpp.spec +++ b/extras/rpm/vpp.spec @@ -192,7 +192,7 @@ install -p -m 644 %{_mu_build_dir}/../src/vpp/conf/80-vpp.conf %{buildroot}/etc/ mkdir -p -m755 %{buildroot}%{_libdir} mkdir -p -m755 %{buildroot}/etc/bash_completion.d mkdir -p -m755 %{buildroot}/usr/share/vpp -for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/*/lib* -type f -name '*.so.*.*.*' -print ) +for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/*/lib* -type f -name '*.so.*.*' -print ) do install -p -m 755 $file %{buildroot}%{_libdir} done Please advice. Thanks, Mori -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10382): https://lists.fd.io/g/vpp-dev/message/10382 Mute This Topic: https://lists.fd.io/mt/25155374/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] How to add plugin's statistics into stats thread
Hi folks, Are there any suggestions for this? Basically we want have effective method to calculate statistics like pps for cps inside plugin. Thanks, Mori From: "Ni, Hongjun"Date: Monday, May 7, 2018 16:21 To: "Jerome Tollet (jtollet)" , vpp-dev Cc: "Mori, Naoyuki" , Yusuke Tatsumi Subject: RE: [vpp-dev] How to add plugin's statistics into stats thread Hi Jerome, We would like to add LB plugin statistics, including per- VIP connections and per-AS connections for each VIP. Frequency is configurable, 1 second is better. Data of volume depends on the number of VIPs and Ass. Please refer to below patch for details: https://gerrit.fd.io/r/#/c/12146/2/src/plugins/lb/lb.api Thank you, Hongjun From: Jerome Tollet (jtollet) [mailto:jtol...@cisco.com] Sent: Monday, May 7, 2018 3:15 PM To: Ni, Hongjun ; vpp-dev Cc: Mori, Naoyuki ; Yusuke Tatsumi Subject: Re: [vpp-dev] How to add plugin's statistics into stats thread Hi Hongjun, Could you elaborate a bit on the kind of statistics you’d like to create? Frequency and volume of data may be interesting inputs. Jerome De : > au nom de "Ni, Hongjun" > Date : lundi 7 mai 2018 à 07:43 À : vpp-dev > Cc : "Mori, Naoyuki" >, Yusuke Tatsumi > Objet : [vpp-dev] How to add plugin's statistics into stats thread Hi all, We want to add plugin’s statistics into VPP stats thread. But it seems that current stats thread only support codebase (i.e. vnet) statistics. Is there some mechanism to support adding plugin’s statistics into stats thread? Thanks, Hongjun