Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to query all prefixes in the vrf. When i the run the following query i get all the prefixes in netbox:
vrf_prefixes: "{{ query('netbox.netbox.nb_lookup', 'prefixes', api_filter='vrf_name=' + vrf_name, api_endpoint=netbox_url, token=netbox_token) }}"
vrf is an object that looks like this:
"vrf": { "display": "", "id": , "name": "", "rd": "", "url": "" }
I only want to do the lookup with the name of the vrf, what query should i run to get all the prefixes inside a specifique vrf?
Beta Was this translation helpful? Give feedback.
All reactions