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
1.0.1
ansible 2.10.6
v1.0.0b2
v1.03
using the device_interface module to assign a lag will fail.
# assigning interfaces to LAGs for devices - name: Assigning interfaces to LAGs within Netbox networktocode.nautobot.device_interface: url: "{{ url }}" token: "{{ token }}" data: device: "test1" name: "Ethernet49" # description: "test2:et3" lag: name: "Port-Channel1" state: present validate_certs: false
Lag gets assigned to the specified interface on the specified device. The lag needs to first exist on a device of course.
"msg": "Could not resolve id of lag: {'name': 'Port-Channel1'}"
fatal: [localhost]: FAILED! => { "changed": false, "invocation": { "module_args": { "data": { "description": null, "device": "test1", "enabled": null, "lag": { "name": "Port-Channel1" }, "mac_address": null, "mgmt_only": null, "mode": null, "mtu": null, "name": "Ethernet49", "tagged_vlans": null, "tags": null, "type": null, "untagged_vlan": null }, "query_params": null, "state": "present", "token": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "update_vc_child": false, "url": "https://localhost", "validate_certs": false } }, "msg": "Could not resolve id of lag: {'name': 'Port-Channel1'}" }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
ISSUE TYPE
SOFTWARE VERSIONS
pynautobot
1.0.1
Ansible:
ansible 2.10.6
Nautobot:
v1.0.0b2
Collection:
v1.03
SUMMARY
using the device_interface module to assign a lag will fail.
STEPS TO REPRODUCE
EXPECTED RESULTS
Lag gets assigned to the specified interface on the specified device. The lag needs to first exist on a device of course.
ACTUAL RESULTS
"msg": "Could not resolve id of lag: {'name': 'Port-Channel1'}"
The text was updated successfully, but these errors were encountered: