Skip to content

Increase support of DHCP relay servers under networks from 3 to 16 #506

@miguecor

Description

@miguecor

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

Description

Currently the ansible-dcnm module only has support for 3 DHCP relay servers created under the networks. however, according to the NDFC documentation, the native support is for 16 relay servers:
Cisco NDFC-Fabric Controller Configuration Guide, Release 12.1.2e

New or Affected modules(s):

  • dcnm_interface.py
  • dcnm_network.py

DCNM version

  • V 3.2.2

Potential ansible task config

There are currently 3 static cases for 1-3 DHCP relay servers to be added to the individual networks. The fix would be to add the other 13 static cases to increase the number of servers that can be added to the max number of 16.

There will also be the need to modify the unit-testing to reflect these changes.

- name: Ensure networks exist with desired parameters
      cisco.dcnm.dcnm_network:
        fabric: nac-fabric1
        state: merged
        config:
          - net_name: NaC-Net01
            vrf_name: NaC-VRF01
            net_id: 130001
            vlan_id: 2301
            gw_ip_subnet: 192.168.12.1/24
            attach:
              - ip_address: 10.12.138.31
              - ip_address: 10.12.138.32
              - ip_address: 10.12.138.33
              - ip_address: 10.12.138.34
              - ip_address: 10.12.138.35
              - ip_address: 10.12.138.36
              - ip_address: 10.12.138.37
              - ip_address: 10.12.138.38
              - ip_address: 10.12.138.39
              - ip_address: 10.12.138.40
              - ip_address: 10.12.138.41
              - ip_address: 10.12.138.42
              - ip_address: 10.12.138.43
              - ip_address: 10.12.138.44
              - ip_address: 10.12.138.45
              - ip_address: 10.12.138.46

References

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions