Unable to query netbox interface templates #17965
Unanswered
neharaina1771
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ,
I am using pynetbox to use filter query on netbox interface templates using device_type slug but I am not getting filtered results instead I get all interfaces.Could you please help me with the right approach?
Goal is to validate which device_type has interfaces with mgmt_only enabled .If it is not enabled then we need to create one.
Could you please help me with the right approach
get_device_type = nb.dcim.device_types.filter(slug=user_defined_slug)
need to check if the mgmt_only interface exists for device_type get_device_type ..get_device_type could be multiple different device_type
Beta Was this translation helpful? Give feedback.
All reactions