Re: [vpp-dev] Up to date documentation for working with vpp_api 2.0.0?

2022-07-12 Thread Dave Houser
@Pim, Thank you! I saw the VPPApiClient Class, just didn't know how to use it. Your example should give me good direction going forward. - Dave -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21646): https://lists.fd.io/g/vpp-dev/message/21646 Mut

Re: [vpp-dev] Up to date documentation for working with vpp_api 2.0.0?

2022-07-12 Thread Pim van Pelt
Hi Dave, That documentation is out of date, and the class is VPPApiClient. Here's a quick demo script for you: from vpp_papi import VPPApiClient from vpp_papi import VppEnum import os import fnmatch import sys vpp_json_dir = '/usr/share/vpp/api/' # construct a list of all the json api fil

Re: [vpp-dev] Up to date documentation for working with vpp_api 2.0.0?

2022-07-12 Thread Dave Houser
Also "acl_add_replace" does not work directly from vppctl ``` sudo vppctl acl_add_replace ? unknown input `acl_add_replace ?' ``` However when I am in VAT I can run the command. Am I missing a module in VPP? ``` $ sudo vppctl show plugin Plugin path is: /usr/lib/x86_64-linux-gnu/vpp_plugins

[vpp-dev] Up to date documentation for working with vpp_api 2.0.0?

2022-07-12 Thread Dave Houser
Hello, I am new to working with the vpp-api. I tried reading the documentation found here ( https://wiki.fd.io/view/VPP/Python_API ) , however I am unable import "VPP" from "vpp_papi". Looking at the source for "/usr/lib/python3/dist-packages/vpp_papi/vpp_papi.py", there is no class called "VP

[vpp-dev] The position of ipsec4-output-feature in the arc ip4-output

2022-07-12 Thread Guangming
Hi All, When I test VPP ipsec with version 2110, I found the node ipsec4-output-feature is the last node in ARC ip4-output. So when use SPD in ipsec. if there is big packet that was fragment when output . When the fragment packet was input ipsec4-output-feature node. the other packet exp