On Tue, Dec 17, 2019 at 8:13 AM John Lo (loj) via Lists.Fd.Io <loj= cisco....@lists.fd.io> wrote:
> > Thus, sub-interface with "inner-dot1q any" is not an exact match > sub-interface by definition since no match is present on inner tag. > > I suppose the CLI: > >> create sub-interfaces GigabitEthernet3/0/3 50 dot1ad 50 inner-dot1q any > exact-match > should have been rejected as exact match cannot be supported on the > sub-interface. This is something we should ideally fix in the CLI to avoid > any confusion with the meaning of exact match. > > Regards, > John > Hi John, I have two questions here. First, a clarification on what combinations of options should be rejected. Are you saying that the pair "inner-dot1q any" should be rejected, or are you saying the trio "inner-do1q any exact match" should be rejected. I suspect you are meaning the latter. Second, while rejecting it in the CLI would be nice, that would still allow the configuration via the API, right? So it might be better to reject it one layer down so it is caught by both the CLI and the API. Thanks, jdl
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14921): https://lists.fd.io/g/vpp-dev/message/14921 Mute This Topic: https://lists.fd.io/mt/68757125/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-