Prefix export template with start and end address #18842
Unanswered
wannagofast83
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to get the start IP of a prefix with a export template? I have been trying this function:
{{netaddr.IPSet([netaddr.IPAddress(self.prefix.first)])}}
but not sure that it works or if the syntax is correct.I would also like to find a way if the prefix is in a specific vlan group then it will return something based on a list. Is that possible?
For example;
if the vlan group is "east_side", I would like it to return "east_side_VRF"
Beta Was this translation helpful? Give feedback.
All reactions