Rob,

I have experienced some problems to run FlowVisor. I'm not familiar with
its configuration file - config.json. I needs some help to configure it in
order to run flowvisor with my hardware of switch and nox controller. I
have a NetGear of-enabled switch, and configured with controller's IP
address and port 6633.

Nox controller runs fine with the switch by itself. Now, I want to insert
FV in between them. So I changed the Nox controller's port number to an
arbitrary number, e.g. 9933, so the switch won't talk to nox directly. Now,
I need to configure FlowVisor, so that my switch can find it, and it can
find the Nox controller.

I appreciate any help.

Cheers,
Humphrey

Humphrey Lee 於 2012年12月10日星期一寫道:

> You are awesome, Rob. I followed your instructions, and I was able to run
> make successfully. Thank you.
>
> By the way, I'm curious why in this version 01.0, I don't need to run "git
> checkout ...", "./boot.sh", and "./configure" as in v0.4 from "git://
> openflowswitch.org/openflow.git. What is the difference? it's a little
> bit confusing to me!
>
> Regards,
> Humphrey
>
>
>
> On Mon, Dec 10, 2012 at 3:40 PM, Rob Sherwood 
> <rob.sherw...@bigswitch.com>wrote:
>
> Humphrey,
>
> It seems that your problems are much more about your environment and
> your java install than the flowvisor, so perhaps this isn't the best
> place to try to resolve this.
>
> That said, from the errors you're seeing, the problematic command is
> not 'java' which seems to run fine, but the java compiler 'javac'.
>
> Specifically you seem to have installed the java *runtime* environment
> (jre==java runtime environment) but my guess is that you have not
> installed the java *developers* kit (jdk).  Try `sudo apt-get install
> openjdk-6-jdk` and then `make clean ; make` again.
>
> If that doesn't work, then my guess is you have larger problems with
> your system.
>
> - Rob
> .
>
> On Sun, Dec 9, 2012 at 11:34 PM, Humphrey Lee <iramani...@gmail.com>
> wrote:
> > Here is my Java version info:
> > hon@ubuntu:/home/project/flowvisor$ java -version
> > java version "1.6.0_24"
> > OpenJDK Runtime Environment (IcedTea6 1.11.5)
> (6b24-1.11.5-0ubuntu1~12.04.1)
> > OpenJDK Server VM (build 20.0-b12, mixed mode)
> > hon@ubuntu:/home/project/flowvisor$
> >
> >
> > On Mon, Dec 10, 2012 at 3:27 PM, Humphrey Lee <iramani...@gmail.com>
> wrote:
> >>
> >> Hi Ali,
> >>
> >> Here is the log:
> >> hon@ubuntu:/home/project/flowvisor$ make
> >> ant
> >> Unable to locate tools.jar. Expected to find it in
> >> /usr/lib/jvm/java-6-openjdk-i386/lib/tools.jar
> >> Buildfile: /home/project/flowvisor/build.xml
> >>
> >> init:
> >>
> >> compile:
> >>     [javac] /home/project/flowvisor/build.xml:60: warning:
> >> 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
> set
> >> to false for repeatable builds
> >>
> >> BUILD FAILED
> >> /home/project/flowvisor/build.xml:60: Unable to find a javac compiler;
> >> com.sun.tools.javac.Main is not on the classpath.
> >> Perhaps JAVA_HOME does not point to the JDK.
> >> It is currently set to "/usr/lib/jvm/java-6-openjdk-i386/jre"
> >>
> >> Total time: 0 seconds
> >> make: *** [all] Error 1
> >> hon@ubuntu:/home/project/flowvisor$
> >>
> >> I also run "apt-get install openjdk-6-jre" to update my jre and jdk,
> but I
> >> still got the above errors.
> >>
> >> Thanks.
> >> Humphrey
> >>
> >> On Mon, Dec 10, 2012 at 3:16 PM, Ali Al-Shabibi
> >> <ali.al-shab...@stanford.edu> wrote:
> >>>
> >>> Humphrey,
> >>>
> >>> What where the errors you got after installing make?
> >>>
> >>> The instructions here are the only commands you need to run.
> >>>
> https://github.com/OPENNETWORKINGLAB/flowvisor/wiki/Installation-from-Source
> >>>
> >>> --
> >>> Ali Al-Shabibi
> >>>
> >>> On Dec 10, 2012, at 7:55, Humphrey Lee <iramani...@gmail.com> wrote:
> >>>
> >>> I did install ant after I sent out the email. Then I got other make
> >>> errors!
> >>>
> >>> Should I run "git checkout..." first? Then run ./boot.sh and
> ./configure
> >>> before running "make".
> >>>
> >>> Thanks.
> >>> Humphrey
> >>>
> >>> On Mon, Dec 10, 2012 at 2:49 PM, Aaron Rosen <aro...@clemson.edu>
> wrote:
> >>>>
> >>>> sudo apt-get install ant
> >>>>
> >>>>
> >>>> On Mon, Dec 10, 2012 at 1:36 AM, Humphrey Lee <iramani...@gmail.com>
> >>>> wrote:
> >>>>>
> >>>>> Hi Ali,
> >>>>>
>
>
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to