[Feature Request]: Add "New" as state for netbox_mac_address #1403
David-Kahn-CA
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Proposed Functionality
Create a new mac_address object vs updating an existing object when state is set to new. This should function similar to how the new state works in the netbox_ip_address module for anycast addresses.
Use Case
In our EVPN VXLAN fabric we utilize anycast interfaces for L3 traffic routing. All leaf switches which share the same anycast address share the same mac address for the anycast interfaces. As such we create a mac_address object in Netbox per anycast interface per leaf switch. This results in many records that we currently have to create manually, we are looking to automate this task.
Currently the module will update the mac_address object to the last defined item in the loop when given a state of present.
With the following variable:
And the following task:
Beta Was this translation helpful? Give feedback.
All reactions