Re: [vpp-dev] Python API binding support for ipaddress objects

2018-12-11 Thread pvinci
-1 on a completely new set of API function wrappers. If I wanted to provide a means for backward compatibility, I would add a NO_TYPE_CONVERSION_DEFAULT (although I like LEGACY_TYPE_CONVERSION_DEFAULT) default value to the class instead of hardcoding the boolean and the consumer can create a

[vpp-dev] Python API binding support for ipaddress objects

2018-12-11 Thread Ole Troan
Hi, In https://gerrit.fd.io/r/#/c/16431/ I have added support for ipaddress objects for API calls that use one of the following types: vl_api_address_t, vl_api_ip4_address, vl_api_ip6_address_t, vl_api_prefix_t, vl_api_ip4_prefix_t, vl_api_ip6_prefix_t The calls will still support the