> Vpp have changed it’s api string type many times, Could we keep it stable?
> In the interface.api.h.vapi.h, the name_filter, interface_name, admin_up_down
Yes, we have. My fault. Apologies.
Let's hope this incarnation will stick:
https://gerrit.fd.io/r/c/vpp/+/21492
There is still some work underway between 19.08 and 20.01 on more explicit
types in APIs.
e.g.:
u8 name[64] -> string name[64];
u32 sw_if_index -> vl_api_interface_index_t sw_if_index;
u8 is_ip6;
u8 address[16] -> vl_api_address_t address;
u8 mac_address[6] -> vl_api_mac_address_t mac_address;
These changes allow for auto-generating code to produce the API tracing
correctly.
It allows for the language bindings to distinguish between binary and text
strings.
It allows for auto-generated CLI to use interface-name instead of sw_if_index
and so on.
I haven't found a better way than we collectively endure some pain while this
process is ongoing...
Best regards,
Ole
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13899): https://lists.fd.io/g/vpp-dev/message/13899
Mute This Topic: https://lists.fd.io/mt/33136938/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-