Changes between Version 21 and Version 22 of GeniTmixSoftware
- Timestamp:
- 03/14/13 16:39:09 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeniTmixSoftware
v21 v22 23 23 Follow these instructions to build and install the Tmix software. The following assumes version 1.0 of the software, if installing a different version, replace tmix.1.0 with the correct version number. 24 24 25 1. Copy the tmix software tarball to a directory where it can be uncompressed and untarred, then issue the following command:25 1. Copy the tmix software tarball to a directory where it can be uncompressed and untarred, change to that directory, then issue the following command: 26 26 {{{ 27 27 tar -zxvf tmix.1.0 … … 46 46 47 47 == Run == 48 Test Run 49 Here is a 4 step test install of this software. Full usage instructions for each step are in README.txt 48 Tmix generates traffic based on traffic measured on a real link. Currently only pcap format files are supported. Pcap is a standard format, and most network traces should be easily output in or converted to the pcap format. The Tmix software requires that packets be identified as incoming packets or outgoing packets. Incoming packets are those entering an institution or machine over a link, and likewise outgoing packets are those leaving an institution or machine. For an internal host surfing the web, the packets making up an HTTP request are outgoing packets, and 50 49 51 Create gcf_config 52 cd gcf 53 cp gcf_config.sample gcf_config 54 Optional: Edit gcf_config if you want to change settings from the default. 50 Follow these steps to obtain a set of Tmix input files. These instructions assume you have installed binaries, and they are in your path, if not, augment the program names below with the paths to those binaries. 55 51 56 Note: for a test run edits are not needed. Do this only if you want to change settings from the defaults.57 52 58 Create certificates and run the GENI Clearinghouse In terminal one:59 cd gcf60 python src/gen-certs.py61 python src/gcf-ch.py62 Run the GENI Aggregate Manager in a second terminal:63 python src/gcf-am.py64 Run the gcf client test script in a third terminal window:65 python src/gcf-test.py66 You should see output like this:67 53 68 $ python src/gcf-test.py 69 INFO:gcf-test:CH Server is https://localhost:8000/. Using keyfile /home/jkarlin/dev/gcf/alice-key.pem, certfile /home/jkarlin/dev/gcf/alice-cert.pem 70 INFO:gcf-test:AM Server is https://localhost:8001/. Using keyfile /home/jkarlin/dev/gcf/alice-key.pem, certfile /home/jkarlin/dev/gcf/alice-cert.pem 71 Slice Creation SUCCESS: URN = urn:publicid:IDN+geni:gpo:gcf+slice+1468-659:127.0.0.1%3A8000 72 Testing GetVersion... passed 73 Testing ListResources... passed 74 Testing CreateSliver... passed 75 Testing SliverStatus... passed 76 Testing ListResources... passed 77 Testing RenewSliver... passed. (Result: False) 78 Testing DeleteSliver... passed 79 Testing ListResources... passed 80 Second Slice URN = urn:publicid:IDN+geni:gpo:gcf+slice+065e-c63:127.0.0.1%3A8000 81 Testing ListResources... passed 82 Testing CreateSliver... passed 83 Testing Shutdown... passed 84 Next Steps 85 If you ran in to issues or your output looks different 54 1. Identify a pcap file you wish to process into a pair of Tmix input files. 86 55 87 Confirm you followed the install instructions including dependencies 88 See the Omni Troubleshooting page for more detailed help 89 Look at the source for the reference aggregate manager to understand how the API and credentials are used, or to implement your own AM. 56 2. Change to a directory in which your input files will be created (they will be put in a tmix-results sub-directory) 90 57 91 See README-omni.txt to try the Omni client for talking to multiple aggregate managers and control frameworks. 92 93 Try federating your test GCF aggregate manager with another clearinghouse. For details, see README.txt 94 95 Further reading is on the GENI Wiki, as listed in README.txt. 58 3. Issue the foll