-
Notifications
You must be signed in to change notification settings - Fork 234
netbox_device_interface - type or form_factor not accepted #208
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
Comments
I just released v0.2.1 today and just ran it and appears Can you make sure you're actually running |
Yes i do. While opening the issue and get to the point to give current version i looked at git repo an saw laat update 3 hour ago so first updated and tested with version if today. Without success Does the form_factor also run ok twice? |
Hm. That is odd. If you navigate to the And no, that is not fixed and won't be as After the command above, do you still get that |
a could not find the galaxy.yml file but the CHANGELOG.md shows lates version ` Changelogv0.2.1Enhancements
Bug Fixes
after forced reinstallation still same error from Ansible |
o sorry my fault... had the collection also in the playbook directory that was used and not updated. I found out with running the playbook including
Every type choice I use is declined. |
Hi @FragmentedPacket thanks! Don't how how manually get only the pull request changes, but dit the change manually on Many thanks! |
Don't know it this belong to this issue? If not i will check further or open new issue. But when updating an existing interface so an LAG group, I need to specify the type now.
|
That appears to be coming back from the API and not the modules. I'll dig into it, but not entirely sure where the issue lies. Mind opening a separate issue for that? |
I did a search and it appears that NetBox does require |
ok, in that case it is necessary and not a 'bug' to fix thanks for helping |
ISSUE TYPE
SOFTWARE VERSIONS
Ansible:
ansible 2.9.2
Netbox:
b7a37e8cbe63 (v2.8.4)
Collection:
0.2.1
SUMMARY
The module netbox_device_interface is not accepting the entry: 'type' for media type. Formally known as 'form_factor'. But changed by Netbox version 2.7.
Only the type is not accepted as the module only accept the old 'form_factor'.
"Unsupported parameters for (netbox.netbox.netbox_device_interface) module: type found in data. Supported parameters include: description, device, enabled, form_factor, lag, mac_address, mgmt_only, mode, mtu, name, tagged_vlans, tags, untagged_vlan"}
Only when switching back to form_factor, it works only once. When running second time the error shows:
"msg": "form_factor does not exist on existing object. Check to make sure valid field."}
STEPS TO REPRODUCE
EXPECTED RESULTS
OK (Ansible interface setting correct) or Changed:
ACTUAL RESULTS
Error that even the option 'type' is not valid otherwise when using 'form_factor' that the form_factor can only be set on first creation so it is not idempotent.
The text was updated successfully, but these errors were encountered: