Hey Audience,

Guess what!  (What?)

I have another set of questions!

This time, VLAN/Subif related.  Start with the easy one:  Is the API call
create_vlan_subif slated for removal or deprecation?  I think it should be.
It seems to me to be totally redundant and a subset of the more general
API call create_subif.  Under the covers, they resolve to an identical SW
interface creation function as well.  Or have I missed something here?

So the mystery question now:  Why is there no mechanism to delete an
L2 interface VLAN tag rewrite rule?  Sure, one can apply a "disable"
operation to the subif, but that is not the same as removing the rewrite
rule.  Is it expected that the user will just remove the whole subif to
achieve this effect?

And the question of inconsistency:  Why does the l2_interface_vlan_tag_rewrite
API call only use u32 values, even for fields that are clearly only, say, a u16
or u8?  Seems like everywhere else things have been meticulously sized; just
not on this call.

Thanks,
jdl
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to