Changes between Version 15 and Version 16 of GEC11NetServTutorialInstruction
- Timestamp:
- 07/21/11 20:06:14 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC11NetServTutorialInstruction
v15 v16 17 17 [[Image(traffic.jpg, 300px)]] 18 18 19 == !NetServ module development==19 == Install !NetServ module == 20 20 21 21 1. Open a terminal window and go to your !NetServ user directory. … … 94 94 }}} 95 95 96 8. Open Example.java with gedit or your favorite editor. 96 == Develop !NetServ module == 97 98 1. Open Example.java with gedit or your favorite editor. 97 99 98 100 {{{ … … 102 104 Example.java is a typical !NetServ packet processing module and it extends the !NetServ.!BuildingBlock.service.!PktProcessorActivator class. 103 105 104 9. 106 2. Modify Example.java. 107 108 Comment out processPkt() marked as scenario #1, and uncomment processPkt() scenario #2. 109 110 3. Compile and upload the new version of the module. 111 112 {{{ 113 make 114 ./upload.sh 115 }}} 116 117 4. While you're watching the browser screen, install the module into the !NetServ router. 118 119 {{{ 120 ./setup.sh 1 121 }}} 105 122 106 123 == ==