CPqD / ofsoftswitch13

OpenFlow 1.3 switch.
http://cpqd.github.com/ofsoftswitch13
299 stars 191 forks source link

installation procedure, nbee source is 404 #250

Closed vitamins closed 7 years ago

vitamins commented 7 years ago

Download the most recent Netbee version, and unpack the source code

http://www.nbee.org/download/nbeesrc-jan-10-2013.php

ghost commented 7 years ago

same here. no source for nbee :(

ederlf commented 7 years ago

It seems it's time to remove netbee as a dependency. It is already done in the BEBA branch, but I need some time to merge the specific commits.

On Fri, 7 Jul 2017, 17:48 Pradeep Jha, notifications@github.com wrote:

same here. no source for nbee :(

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CPqD/ofsoftswitch13/issues/250#issuecomment-313734636, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwAVskEYUhA65ZyHC6GTvXEXZzY0hZlks5sLmF6gaJpZM4OQJZi .

ghost commented 7 years ago

Thanks for the reply.

Does the BEBA branch work with ONOS? Looks like the flows stays PENDING_ADD in ONOS with BEBA and Mininet. Is there a configuration guide for it.

nikchez01 commented 7 years ago

For the time being, use this link to get nbee src code: https://expirebox.com/download/e6d7b016f41360188bb376e1aa9ee894.html

PS: Link will expire after 24 hours.

XingguoTian commented 7 years ago

https://github.com/netgroup-polito/netbee

ederlf commented 7 years ago

@XingguoTian good to know it is available on Github. Thanks. I will update the installation instructions.

It will give me more time to remove it properly later.

ghost commented 7 years ago

Thanks for the netbee source files.

However, there is another issue with one of the dependency called "libxerces-c2-dev". Package 'libxerces-c2-dev' has no installation candidate It is not This is probably only in the newer versions of Ubuntu. Any suggestions for that?

ederlf commented 7 years ago

Which ubuntu version are you using? That is another recurrent problem, on ubuntu 14.04 there is need to downgrade bison.

I do not know if it will work, but can you try installing libxerces-c-dev? That is the package on ubuntu 16.04.

ghost commented 7 years ago

@ederlf Thanks for the quick reply. I am using the latest 17.04 and I got the libxerces-c-dev so no issues with that anymore. However, while following the building instructions, make fails. Can you point me to where the problem is? Also, the name of the source root directory that gets cloned is netbee instead of nbeesrc, so I renamed the folder to nbeesrc so as to follow the instructions on wiki.

here's the error:

/home/pradeep/nbeesrc/src/nbnetvm/arch/generic/generic_runtime.c:16:18: fatal error: pcap.h: No such file or directory

                  ^
compilation terminated.
nbnetvm/CMakeFiles/nbnetvm.dir/build.make:660: recipe for target 'nbnetvm/CMakeFiles/nbnetvm.dir/arch/generic/generic_runtime.c.o' failed
make[2]: *** [nbnetvm/CMakeFiles/nbnetvm.dir/arch/generic/generic_runtime.c.o] Error 1
CMakeFiles/Makefile2:153: recipe for target 'nbnetvm/CMakeFiles/nbnetvm.dir/all' failed
make[1]: *** [nbnetvm/CMakeFiles/nbnetvm.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
ederlf commented 7 years ago

@pjpradeepjha I have added a install script for the switch. Please try to install the switch using it.

I also submitted a pull request to Mininet so its install script uses the ofsofswitch13 install script. It may take some time until review is done, so just update your code by using git pull or download the latest version. Then run the install.sh file.

ederlf commented 7 years ago

@A-Boudi, thanks for the collaboration. What I do not understand is that the install.sh already clones the netbee and never had the following lines:

if [ "$DIST" = "Ubuntu" ] && version_ge $RELEASE 14.04; then
-        NBEESRC="nbeesrc-feb-24-2015"
-        NBEEDIR="netbee"
-    else
-        NBEESRC="nbeesrc-jan-10-2013"
-        NBEEDIR="nbeesrc-jan-10-
ederlf commented 7 years ago

No worries, you're welcome to contribute :)

On Mon, 18 Sep 2017, 13:41 A-Boudi notifications@github.com wrote:

Sorry, I got confused. I was referring to mininet installation file (option 3fnv). I'll delete my two messages.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/CPqD/ofsoftswitch13/issues/250#issuecomment-330207343, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwAVplNep00f7r-up9PLXzfpk11FJUwks5sjmUJgaJpZM4OQJZi .