[vpp-dev] Pinging a neighbor generates duplicate echo requests #vpp #vpp-dev

2020-12-28 Thread hyongsop
Hi, I have a network that consists of a number of docker containers running on the same host, and vpp (v20.09) is running on one of them.  The vpp has two interfaces (created via 'create host-interface').  The problem is that when I ping an interface's neighbor in 'vppctl' with a single echo re

Re: [vpp-dev] Pinging a neighbor generates duplicate echo requests #vpp #vpp-dev

2021-01-07 Thread hyongsop
Hi, (My apologies for being unable to check in earlier)  It turned out this was due to a local network issue, not vpp, which was simply routing the packets it sees on the interface in question. Thanks --Hyong -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Repl

[vpp-dev] vpp_api_test (vat) and acl_plugin newbie questions #vpp #vpp-dev #vat #vapi

2021-01-07 Thread hyongsop
Hi, I have a docker container (ubuntu:20.04) with vpp binaries installed from prebuilt packages as described, for example, in: https://wiki.fd.io/view/VPP/Installing_VPP_binaries_from_packages While vpp itself is working fine (as a router), we haven't been able to work with 'acl_plugin.'  Using

[vpp-dev] Newbie question about Creating and Replacing ACL Rule #vpp-dev #vpp #vapi

2021-01-18 Thread hyongsop
Hi all, I'm using the python api to create a ACL rule and apply it to the egress side of an interface.  The VPP version = 20.09-release, and the ACL plugin version is 1.4. The rule is to block all the packets addressed to a host's address at port .  When the rule is added to the interface,

Re: [vpp-dev] Newbie question about Creating and Replacing ACL Rule #vpp-dev #vpp #vapi

2021-01-18 Thread hyongsop
Hi, Thanks for the great info!  I'll take a look at the test code and apply to my own testing. Thanks, --Hyong -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18540): https://lists.fd.io/g/vpp-dev/message/18540 Mute This Topic: https://lists.fd.io

[vpp-dev] A newbie question: "VPP worker threads" vs "vcl worker threads" #vppcom #hoststack

2021-02-24 Thread hyongsop
Hi, Are the VPP worker threads, configured in the 'cpu {' section of 'startup.conf', the same as the "workers" or "worker threads" referred to in the context of host stack / vppcom applications?  The answer seems to be no, looking at the implementation of 'vppcom_worker_register()' but wanted t

[vpp-dev] Newbie question: best practice for getting data from plugins? #vpp #vppcapi #vapi

2021-02-25 Thread hyongsop
Hi, Say we will have Plugin A that needs to: 1. Receive packets at an interface 2. Update some state about received packets 3. Send the updated state to another "function" for further processing 4. Forward received packets to the next node What would be the best practice for the design of Step 3

[vpp-dev] Python API fails to connect to vpp #vapi #vpp_papi #vpp

2021-08-09 Thread hyongsop
Hi, I have a python script that uses 'vpp_papi' to try to connect to the 'vpp' running on the local host.  It's based on my reading of the source code in 'src/vpp-api/python/vpp_papi'.  One problem I'm running into is that the client fails to connect to the vpp with the error message: > > >

Re: [vpp-dev] Python API fails to connect to vpp #vapi #vpp_papi #vpp

2021-08-10 Thread hyongsop
Hi Ole, Thanks for the info, and using 'use_socket=True' did solve the issue ('VPPApiClient' was already in use as it was imported as 'VPP' in my code).  Out of curiosity, why is the python shared memory transport deprecated? Thanks again, --Hyong -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

[vpp-dev] Build Error for "make install-ext-deps" #vpp-dev #dpdk

2021-08-12 Thread hyongsop
Hi, I'm trying to build the external packages for 'stable/2106'.  The only change I made to the default config files is in 'build/external/packages/dpdk.mk': ``` DPDK_MLX5_PMD                ?= y DPDK_MLX5_COMMON_PMD         ?= y ``` With the above, 'make install-ext-deps' stops with an error: .

[vpp-dev] Is it possible to configure a plugin to run after acl plugin?

2023-01-06 Thread hyongsop
Hi, We have a set of plugins running in the 'device-input' feature arc.  We also have a set of ACL rules applied at the inbound side of an interface.  It turns out we need to run a plugin so that it only processes the packets after the ACL rules have been applied to the inbound traffic.  Is the