Server's sarameters - adding some logic

2017-01-26 Thread Nir Sopher
Hi, Working on TC-121 , allowing variables to be evaluated as part of a traffic-server parameter, made me realize that the simple solution of variable substitution is might not be strong enough. As an example, lets take traffic server ip bind configur

Re: Server's sarameters - adding some logic

2017-01-26 Thread Oren Shemesh
I think that we should not attempt to invent a scripting language for this purpose. My guess is that Lua is a good candidate for the job. "Lua is a powerful, efficient, lightweight, embeddable scripting language". It can be embedded in all popular languages, specif

Re: Server's sarameters - adding some logic

2017-01-26 Thread Robert Butts
> I think that we should not attempt to invent a scripting language for this purpose. > > My guess is that Lua is a good candidate for the job. +1 on both counts. Though I'm not convinced we need a scripting language in parameters yet. > Separating into 2 profile

Re: Server's sarameters - adding some logic

2017-01-29 Thread Nir Sopher
did not work they way I expected. Nir -- Forwarded message -- From: "Robert Butts" Date: Jan 26, 2017 5:58 PM Subject: Re: Server's sarameters - adding some logic To: Cc: > I think that we should not attempt to invent a scripting language for this purpose. > &

Re: Server's sarameters - adding some logic

2017-01-29 Thread Mark Torluemke
om: "Robert Butts" > Date: Jan 26, 2017 5:58 PM > Subject: Re: Server's sarameters - adding some logic > To: > Cc: > > > I think that we should not attempt to invent a scripting language for > this > purpose. > > > > My guess is that Lua <htt

Re: Server's sarameters - adding some logic

2017-01-30 Thread Nir Sopher
records.config and examining the result file, but it did not work they > way > > I expected. > > > > These parameters are on the cache group itself, not on the caches that are > in the cache group. > > > > > > Nir > > > > -- Forwarded message

Re: Server's sarameters - adding some logic

2017-01-31 Thread Dewayne Richardson
gt; > Can someone please elaborate on it? I tried it, setting a variable in > > > records.config and examining the result file, but it did not work they > > way > > > I expected. > > > > > > > These parameters are on the cache group itself, not on the ca

Re: Server's sarameters - adding some logic

2017-02-01 Thread Nir Sopher
. > > > > BTW, I noticed there is an ability to assign a variable to a cache > > group. > > > > Can someone please elaborate on it? I tried it, setting a variable in > > > > records.config and examining the result file, but it did not work > they > &