29 | | == 2 Get Started with a Simple Experiment == |
30 | | |
31 | | === 2.1 Discover Resources === |
32 | | |
33 | | We start by finding out the aggregates available to us inside GENI-in-a-Box and learning about the resources advertised by these aggregates: |
34 | | |
35 | | 1. After you are logged into the GENI-in-a-Box virtual machine, open up a terminal window by clicking on the icon for a terminal on top of the screen. |
36 | | |
37 | | 2. In the terminal window, use Omni to list the aggregates available to you using the command {{{omni.py listaggregates}}}. You should see something like this in your terminal window: |
38 | | {{{ |
39 | | $ omni.py listaggregates |
40 | | INFO:omni:Loading config file /home/gibuser/.gcf/omni_config |
41 | | INFO:omni:Using control framework gib_ch |
42 | | INFO:omni:Listing 1 aggregates... |
43 | | INFO:omni: Aggregate 1: |
44 | | urn:publicid:IDN+geni:gpo:gcf:am1+authority+am |
45 | | http://geni-in-a-box.net:8001 |
46 | | INFO:omni: ------------------------------------------------------------ |
47 | | INFO:omni: Completed listaggregates: |
48 | | |
49 | | Options as run: |
50 | | framework: gib_ch |
51 | | getversionCacheName: /home/gibuser/.gcf/get_version_cache.json |
52 | | |
53 | | Args: listaggregates |
54 | | |
55 | | Result Summary: Found 1 aggregate. URN: urn:publicid:IDN+geni:gpo:gcf:am1+authority+am; URL: http://geni-in-a-box.net:8001 |
56 | | INFO:omni: ============================================================ |
57 | | $ |
| 29 | == 3 A Simple Tmix Experiment == |
| 30 | |
| 31 | === 3.1 Reserve Resources === |
| 32 | |
| 33 | {{{ |
| 34 | omni.py createslice <sliceName> |
| 35 | omni.py -a https://www.emulab.net:12369/protogeni/xmlrpc/am createsliver <sliceName> tmix.rspec |