- Or compiling for Linux 2.4:
- % ./configure --with-l24=/usr/src/linux-2.4.35
-
- 2. Run make:
-
- % make
-
- The following binaries should be built.
-
- Datapath kernel module:
- ./datapath/linux-2.6/openflow_mod.ko (If compiling for Linux 2.6)
- ./datapath/linux-2.4/openflow_mod.o (If compiling for Linux 2.4)
-
- Secure channel executable:
- ./secchan/secchan
-
- Controller executable:
- ./controller/controller
-
- dpctl utility:
- ./utility/dpctl
-
- 3. Optionally you can "make install" to install binaries and the
- man pages (/usr/local/ is the default prefix). If you just want
- access to the man pages without installing, set your MANPATH to
- include the openflow/ source root.
-
- 4. Insert the datapath kernel module into the running Linux instance.
-
- (Linux 2.6)
- % insmod datapath/linux-2.6/openflow_mod.ko
-
- (Linux 2.4)
- % insmod datapath/linux-2.4/openflow_mod.o
-
- 5. Create datapaths by running dpctl on the Linux host (see man
- dpctl(8)). Start the controller on a remote host with
- controller (see man controller(8)). Start the Secure Channel
- on the datapath host to connect the datapath to the controller
- with secchan(see man secchan(8)).
-
- For more detailed installation instructions, refer to [3].
+The userspace switch implementation should be easy to port to
+Unix-like systems. The interface to network devices, in netdev.c, is
+the only code that should need to change. So far, only Linux is
+supported. We welcome ports to other platforms.