46 | | === 3.1 Create a slice === |
47 | | |
48 | | {{{ |
49 | | #!html |
50 | | <table border="0"> |
| 46 | === 3.1 Generate RSpec based on existing smaller topology === |
| 47 | |
| 48 | 1. This experiment already works using this [small topology]. Load |
| 49 | (but do not reserve) this topology in your favorite to see what it |
| 50 | looks like. |
| 51 | 1. Download this [config file] for the `create_rspec` tool distributed |
| 52 | with `geni-lib`. |
| 53 | 1. Open the file using your favorite text editor (`vi` or `emacs`). |
| 54 | Replace `X` with the value on your worksheet. If you are doing this |
| 55 | outside a tutorial, replace `X` with `1`. |
| 56 | 1. Run the rspec_gen script on the configuration file: |
| 57 | {{{ |
| 58 | ./rspec_geni.py -r site.txt |
| 59 | }}} |
| 60 | 1. Look at the generated file using your favorite tools (`less`, |
| 61 | `more`, `emacs`, `vi`). |
| 62 | a. Can you find each node? Can you find the router node? The |
| 63 | host nodes? |
| 64 | b. Which interface is the Shared VLAN on? Find where the IP |
| 65 | address for that interface is set and change the IP to be `10.100.Y.X` |
| 66 | where Y and X are provided on your worksheet. '''Or do in Jacks and |
| 67 | download the IP address?''' |
| 68 | |
52 | | <tr> |
53 | | |
54 | | <td > |
55 | | <ol type='a'> |
56 | | <li> Go to the <i>Home</i> tab. </li> |
57 | | <li> Press the <b>Create Slice</b> button for this project.</li> |
58 | | <li> <FONT COLOR="black">As a slice name use the slice name on your worksheet. If you don't have a worksheet, use <i>lab0<your initials></i>. You can leave the description empty and press <b>Create Slice</b></font> |
59 | | </li> |
60 | | |
61 | | |
62 | | </ol> |
63 | | </td> |
64 | | <td> |
65 | | |
66 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/createslice_3_v2.png?format=raw" alt="Create a GENI Slice" width="400" title="Create a GENI Slice" /> |
67 | | <br /> |
68 | | <b>Figure 3-1</b> <i>Create a new slice.</i> |
69 | | </td> |
70 | | </tr> |
71 | | </table> |
72 | | }}} |
73 | | |
74 | | === 3.2 (optional) Renew your slice === |
75 | | Slices and the resources within them are reserved until their individual ''expiration times''. Renewing allows you to extend the expiration time of your slice and the resources in them. |
76 | | {{{ |
77 | | #!html |
78 | | |
79 | | <table id="Table_01" border="0" cellpadding="5" cellspacing="0"> |
80 | | <tr> |
81 | | <td> |
82 | | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/warning-icon-hi.png?format=raw" width="50" height="50" alt="Warning"> |
83 | | </td> |
84 | | <td>Slices and the resources within them have <i>distinct</i> expiration times. You must renew <b>both</b> the slice and the resources separately. |
85 | | </td> |
86 | | </tr> |
87 | | </table> |
88 | | }}} |
89 | | |
90 | | {{{ |
91 | | #!html |
92 | | <table border="0"> |
93 | | <tr> |
94 | | |
95 | | <td > |
96 | | <ol type='a'> |
97 | | <li>On the <i>Slice</i> page, select the <b>Renew slice only</b> radio button.</li> |
98 | | <li>Click on the date below. In the calendar that pops up, select a date in the near future.</li> |
99 | | <li>Press <b>Renew</b> to renew the slice. Renewing the slice now allows the resources to have longer initial expiration times.</li> |
100 | | |
101 | | </ol> |
102 | | </td> |
103 | | <td> |
104 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/renew_slice_v3.png?format=raw" alt="Renew slice" width="400" title="Renew Slice" /> |
105 | | <br /> |
106 | | <b>Figure 3-2</b> <i>Renew the slice.</i></i> |
107 | | </td> |
108 | | </tr> |
109 | | </table> |
110 | | }}} |
111 | | |
112 | | |