Skip to content

Getting all tunnels for device/vm/interface #14756

Discussion options

You must be logged in to vote

I guess you would first get a list of interfaces from the device or VM, and then query for tunnel terminations using interface_id or vminterface_id (which you should be able to repeat for multiple values)

https://github.com/netbox-community/netbox/blob/v3.7.0/netbox/vpn/filtersets.py#L77-L119

Replies: 1 comment 1 reply

Comment options

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

Answer selected by peterbaumert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants