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

eos_designs: VARPv6 config is not generated even when "ipv6_enable: true" is specified #4203

Closed
1 task done
bjmeuer opened this issue Jul 11, 2024 · 2 comments · Fixed by #4208
Closed
1 task done
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@bjmeuer
Copy link
Contributor

bjmeuer commented Jul 11, 2024

Issue Summary

When I have "ipv6_enable: true" set I expect the ipv6_virtual_router_addresses config to work, but it does not. Reason is that in the code it is only checked if an "ipv6 address" is configured on the SVI:

Current code:

        # Only set VARPv6 if ipv6_address is set
        if vlan_interface_config["ipv6_address"] is not None:
            vlan_interface_config["ipv6_virtual_router_addresses"] = svi.get("ipv6_virtual_router_addresses")
            _check_virtual_router_mac_address(vlan_interface_config, ["ipv6_virtual_router_addresses"])

Which component(s) of AVD impacted

eos_designs

How do you run AVD ?

Ansible CLI with AVD Runner

Steps to reproduce

tenants:
  - name: All-Switches
    mac_vrf_vni_base: 10000

    vrfs:
      - name: HOSTING
        vrf_id: 1
        mlag_ibgp_peering_vlan: 4093
        ...
        svis:
          - id: 10
            name: hosting
            tags: ['fabric']
            description: hosting SVI
            enabled: true
            ip_address_virtual: 1.1.1.1/24
            ipv6_enable: true
            ipv6_virtual_router_addresses:
              - fe80::1

Relevant log output

No response

Contributing Guide

  • I agree to follow this project's Code of Conduct
@gmuloc
Copy link
Contributor

gmuloc commented Jul 12, 2024

the current code actually points out this # Only set VARPv6 if ipv6_address is set I am not sure what is the reason but I would not call this a bug but an enhancement as it seems it was done on purpose

@gmuloc gmuloc added this to the v4.10.0 milestone Jul 16, 2024
@ClausHolbechArista ClausHolbechArista modified the milestones: v4.10.0, v5.0.0 Jul 23, 2024
@ClausHolbechArista
Copy link
Contributor

Pushing to 5.0 accepted by @bjmeuer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
3 participants