-
Notifications
You must be signed in to change notification settings - Fork 18
OpenMuL SDN Controller
License
mxfgit/openmul
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
* How to get MuL code ? 1) Clone latest repo using git : $ git clone [email protected]:openmul/openmul.git * How to build MuL Controller on Ubuntu ? 1. Get necessary packages a) For Ubuntu 10.04.3 LTS, the following packages should be installed : $ sudo apt-get install flex bison libwxgtk2.6-dev build-essential expect g++-multilib tofrodos zlib1g-dev gawk libffi-dev gettext Not verified with recent ubuntu versions but should work fine. For CentOS 6 and above, the following packages should be installed : (Please replace 64-bit packages with corresponding 32-bit ones if underlying platform is 32-bit) $ yum install flex bison gettext wxGTK-devel.x86_64 wxGTK.x86_64 make autoconf automake expect libstdc++-devel.x86_64 libstdc++.x86_64 zlib-devel.x86_64 zlib.x86_64 gawk libffi-devel.x86_64 b) Install core packages glib-2.0 (>= 2.32) and libevent (>= 2.0.18): i) There is a utility script which should configure and build these packages(but will not install), just, do enough for mul compilation : $ cd SCRIPTS $ ./configure_ext_libs OR, ii) One can also download and build/install them separately or by apt-get. 2. Configure MuL a) Run : $ cd <top-mul-dir> $ ./autogen.sh b) If you used built-in script to download core packages, then one can use the following: $ ./configure --with-glib=`pwd`/common-libs/3rd-party/glib-2.32.0/ --with-libevent=`pwd`/common-libs/3rd-party/libevent-2.0.21-stable/ c) If you build and install glib and libevent separately, we can simply use: $ ./configure ## Pass LDFLAGS and CFLAGS if these are installed in non- ## standard directories. 3. Build MuL $ make 4. Executable will be built as <top-mul-dir>/mul/mul - You need to run using sudo or as admin. Options to use - mul -d : Daemon mode -S <n> : Num of switch threads -A <n> : Num of app threads 5. [Optional if you opt for modules to run as a separate process] $ cd application/l2switch/ Executable : mull2sw Same thing applies to other apps 6. How to run ? Mul provides an utility startup script for various use cases : $ cd <top-mul-dir> $ ./mul.sh start l2switch ## Run in l2switch mode OR, $ ./mul.sh start fabric ## Run in fabric
About
OpenMuL SDN Controller
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published