Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VLAN encap: none #23

Merged
merged 2 commits into from
Feb 20, 2024
Merged

VLAN encap: none #23

merged 2 commits into from
Feb 20, 2024

Conversation

vjardin
Copy link
Contributor

@vjardin vjardin commented Feb 20, 2024

Add the support for no incoming VLAN.
TBD: should we have a CLI command for the egress VLAN ?

Dummy commit for EOF
Per the BPF program gtp_fwd.bpf encap VLAN is optional. If 0, it means
no VLAN header.

So let's support the same from the CLI.

For debugging, let's dump all the content of the BPF map.

TODO:
  write terminal keep dumping 1 single gtpu-ipip tunnel for the latest
  traffic-selector. Since the map could have many traffic-selector, the
  write terminal should vty_out all the entries.

  re-issuing the same CLI gtpu-ipip traffic-select N command does lead
  to an error since it is processed as an ADD rule instead of an UPDATE
  rule.

  add `no gtpu-ipip traffic-selector` in order to drop some.
@acassen acassen merged commit c8a07a1 into acassen:main Feb 20, 2024
4 checks passed
@vjardin vjardin deleted the vlan_wildcard branch February 21, 2024 07:40
@vjardin vjardin restored the vlan_wildcard branch April 30, 2024 05:59
@vjardin vjardin deleted the vlan_wildcard branch April 30, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants