Skip to content

Support for the “use_default_mgmt_method_vrf” knob with DHCP relay #6745

@dgonzalez-arista

Description

@dgonzalez-arista

Enhancement summary

Enhance current DHCP relay configuration in network services in eos_designs to support the knob "use_default_mgmt_method_vrf":

ip_helpers:
            # IPv4 DHCP server IP.
          - ip_helper: <str; required; unique>
           # Interface name.
           source_interface: <str>
           # VRF to originate DHCP relay packets to DHCP server. If not set, uses current VRF.
            source_vrf: use_default_mgmt_method_vrf <<-----

This will automatically use the OOB management VRF or the in-band management VRF, where the DHCP server is typically reachable.

Which component of AVD is impacted

eos_designs

Use case example

Enhance DHCP relay configurations to use the knob "use_default_mgmt_method_vrf". This allows to set the same configuration whether the fabric is OOB, Inband, etc since eos_designs will automatically configure it accordingly.

Describe the solution you would like

See above

Describe alternatives you have considered

currently configuring explicitly the VRF name

Additional context

No response

Contributing Guide

  • I agree to follow this project Code of Conduct

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions