We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Enable IP Address look up by address
Current implementation
- name: "Add IP address on GigabitEthernet4 - test100" networktocode.nautobot.ip_address_to_interface: url: "{{ nautobot_url }}" token: "{{ nautobot_token }}" ip_address: "{{ ip_address['key'] }}" interface: name: GigabitEthernet4 device: test100 vars: ip_address: "{{ lookup('networktocode.nautobot.lookup', 'ip-addresses', api_endpoint=nautobot_url, token=nautobot_token, api_filter='address=10.100.0.1/32') }}"
Desired implementation
- name: "Add IP address on GigabitEthernet4 - test100" networktocode.nautobot.ip_address_to_interface: url: "{{ nautobot_url }}" token: "{{ nautobot_token }}" ip_address: address: "10.100.0.1/32" interface: name: GigabitEthernet4 device: test100
I believe we just need to add an additional iteration to the module utils, but there may be additional changes required.
nautobot-ansible/plugins/module_utils/utils.py
Lines 168 to 169 in 7831e3e
The text was updated successfully, but these errors were encountered:
@joewesch can you assign this task to me if its okay with you?
Sorry, something went wrong.
pasanchamikara
No branches or pull requests
ISSUE TYPE
SUMMARY
Enable IP Address look up by address
Current implementation
Desired implementation
I believe we just need to add an additional iteration to the module utils, but there may be additional changes required.
nautobot-ansible/plugins/module_utils/utils.py
Lines 168 to 169 in 7831e3e
The text was updated successfully, but these errors were encountered: