netbox-initializers icon indicating copy to clipboard operation
netbox-initializers copied to clipboard

Mix expandables fields

Open obedouet opened this issue 10 months ago • 0 comments

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

obedouet avatar Apr 08 '24 15:04 obedouet