> All available api are represented in python.

That is one part of it.
Not every "available" message is useable,
as some messages need corresponding VPP plugins,
which may be disabled.

>> all available Python modules to use in VPP API.

It depends on what do you mean by "Python module".
If you mean "usable messages",
you can examine the message table [0]
after PAPI has connected to a running VPP.

Vratko.

[0] 
https://github.com/FDio/vpp/blob/66d10589f412d11841c4c8adc0a498b5527e88cb/src/vpp-api/python/vpp_papi/vpp_papi.py#L834-L836

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Ole Troan
Sent: Friday, 2020-November-13 15:51
To: Marcos - Mgiga <mar...@mgiga.com.br>
Cc: vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] Python API modules

Hi Marcos,


On 13 Nov 2020, at 15:08, Marcos - Mgiga 
<mar...@mgiga.com.br<mailto:mar...@mgiga.com.br>> wrote:



Hello There,

I believe this is a trivial question, but where / how can I get a list of all 
avaialble Python modules to use in VPP API.


You can’t.
They are auto generated from the available json representations of .api files.
All available api are represented in python.

Cheers
Ole




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18014): https://lists.fd.io/g/vpp-dev/message/18014
Mute This Topic: https://lists.fd.io/mt/78229638/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

  • ... Marcos - Mgiga
    • ... Ole Troan
      • ... Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco)
        • ... Paul Vinciguerra
          • ... Marcos - Mgiga
          • ... Ole Troan
            • ... Paul Vinciguerra
              • ... Ole Troan
                • ... Paul Vinciguerra
          • ... Ole Troan
            • ... Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via lists.fd.io

Reply via email to