Re: [nox-dev] Nox messenger example for external c++ and nox python

2011-12-21 Thread Murphy McCauley
So NOX's messenger is a fairly generic method for communicating with external applications over a socket. Built on top of this is jsonmessenger which communicates JSON messages over a socket. If you specifically want to use protobufs (and not JSON messages), then you'd want to use the plain me

Re: [nox-dev] Nox messenger example for external c++ and nox python

2011-12-21 Thread Harshil Anil Kumar Shah
Thanks Murphy. I guess 2nd option is the better to go with. Can I use boost.python for that? And I guess plain messenger is exposed to python. There are messenger.py and messenger.cpp/hh files corresponding to plain messenger. -Harshil From: Murphy McCauley [mailto:jam...@nau.edu] Sent: Wednesd

Re: [nox-dev] Nox messenger example for external c++ and nox python

2011-12-21 Thread Murphy McCauley
No, the plain messenger is not exposed to Python. Kyriakos and I did enough of the JSON messenger to get monitoring working, but never did the normal messenger. The messenger.py should really be named messenger_client.py, and maybe shouldn't even be in that directory -- it's a library for writ

Re: [nox-dev] NOX UnicodeDecodeError in nox/coreapps/pyrt/pyoxidereactor.py

2011-12-21 Thread Bernd Wittefeld
Hi, I'm currently not in the office. Thanks for the logging hint. I will look further into that and keep you posted as soon as I'm back. My module is written in Python and does some minimal logging. Maybe there is the error. I will try to execute the same module in the old and working environmen

[nox-dev] Running nox with a pcap file as input

2011-12-21 Thread Bharath Madhusudan
I am just getting started with nox and before I throw real traffic at my setup, I would like to be able to use a pcap file as input. When I try: ./nox_core -i pcap:162.pcap:162.out I get: 1|openflow|ERR:pcap support not built in. Ensure you have pcap installed and rebuild Looking at the n

Re: [nox-dev] Running nox with a pcap file as input

2011-12-21 Thread Murphy McCauley
If I recall correctly, this is enabled or disabled automatically during configure based on whether the pcap header and/or library can be found. On Ubuntu, you should be good if you have... I think it's libpcap-dev installed. If you don't, please install it and then re-run configure. If you hav