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

Implement ip-helper for dhcp-relay #345

Merged
merged 4 commits into from
Nov 16, 2020
Merged

Implement ip-helper for dhcp-relay #345

merged 4 commits into from
Nov 16, 2020

Commits on Nov 3, 2020

  1. Implement ip-helper for dhcp-relay #312

    Apply data model from eos_cli_config_gen in eos_l3ls_evpn
    
    ```
    tenants:
      # Tenant A Specific Information - VRFs / VLANs
      Tenant_A:
        mac_vrf_vni_base: 10000
        vrfs:
          TENANT_A_PROJECT01:
            vrf_vni: 11
            svis:
              311:
                name: 'PR01-TRUST-DHCP'
                tags: [POD01]
                enabled: true
                ip_address_virtual: 10.1.31.254/24
                ip_helpers:
                  1.1.1.1:
                    source_interface: lo100
    ```
    
    Rendering is as below for eos_cli_config_gen:
    
    ```
      Vlan311:
        tenant: Tenant_A
        tags: ['POD01']
        description: PR01-TRUST-DHCP
        vrf: TENANT_A_PROJECT01
        ip_address_virtual: 10.1.31.254/24
        ip_helpers:
          1.1.1.1:
            source_interface: lo100
            vrf: TENANT_A_PROJECT01
    ```
    
    And EOS configuration:
    
    ```
    interface Vlan311
       description PR01-TRUST-DHCP
       vrf TENANT_A_PROJECT01
       ip address virtual 10.1.31.254/24
       ip helper-address 1.1.1.1 vrf TENANT_A_PROJECT01  source-interface lo100
    ```
    titom73 committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    e01e83c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7247c9e View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2020

  1. Add support for source_vrf for ip_helpers #312

    Add knob to support source VRF to originate packets. If not set, current
    VRF is used
    titom73 committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    569ce0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ffa1c33 View commit details
    Browse the repository at this point in the history