Hello, I'm a developer interested in the VPP project. I have wrote my first
plugin for VPP, mostly in educational purposes. At now it can show used
protocols, headers information and payload on input and output.
I have some trouble with understanding VPP API. Please, help me to
understand it corre
Hi all,
I'm trying to setup bonding in mode 4 (LACP) between 2 VPP hosts and
I have encounterd the problem of no active slaves on bond interface. Both
hosts runs VPP v18.10-rc0. Same config runs perfect in other modes. Any
idea?
1st VPP config:
create bond mode lacp load-balance l23
bond add Bon
Hi Steven,
Thanks much for the answer. Yes, these 2 boxes’ interfaces are connected back
to back.
Both sides shows same diagnostics results, here is the output:
vpp# sh int
Name Idx State MTU (L3/IP4/IP6/MPLS) Counter
Count
BondEthernet0
In addition.. I have tried to configure LACP in dpdk section of vpp
startup.conf.. and I've got the same output:
startup.conf:
unix {
nodaemon
log /var/log/vpp/vpp.log
full-coredump
cli-listen /run/vpp/cli.sock
gid vpp
}
api-trace {
on
}
api-segment {
gid vpp
}
socksvr {
Hi all,
For test purposes I've installed VPP (v18.10-rc0) on 1'st host machine with
4 lan adapters on it. I trying to setup BVI loopback interface with ip
address to emulate network switch. 2'nd host with ip address 192.168.0.2/24
is connected to GigabitEthernet1/0/0. Interface GigabitEthernet1/0/
Hi Dave,
Thanks for quick reply.
I have updated VPP to v18.10-rc0~174-g6bd197eb
It works.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10171): https://lists.fd.io/g/vpp-dev/message/10171
Mute This Topic: https://lists.fd.io/mt/24533887/21656
Gr
Hi Steven,
GDB shows that the vlib_process_get_events function always return ~0, except
one time at start and lacp_schedule_periodic_timer is never runs after that.
It's looks the same on both sides.
I have added some debug info. Please look at the log:
### VPP1:9.58 ###
Hi Steven,
Thanks a lot for your help. It works!
Best whishes,
Aleksander
On Fri, Aug 17, 2018 at 07:08 PM, steven luong wrote:
>
>
>
> Aleksander,
>
>
>
>
>
>
>
> I found the CLI bug. You can easily workaround with it. Please set the
> physical interface state up first in your CLI s
Hello, all
I need to add some control functions for trasit TCP sessions. Could you
please help me to determine the correct way to implement such feature? At
now I plan to write the VPP node wich will push all of transit TCP
connections into the sessions main table in following manner:
tcon0 = ses
Hello,
I am trying to configure VPP for IGMP, but with this configuration it seems
doesn't work:
vpp# igmp listen enable int GigabitEthernet0/3/0
> vpp# sh igmp config
> vpp# trace add dpdk-input 10
> vpp# sh trace
> 16:38:35:357591: dpdk-input
> GigabitEthernet0/3/0 rx queue 0
> buffer 0x366
Hi Florin,
Many thanks for your help. I will think about it ) I think, I'll create right
thread pool for transit sessions.
Unfortunatelly, session_lookup_connection_wt4/6 is not work for me. I thought
that it was not intended for transit connections. At now VPP crashes when I
call it. Maybe it
Hi Neale,
Thank you for quick answer.
I want to configure VPP like a router.
Thanks in advans for any help,
Aleksander
On Mon, Aug 27, 2018 at 12:59 PM, Neale Ranns wrote:
>
>
>
> Hi Aleksander,
>
>
>
>
>
>
>
> To you want VPP to act like a host or a router?
>
>
>
>
>
>
>
> /
[Edited Message Follows]
Hi Neale,
Thank you for quick answer.
I want to configure VPP like a router.
Maybe it can help:
The function igmp_listen always returns VNET_API_ERROR_INVALID_INTERFACE error,
because igmp_config_lookup returns null.
The code comments says that the reason is that the in
[Edited Message Follows]
Hi Neale,
Thank you for quick answer.
I want to configure VPP like a router.
Maybe it can help:
The function igmp_listen always returns VNET_API_ERROR_INVALID_INTERFACE error,
because igmp_config_lookup returns null.
The code comments says that the reason is that the in
Hi, Neale
Many thanks!
I did the same job already ) My patch in attach.
I'm trying to test it now and will write later about results.
Best regards,
Aleksander
On Mon, Aug 27, 2018 at 05:40 PM, Neale Ranns wrote:
>
>
>
> Hi Aleksander,
>
>
>
>
>
>
>
> The API required to enable router
In addition to my previous message...
Unfortunatelly it's not work for me (
I need IGMPv2 support.. and I have found this comment:
/* TODO: IGMPv2 and IGMPv1 */
Is it in your nearest plans?
Certainly I also will try to do something by myself..
Regards,
Aleksander
-=-=-=-=-=-=-=-=-=-=-=-
Links:
Hi Everyone!
I am trying to parse binary ELOG file, but have no success.
Is there someone who know something about ELOG file format?
At now I'm trying to get the unix timestamp of the each event.
I had found small python script here:
https://github.com/theleos88/vpp-bench/wiki/ELOG
...but it's no
Thanks Florin! Thanks Damjan!
I know about these tools, but both of them uses elog_read_file function, which
is described in elog.h
This function consist of 3 other functions: unserialize_open_clib_file,
unserialize and unserialize_close.
If I right, the elog file parsing should be in unserializ
Correction: I've found all of unserialize_* functions. Trying to understand..
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10777): https://lists.fd.io/g/vpp-dev/message/10777
Mute This Topic: https://lists.fd.io/mt/26875131/21656
Group Owner: vpp-
Hi Florin,
Thank you very much! It works now.
1) Why you use such big memory size value (256 << 20) in
clib_mem_init_thread_safe ?
Maybe we must to calculate the required size?
sizeof(elog_main_t) + elog_file_size ?
2) I've calculate start time of a log from init_time:
elog_main_t *em = &elog_m
Hello,
I am trying to connect to remote VPN server using PPTP protocol through VPP.
All of the packets except LCP are transmitted well. LCP packets are
intercepted by gre4-input, which drops them with "unsupported version"
reason:
01:28:52:011029: ip4-local
GRE: 192.168.9.97 -> 192.168.12.90
Hello,
I need to configure proxy-arp in VPP, but it seems doesn't work in my case.
Please help me to understand the mistake.
In classic Proxy-ARP test scheme I have 2 clients and one VPP host as a
router.
host A with IP 10.0.1.2/8 connected to VPP interface 0/8/0 with IP
10.0.1.0/24
host B with
Hi all,
In my opinion, the event-logger cli command has uncomfortable format of
output. I have small suggestion about it. I think that the event-logger
output should be printed in following manner:
vpp# show event-logger
> 72 of 131072 events in buffer, logger running
> 2019/10/31 09:18:36:937: a
Hi Dave,
Thank you very much for your reply. I think it can be useful to discuss this
patch here at first. As I see, we looks at these things little bit differently )
I'm use event-logger mostly for registering such fast events as ACL filter
matching. I think that the human-readable format is be
Hi Dave, Thanks!
Now it looks like this:
> show event-logger [all] [] [delta|no-delta|date-time]
Updated patch:
https://gerrit.fd.io/r/c/vpp/+/23146
On Thu, Oct 31, 2019 at 04:47 PM, Dave Barach wrote:
>
>
>
> Yes, we see things differently. I never look at elog data in the debug
> CLI. I sa
Sample output:
>
> vpp# show event-logger 2
> 82 of 131072 events in buffer, logger running
> 19.946551561: api-msg: trace_plugin_msg_ids
> 19.946557011: api-msg-done(mp-safe): trace_plugin_msg_ids
> vpp# show event-logger 2 no-delta
> 82 of 131072 events in buffer, logger running
> 1572533201.20
Dave,
Thanks for your explanation!
In my opinion, it depends on what the "is_mp_safe" flag actually means. If all
the functions are actually thread-safe and these barrier synchronization calls
are required mainly for debugging, then I suggest the following:
#if CLIB_DEBUG > 0
if (!c->is_mp_safe
Hello Everyone,
I have a small set of the fixes for VPP, but unfortunatelly right now, I have
no time for pushing the code with git review.
I hope that these fixes are very useful for the project and I would be very
happy if someone could do it instead of me.
In any case I hope that these fixes
On Mon, Jan 13, 2020 at 01:20 PM, Ole Troan wrote:
>
> would you mind elaborating why you want the Python representation of an IP
> prefix to be a dictionary of address and length as opposed to an
> IPv6Network/IPv4Network object?
Hi Ole!
Thanks! It's strange, but the IPv[46]Network method some
Yes. This fix still needed. Please take a look at the test below:
> import ipaddress
> ipaddress.IPv4Network(( u'192.168.0.222' , 24 ), False )
IPv4Network(u'192.168.0.0/24')
The IPv4Network method should not be used here, because in functions like an
ip_address_dump or ip_route_dump we expect t
Sorry, you are absolutely right. It's no issues here. In my VPP v19.08-stable I
have no commit 75761b93.
Thanks!
Aleksander
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15143): https://lists.fd.io/g/vpp-dev/message/15143
Mute This Topic: https://
Hi!
Probably this patch can help:
https://gerrit.fd.io/r/c/vpp/+/24341
Regards
---
Aleksander
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15180): https://lists.fd.io/g/vpp-dev/message/15180
Mute This Topic: https://lists.fd.io/mt/69689561/21656
32 matches
Mail list logo