[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Logs-devel] LoGS variables
From: |
Jim Prewett |
Subject: |
[Logs-devel] LoGS variables |
Date: |
Wed, 3 Jan 2007 12:51:19 -0700 (MST) |
Hi All,
I've been thinking about how variables work within LoGS. Vijay and I have
had a couple of offline conversations about this.
I think that the way that variables work right now is broken and needs to
be addressed, re-thought, re-worked, etc.
Right now, for a variable to be set in a match function, it must be
returned as a list of lists of variable and value like:
((FOO 42)(BAR "something")) to set FOO to 42 and BAR to "something".
These variables are then bound with a progv (creating a dynamic variable
binding, which, I believe is the problem) before the action function is
run.
How else could we, essentially, maintain a stack of these variables (so
that a ruleset could bind a variable, and a rule within that ruleset bind
the variable to a different value) ?
Any ideas?
Jim
James E. Prewett address@hidden address@hidden
Systems Team Leader LoGS: http://www.hpc.unm.edu/~download/LoGS/
Designated Security Officer OpenPGP key: pub 1024D/31816D93
HPC Systems Engineer III UNM HPC 505.277.8210
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Logs-devel] LoGS variables,
Jim Prewett <=