Skip to content

Conversation

obedouet
Copy link
Contributor

@obedouet obedouet commented Apr 8, 2024

Hello
Got an issue with some devices templates with mixed interfaces, some with name_template others with only 'name'. Seams the code forbid such declaration :
device_types.py:L53:raise ValueError(f"Mix of plain and template keys provided for {templateable_fields}")

but I tested removing the error condition and did not get any issue when loading initializers into Netbox.

Is it a deprecated test ? If yes, could we remove it ?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant