> On Aug 21, 2019, at 8:32 AM, Damjan Marion <[email protected]> wrote:
> 
>> 
>> On 21 Aug 2019, at 17:15, Florin Coras <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Interesting. Want to push a patch to change async_enable or something like 
>> that here [1]? Or I can do that. 
>> 
>> Florin
>> 
>> [1] 
>> https://git.fd.io/vpp/diff/src/plugins/tlsopenssl/tls_openssl.api?id=be4d1aa 
>> <https://git.fd.io/vpp/diff/src/plugins/tlsopenssl/tls_openssl.api?id=be4d1aa>
>> 
>>> On Aug 21, 2019, at 7:41 AM, Damjan Marion via Lists.Fd.Io 
>>> <[email protected] <mailto:[email protected]>> wrote:
>>> 
>>> 
>>> May be due to the fact that I use newer ubuntu version, but i’m not able to 
>>> build VPP on master.
>>> 
>>> This is error message I get:
>>> 
>>> [1283/1678] Generating API header 
>>> /home/damarion/cisco/vpp8/bui...build-vpp_debug-native/vpp/plugins/tlsopenssl/tls_openssl.api.h
>>> FAILED: plugins/tlsopenssl/tls_openssl.api.h
>>> cd 
>>> /home/damarion/cisco/vpp8/build-root/build-vpp_debug-native/vpp/plugins/tlsopenssl
>>>  && mkdir -p 
>>> /home/damarion/cisco/vpp8/build-root/build-vpp_debug-native/vpp/plugins/tlsopenssl
>>>  && /home/damarion/cisco/vpp8/src/tools/vppapigen/vppapigen --includedir 
>>> /home/damarion/cisco/vpp8/src --input 
>>> /home/damarion/cisco/vpp8/src/plugins/tlsopenssl/tls_openssl.api --output 
>>> /home/damarion/cisco/vpp8/build-root/build-vpp_debug-native/vpp/plugins/tlsopenssl/tls_openssl.api.h
>>> ValueError: Fieldname 'async' is a python keyword and is not accessible via 
>>> the python API.
>>> 
>>> 
>>> And looks like reverting [1] helps….
>>> 
>>> [1] https://git.fd.io/vpp/commit/?id=be4d1aa 
>>> <https://git.fd.io/vpp/commit/?id=be4d1aa>
>>> 
> 
> It sounds to me like right solution to the problem is to avoid python 
> keyword-related constrains in API msg fields.
> 
> Next time they may add new keyword and break existing API definitions….

Agreed. I suspect the issue is that we pass those fields as named params in 
python apis, but Ole should know the actual answer. 

Florin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13801): https://lists.fd.io/g/vpp-dev/message/13801
Mute This Topic: https://lists.fd.io/mt/32978936/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
  • ... Damjan Marion via Lists.Fd.Io
    • ... Florin Coras
      • ... Damjan Marion via Lists.Fd.Io
        • ... Florin Coras
          • ... Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io

Reply via email to