Can event rule constraints reference parent? #20186
Replies: 2 comments
-
Also tried |
Beta Was this translation helpful? Give feedback.
0 replies
-
I couldn't find a way to do this, so I removed the constraint entirely and had the event rule trigger on all interface creations. I allowed the underlying script to apply the constraint. Computationally inefficient, but it's the only solution I could find. |
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.
-
I am trying to author an event rule that triggers when interfaces are created for a specific
device-type
.I reviewed the graphql explorer as a potential source to identify what fields could be used as constraints, and came up with this syntax:
But it doesn't seem to be triggering. It does work for
dcim.device
objects (without parent.device), but notdcim.interface
objects.Two questions:
Beta Was this translation helpful? Give feedback.
All reactions