The quick answer about -v -v can be gotten with "./nox_core --help": -v, --verbose make console log verbose (shows INFO messages -- use twice for DBG)
The longer answer is that -v -v puts it into "very verbose" mode. NOX's logging can actually be configured with quite a lot of flexibility through several mechanisms, including at runtime... but the GUI doesn't currently know anything about that. In general, you probably DO want all levels of log messages to be sent to the GUI so that you can then use the GUI's filtering mechanism (which lets you filter them after the fact). This really should be the default for the GUI, and I have a local branch which does this, so it's quite possible we'll see it in a future version of NOX. About the Components section being empty... if I recall correctly (and it's entirely possible that I don't), the Components section is populated by watching the DBG messages about component loading when NOX starts up. With only one -v, they never get to the GUI. -- Murphy On Sep 12, 2011, at 7:34 PM, Lucas Henrique Mauricio wrote: > I figured it out how to solve the missing library. You were right, it's > libqt4-sql-sqlite. > > About this -v -v, what's the point? hehe I'll try tomorrow but I don't > understand what it's gonna change.. Could you explain, please? > > One last thing, what do you think about the fact that components button > doesn't show anything? > > Thanks for your replies! > > 2011/9/12 Murphy McCauley <jam...@nau.edu> > It looks like you're missing Qt's sqlite interface. Try installing it. On > Ubuntu I think this is in the libqt4-sql-sqlite package. > > I think to get links to show up, you'll need to run discovery as well, and > you should probably run nox_core with -v -v: > ./nox_core -v -v -i ptcp:2525 monitoring discovery pyswitch > > Hope that helps. > > -- Murphy > > On Sep 12, 2011, at 12:58 PM, Lucas Henrique Mauricio wrote: > > > Hello everybody, > > > > I have NOX running at my host pc and two openvswitch switches running on > > two different VirtualBox virtual machines. I created a bridge between the > > two VMs and set NOX as controller of this bridge. > > > > At my host, I run "./nox_core -v -i ptcp:2525 monitoring pyswitch" and > > "./nox-gui". The NOX GUI shows the two VMs but don't link than, even when I > > am pinging one another. When I look at the terminal, I see this: > > root@meier:~/nox/src# ./nox-gui.py > > QSqlDatabase: QSQLITE driver not loaded > > QSqlDatabase: available drivers: QMYSQL3 QMYSQL > > QSqlQuery::exec: database not open > > QSqlQuery::exec: database not open > > > > I think that maybe that's why NOX GUI doesn't show links between switches > > and no debugging messages. If I click "component" button, it shows a list > > without any components.. > > > > What am I doing wrong? > > > > Best regards > > > > - > > Lucas Henrique Mauricio > > > > Universidade Federal do Rio de Janeiro > > Escola Politécnica > > Engenharia Eletrônica e de Computação > > _______________________________________________ > > nox-dev mailing list > > nox-dev@noxrepo.org > > http://noxrepo.org/mailman/listinfo/nox-dev > > > > > -- > Lucas Henrique Mauricio > > Universidade Federal do Rio de Janeiro > Escola Politécnica > Engenharia Eletrônica e de Computação
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev