Re: [nox-dev] More questions about the new routing infrastructure exposed to Python

2008-09-05 Thread Glen Gibb
Almost right. After fixing that it produced: Traceback (most recent call last): File "./nox/apps/routing/samplerouting.py", line 65, in handle_flow_in if pyrouting.dp_on_route(event.datapath_id, route): That's fixed by: diff --git a/src/nox/apps/routing/samplerouting.py b/src/nox/apps/rout

Re: [nox-dev] More questions about the new routing infrastructure exposed to Python

2008-09-05 Thread Glen Gibb
Yeah, just picked that up myself. Thanks, Glen Natasha Gude wrote: > That gets fixed in commit a64fdb162f43b1bcacdeacd61a4541a539cb163b. > > Should be datapath_id (missing an 'a') > > On Sep 5, 2008, at 4:17 PM, Glen Gibb wrote: > >> Actually if I explicitly list pyrouting and pyauthenticator (i

Re: [nox-dev] More questions about the new routing infrastructure exposed to Python

2008-09-05 Thread Natasha Gude
That gets fixed in commit a64fdb162f43b1bcacdeacd61a4541a539cb163b. Should be datapath_id (missing an 'a') On Sep 5, 2008, at 4:17 PM, Glen Gibb wrote: > Actually if I explicitly list pyrouting and pyauthenticator (in > conjunction with sample_routing) on the command line it *mostly* > works

Re: [nox-dev] More questions about the new routing infrastructure exposed to Python

2008-09-05 Thread Glen Gibb
Actually if I explicitly list pyrouting and pyauthenticator (in conjunction with sample_routing) on the command line it *mostly* works. Now I get this error instead: Traceback (most recent call last): File "./nox/apps/routing/samplerouting.py", line 65, in handle_flow_in if pyrouting.dp_o

Re: [nox-dev] More questions about the new routing infrastructure exposed to Python

2008-09-05 Thread Glen Gibb
Hmm... now I'm getting lots of messages like this: 2|pyrt|ERR:Flow_in_event has no C++ to Python event converter. Glen Natasha Gude wrote: > Hey Glen, > > There were actually some name changes that occurred in that commit. > 'pyrouting' just exposes the routing infrastructure to Python,

Re: [nox-dev] More questions about the new routing infrastructure exposed to Python

2008-09-05 Thread Natasha Gude
Hey Glen, There were actually some name changes that occurred in that commit. 'pyrouting' just exposes the routing infrastructure to Python, it doesn't actually listen for Flow_in_events and route them. The app you need to run on the command line to route from Python is "sample_routing"

[nox-dev] More questions about the new routing infrastructure exposed to Python

2008-09-05 Thread Glen Gibb
Hi Natasha, I've been trying to move our NOX as close to OpenFlow 0x86 as I can get without requiring 0x86. One of the changes I was hoping to pull in is your Python routing infrastructure changes. However if I take your NOX tree and rewind to to 0eee89d198cf12911e3f9318f9b3962b608280dd then p