7 Jul
2016
7 Jul
'16
5:42 p.m.
On Fri, Jul 08, 2016 at 08:54:06AM +1200, Peter Lambrechtsen wrote:
I use shortname and then Client-Shortname for exactly that.
I set my BNGs with two values "A_B" in client shortname then use unlang to split the string and use them for various parts of logic. One reason is "Environment_UniqueVal" so I can determine if it's production or another environment. This way I have a single config raddb across all environments. Release management is a case of taring the directory and dropping it onto a new environment then doing a -XC to make sure it's ok and bouncing the daemon.
Shortname is just one variable, with custom variables you can use as many as you want without using any '_' trick! ;) Enrico