In your application configure method, do something like:
def configure(self, configuration):
for param in configuration['arguments']:
if param.find('=') != -1:
key, value = param[:param.find('=')],
param[param.find('=')+1:]
else:
Where/what files should I look at for examples of the component model?
I guess I don't absolutely need cmd-line options - could build my test
runner inside nox, rather than calling it a bunch of times.
Thanks,
Brandon
On Sun, Jan 11, 2009 at 10:40 PM, Martin Casado wrote:
> This is because we
This is because we embed python and don't use the internal python c
api to pass the the command line args to python. Our rational for
this was that apps should get their args through the component model
(in config) rather than have to parse to original command line.
However, passing the
Any idea why I get this error?
brand...@mvm-of1:~/nox/noxcore/build/src$ ./nox_core -i ptcp:6633
static_setup 1 2 3
NOX 0.4.0~core~beta (nox_core), compiled Jan 9 2009 15:09:46
Compiled with OpenFlow 0x97 (exp)
1|nox|ERR:Cannot change the state of 'static_setup' to INSTALLED:
'static_setup' r
Yeah, I guess that doesn't make much sense. This should be simple to
fix. I'll do so tomorrow.
thanks.
On Jan 11, 2009, at 7:01 PM, Glen Gibb wrote:
Hi all,
Discovery seems to be sending out LLDP packets on the "local"
OpenFlow port. This seems a little odd to me as I would expect we're
Hi all,
Discovery seems to be sending out LLDP packets on the "local" OpenFlow
port. This seems a little odd to me as I would expect we're unlikely to
encounter any other switches on the local port.
I'm running the 0.40 pre/beta nox (I haven't yet merged in the latest
changes with 0.40 relea