Hi there, > I am running the latest vpp code from master branch. > I am looking at the python APIs that vpp provides. > I am specifically trying to find the API for the following cli command - > create host-interface <interface-name> [] > > I could not find where exactly this is defined in the json files in > /usr/shar/vpp/api/ > Or is this not supported through API ?
Looks like we're not quite consistent on naming. It is this API you are looking for I think: /** \brief Create host-interface @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param host_if_name - interface name @param hw_addr - interface MAC @param use_random_hw_addr - use random generated MAC */ define af_packet_create { u32 client_index; u32 context; u8 host_if_name[64]; u8 hw_addr[6]; u8 use_random_hw_addr; }; Best regards, Ole
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev