On 2017-12-08, Robert Bannocks wrote:
> Hi
>
> I am trying to have a look up dependent on the $primary_hostname in a file
> via the condition restriction on a router.
>
> What I want is that if the $primary_hostname is in the file with no further
> information then
On 8 Dec 2017, at 15:15, Robert Bannocks wrote:
> FILENAME=/abc/def
> Condition = ${lookup{$primary_hostname}lsearch{FILENAME}}
First observation is that your second entry in FILENAME has two colon
separators, not a dot in the hostname - that'll fail!
Anyhow, you may
Hi
I am trying to have a look up dependent on the $primary_hostname in a file via
the condition restriction on a router.
What I want is that if the $primary_hostname is in the file with no further
information then defaults apply, else if there is some information then that
will be used.
But