[Bro-Dev] #1010: BroControl plugin for adding environment variables
Bro Tracker
bro at tracker.bro.org
Fri May 24 11:37:19 PDT 2013
#1010: BroControl plugin for adding environment variables
------------------------------+------------------------
Reporter: seth | Owner: dnthayer
Type: Feature Request | Status: new
Priority: Medium | Milestone: Bro2.2
Component: BroControl | Version: git/master
Resolution: | Keywords:
------------------------------+------------------------
Comment (by seth):
> I've attached an example plugin to demonstrate what users can do now
> (just copy it to the plugins directory; no other changes needed).
>
> Is there some additional functionality that is needed?
Cool, could you abstract that a bit more so that we could have an env_vars
configuration option?
Like in nodes.cfs:
{{{
[worker-1]
type=worker
host=host3
interface=eth0
lb_method=myricom
lb_procs=10
env_var=SOME_VAR=4
env_var=ANOTHER_VAR=test
}}}
And you could have this in broctl.cfg:
{{{
env_vars="SOME_VAR=4 ANOTHER_VAR=test"
}}}
There is probably some detail involving the quotes that I'm getting wrong,
but I think the idea gets across.
--
Ticket URL: <http://tracker.bro.org/bro/ticket/1010#comment:5>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list