The value of retval from the 2nd reply can be looked up in
src/vnet/api_errno.h:
_(VLAN_ALREADY_EXISTS, -56, "VLAN subif already exists")
The attempt to create a VLAN subif is failing because the one you're trying
to create has already been created.
On Sat, Oct 2, 2021 at 3:23 AM Eyle Brinkhuis
Hi,
While using a small piece of python code to create a vlan subinterface, we get
some unexpected returns:
We run:
vpp.api.create_vlan_subif(sw_if_index=3, vlan_id=101);
The return for this varies, one time it is:
create_vlan_subif_reply(_0=121, context=4, retval=0, sw_if_index=5)
But it is