NOX doesn't do much by itself -- you need to run a component that handles 
OpenFlow messages.

Try:
./nox_core -i ptcp:0.0.0.0:6633 -v switch

-- Murphy

On Jul 27, 2012, at 11:39 AM, Aydin Coskun wrote:

> Hi,
> 
> I am trying to run some benchmark tests against NOX controller and I get the 
> following errors. Any help is appreciated.
> 
> Thanks,
> ~ Aydin 
> 
> root@noxctr101:~/nox/build/src# ./nox_core -i ptcp:0.0.0.0:6633 -v
> 00001|main|INFO:Starting nox_core (/root/nox/build/src/.libs/lt-nox_core)
> 00002|kernel|DBG:Assigned a new UUID for the container: 7985845435646849383
> 00003|event-dispatcher|DBG:Registering event 'New_connection_event'.
> 00004|event-dispatcher|DBG:Registering event 'Shutdown_event'.
> 00005|event-dispatcher|DBG:Registering handler for Shutdown_event, order 9999
> 00006|event-dispatcher|DBG:creating thread 1
> 00007|dso-deployer|DBG:Component 'openflow-manager' scanned.
> 00008|dso-deployer|DBG:Component 'switch' scanned.
> 00009|connection_manager|DBG:listening on ptcp:0.0.0.0:6633:::
> 00010|main|DBG:Application installation report:
> 00011|main|DBG:connection-manager:
>         Current state: INSTALLED
>         Required state: INSTALLED
>         Dependencies:
> 
> 00012|main|DBG:dso-deployer:
>         Current state: INSTALLED
>         Required state: INSTALLED
>         Dependencies:
> 
> 00013|main|DBG:event-dispatcher:
>         Current state: INSTALLED
>         Required state: INSTALLED
>         Dependencies:
> 
> 00014|main|INFO:nox bootstrap complete
> 00015|connection_manager|WARN:connected: 
> 172.26.1.202:6633<->172.26.1.200:37901
> 00016|connection|DBG:flushed (tx: 0, rx: 0)
> 00017|connection_manager|WARN:connected: 
> 172.26.1.202:6633<->172.26.1.200:58846
> 00018|connection|DBG:flushed (tx: 0, rx: 0)
> 00019|connection_manager|WARN:connected: 
> 172.26.1.202:6633<->172.26.1.200:60433
> 00020|connection|DBG:flushed (tx: 0, rx: 0)
> 00021|connection_manager|WARN:connected: 
> 172.26.1.202:6633<->172.26.1.200:37195
> 00022|connection|DBG:flushed (tx: 0, rx: 0)
> 00023|connection_manager|WARN:connected: 
> 172.26.1.202:6633<->172.26.1.200:60883
> 00024|co .......
> 
> 
> 
> cbench output
> ================
> root@cbench101:~# cbench -c 172.26.1.202
> cbench: controller benchmarking tool
>    running in mode 'latency'
>    connecting to controller at 172.26.1.202:6633
>    faking 16 switches :: 16 tests each; 1000 ms per test
>    with 100000 unique source MACs per switch
>    starting test with 0 ms delay after features_reply
>    ignoring first 1 "warmup" and last 0 "cooldown" loops
>    connection delay of 0ms per 1 switch(es)
>    debugging info is off
> controller msgbuf_read() = 0:   closed connection ... exiting
> 
> 
> 
> My Setup: 
> =================
> Benchmarker host :  cbench101 (Ubuntu 12.04 LTS Server 64bit - VMware VM) 
> IP : 172.26.1.200/24
> 
> NOX controller : noxctr101 (Ubuntu 12.04 LTS Server 64bit - VMware VM ) 
> IP : 172.26.1.202/24
> 
> Build NOX with:
> =================
>  root@noxctr101:~/nox/build/src# dpkg -l | egrep 
> "(autoconf|automake|libtool|libsnmp-dev|libpcap-dev|linux-headers|libboost-all-dev|libtbb-dev)"
> ii  autoconf                            2.68-1ubuntu2                  
> automatic configure script builder
> ii  automake                            1:1.11.3-1ubuntu2              Tool 
> for generating GNU Standards-compliant Makefiles
> ii  libltdl-dev                         2.4.2-1ubuntu1                 A 
> system independent dlopen wrapper for GNU libtool
> ii  libltdl7                            2.4.2-1ubuntu1                 A 
> system independent dlopen wrapper for GNU libtool
> ii  libpcap-dev                         1.1.1-10                       
> development library for libpcap (transitional package)
> ii  libsnmp-dev                         5.4.3~dfsg-2.4ubuntu1.1        SNMP 
> (Simple Network Management Protocol) development files
> ii  libtool                             2.4.2-1ubuntu1                 
> Generic library support script
> ii  linux-headers-3.2.0-23              3.2.0-23.36                    Header 
> files related to Linux kernel version 3.2.0
> ii  linux-headers-3.2.0-23-generic      3.2.0-23.36                    Linux 
> kernel headers for version 3.2.0 on 64 bit x86 SMP
> ii  linux-headers-server                3.2.0.23.25                    Linux 
> kernel headers on Server Equipment.
> ii  libboost-all-dev                    1.48.0.2                       Boost 
> C++ Libraries development files (ALL, default version)
> ii  libtbb-dev                          4.0+r233-1                     
> parallelism library for C++ - development files
> 
> root@noxctr101:~# 
> git clone https://github.com/noxrepo/nox.git \
> ; cd nox \
> ;./boot.sh \
> ;mkdir build \
> ;cd build \
> ../configure  
> 
> root@noxctr101:~/nox/build# 
> make \
> ;cd src \
> ;make check
> 
> 
> ### You can see the output here :
> https://gist.github.com/3189622#file_make_out.txt
> or 
> https://raw.github.com/gist/3189622/d797a4eb61c8e970a6758d359b6956d3339d1a0e/make-out.txt
> 

Reply via email to