Changes between Version 7 and Version 8 of Layer1Transport/Install
- Timestamp:
- 07/31/13 16:07:53 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Layer1Transport/Install
v7 v8 1 1 [[PageOutline]] 2 2 3 = Introduction = 3 = GENI layer1transport service installation = 4 5 == Introduction == 4 6 This page describes how to install the layer1transport service. 5 7 6 = Variables=8 == Variables == 7 9 || '''Name''' || '''Description''' || '''Default Values''' || '''Files that use these values''' || 8 10 || <version> || Version of layer1transport || || || … … 11 13 || <of_port> || OF controller port for FL || 11750 || properties file || 12 14 13 = Prerequisites=15 == Prerequisites == 14 16 15 == 1. Create openflow user==17 === 1. Create openflow user === 16 18 Create a user named openflow on the system to run this service. 17 19 18 == 2. Install Floodlight 0.90==20 === 2. Install Floodlight 0.90 === 19 21 Floodlight installation instructions can be found at http://docs.projectfloodlight.org/display/floodlightcontroller/Installation+Guide, and instructions for obtaining the source code can be obtained at http://www.projectfloodlight.org/download/. 20 22 21 = Installation Instructions=23 == Installation Instructions == 22 24 These are instructions to install the layer1transport service. These instructions were created and tested using an Ubuntu 10.04 system. 23 25 24 == 1. Obtain the software==26 === 1. Obtain the software === 25 27 The software for the layer1transport service can be downloaded at http://www.gpolab.bbn.com/local-sw/. Download the tarball, and place it in the openflow user's home directory. 26 28 27 == 2. Unpack the tarball==29 === 2. Unpack the tarball === 28 30 Unpack the tarball and rename the top level directory 29 31 {{{ … … 33 35 }}} 34 36 35 == 3. Install curl==37 === 3. Install curl === 36 38 Make sure that the system has curl installed on it. 37 39 38 == 4. Drop a floodlight jar file in place==40 === 4. Drop a floodlight jar file in place === 39 41 Take the Floodlight 0.9 jar file that you created in the prerequisites section and do the following: 40 42 {{{ … … 43 45 }}} 44 46 45 == 5. (optional) Update properties file==47 === 5. (optional) Update properties file === 46 48 If you need to change the <of_port> and/or the <rest_port> that the Floodlight instance binds to, then the modify following lines in `/home/openflow/floodlight/config/layer1transport.properties`: 47 49 {{{ … … 50 52 }}} 51 53 52 == 6. (optional) Update logback config==54 === 6. (optional) Update logback config === 53 55 There are three reference logback configurations distributed with this software: 54 56 * `/home/openflow/floodlight/conf/logback_file.xml`: logs floodlight messages to `/var/log/floodlight.log` … … 58 60 The layer1transport service uses the file `/home/openflow/floodlight/conf/logback.xml`, which by default is a symlink that points to `logback_file.xml`. If you want to change which configuration you use, or if you want to use an alternate configuration, make modifications now. 59 61 60 == 7. Create flows files==62 === 7. Create flows files === 61 63 You will need to create files that define that flows that should be managed by the SFP module in floodlight. The flows files '''must''' have a `.json` file extension in order to work with this service. The API and the data format are defined in [http://docs.projectfloodlight.org/display/floodlightcontroller/Static+Flow+Pusher+API+%28New%29 the SFP documentation]. Defining the proper flows requires an understanding of your switch platforms, and where administrative flows are needed within the network. Please coordinate with us if you would like help defining these, or if you would like us to sanity check. One you have defined the flows in a set of files, place the files under `/home/openflow/floodlight/flows.d/`. Two files are provided as a reference. 62 64 … … 67 69 }}} 68 70 69 == 8. Install init.d script==71 === 8. Install init.d script === 70 72 Move the init.d script into place and set the appropriate permissions: 71 73 {{{ … … 79 81 }}} 80 82 81 == 9. Start the service==83 === 9. Start the service === 82 84 Start the script if it isn't running already: 83 85 {{{ … … 90 92 }}} 91 93 92 == 10. Set the service to start on boot==94 === 10. Set the service to start on boot === 93 95 Configure the host, either through an OS-specific tool or through a configuration management system, to have the layer1transport service to start up at boot time. 94 96 95 == 11. Poke holes in firewalls as needed==97 === 11. Poke holes in firewalls as needed === 96 98 If you need to poke a hole in the firewall (either in the network or on the controller host itself) for the switch to reach <of_port> on the controller, do this now. 97 99 98 == 12. Point switch instances at new controller==100 === 12. Point switch instances at new controller === 99 101 For each OF instance that needs to have flows installed, point the instance at administrative Floodlight instance that you stood up. How this gets done will depend on the switch platform. You will point the switch at the <of_port>.