Skip to content

HELP: import netbox-dns custom fields from ansible #245

Closed Answered by peteeckel
shakin89 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @shakin89, I hope you don't mind that I moved this to Discussions, it's really not something I can 'fix' or implement as a new feature.

Custom Fields aren'r real model fields in NetBox, and the serializers for custom fields are somewhat limited. So, for example, it is not possible to refer to an object type custom field the way it is for other fields - this would require filtersets specific to the type of the object a custom field points to (name is not always a primary key, so NetBox needs to know what it can use to uniquely address an object), among other things. That's the reason for the error you are seeing.

For the special case of NetBox DNS zones it's even worse: name does not un…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by shakin89
Comment options

You must be logged in to vote
3 replies
@shakin89
Comment options

@peteeckel
Comment options

@shakin89
Comment options

Comment options

You must be logged in to vote
1 reply
@shakin89
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #244 on April 21, 2024 14:26.