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

[FEATURE]: Enable and configure SAG #514

Open
fzakfeld opened this issue Feb 25, 2025 · 1 comment · May be fixed by #491
Open

[FEATURE]: Enable and configure SAG #514

fzakfeld opened this issue Feb 25, 2025 · 1 comment · May be fixed by #491

Comments

@fzakfeld
Copy link

Describe the solution you'd like
I'd like to have the option to enable and configure SAG, including IPv4 and IPv6 anycast adresses.

Describe alternatives you've considered
Use RESTCONF

- name: Configure SAG
  dellemc.enterprise_sonic.sonic_api:
    url: data/sonic-sag:sonic-sag
    method: "PATCH"
    body:
      sonic-sag:sonic-sag:
        SAG:
          SAG_LIST: "{{ sonic_sag_list }}"
        SAG_GLOBAL:
          SAG_GLOBAL_LIST:
            - IPv4: enable
              IPv6: enable
              gwmac: "{{ sonic_sag_virtual_mac }}"
              table_distinguisher: IP
    status_code: 204
  when: sonic_sag_enabled
  notify: Write sonic restconf config

Additional context
sonic_l3_interfaces supports setting IPv4 anycast addresses but not IPv6, and enabling SAG is not supported at all.

Community Note

  • Please vote on this issue by adding a 👍 reaction
    to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions,
    they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@ArunSaravananBalachandran
Copy link
Collaborator

IPv4 and IPv6 SAG can be enabled/disabled using 'sonic_system' module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants