[wiki:WikiStart Orbit] > [wiki:Documentation/OTG OTG] > Scripts Repository == Application Definition == * [wiki:Documentation/OTG/ScriptsRepository/OtgAppDef otg.rb] * [wiki:Documentation/OTG/ScriptsRepository/OtrAppdef otr.rb] * [wiki:Documentation/OTG/ScriptsRepository/OtfAppdef otf.rb] == Prototype Definition == * [wiki:Documentation/OTG/ScriptsRepository/ProtoDefSender sender.rb] * [wiki:Documentation/OTG/ScriptsRepository/ProtoDefReceiver receiver.rb] * [wiki:Documentation/OTG/ScriptsRepository/ProtoDefTcpSender tcp_sender.rb] * [wiki:Documentation/OTG/ScriptsRepository/ProtoDefRawSender raw_sender.rb] * [wiki:Documentation/OTG/ScriptsRepository/ProtoDefRawReceiver raw_receiver.rb] * [wiki:Documentation/OTG/ScriptsRepository/ProtoDefColocateSender colocate_sender.rb] * [wiki:Documentation/OTG/ScriptsRepository/ProtoDefExpooSender expoo_sender.rb] * [wiki:Documentation/OTG/ScriptsRepository/ProtoDefForwarder forwarder.rb] == Example Experiment Scripts == * [wiki:Documentation/OTG/ScriptsRepository/ExpUDP1 UDP/TCP One-to-one communication CBR] * [wiki:Documentation/OTG/ScriptsRepository/OTG/ScriptsRepository/ExpUDPLibmac1 UDP/TCP One-to-one communication with Wireless PHY parameters reported] * [wiki:Documentation/OTG/ScriptsRepository/ExpUDP2 UDP/TCP One-to-one communication Exponential On/Off traffic] * [wiki:Documentation/OTG/ScriptsRepository/ExpRAW1 One-to-one communication with RAW Socket] * [wiki:Documentation/OTG/ScriptsRepository/ExpBcast UDP broadcast sender with RAW socket receiver with wireless PHY parameters reported] * [wiki:Documentation/OTG/ScriptsRepository/OTG/ScriptsRepository/ExpUDP3to1 A group of nodes sending to one receiver UDP/TCP] * [wiki:Documentation/OTG/ScriptsRepository/ExpUDP3colocatedto1 Three co-located senders to one receiver UDP/TCP] * [attachment:"ExpUDPOfferloadSwitch.rb" UDP communication with gradually increasing offering load] * [wiki:Documentation/OTG/ScriptsRepository/ExpFWD UDP communication with sender-forwarder-receiver] * An AODV experiment with OTG can be found in page wiki:HowTo/UsingAODV * calibration experiment [attachment:"caliberexp.rb" caliberexp.rb] == Download Instructions == Because all script files are pure text, just go to corresponding page and copy-paste the contents of the file. == Usage Instructions == Only some standard scripts are included in the default nodehandler package. If you want to improvise or use customized scripts like some of the above ones, you can put them in your home direcotry, where you are going to call "nodehandler" command. For the application definiton files and prototype files, the following naming convention is used: * '''test_app_.rb''' For example: test_app_otg.rb * '''test_proto_.rb''' For example: test_proto_sender.rb For experiment files, there is no naming convention, any name ended with "rb" will work. For writing exp files: '''Please note: the node group name cannot cantain "-" character'''