Share your favorite GraphQL Query #34
Replies: 3 comments 10 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
So I'm using mostly what's in the docs for the GraphQL Query but added information about the primary IP address. I'm wanting to pull out the interface that is assigned to the primary IP address in the Jinja2 templates when the intended config is created. Is that possible? I basically would want to do a series of for loops and an if statement in the Jinja template to pull out that interface as that is what should be used for several things in the templates. If there's a better way to do this, please let me know. Thanks! Here's my query (sorry, the code marking is not working for some reason):
|
Beta Was this translation helpful? Give feedback.
-
Wanted to have a place for everyone to share their favorite GraphQL query.
Beta Was this translation helpful? Give feedback.
All reactions