145 | | Users will also have to create/modify directory.xml and omni_config, but I plan to cover that during my tutorial. |
| 145 | Users will also have to create/modify directory.xml and omni_config. Here are samples for guest31: |
| 146 | |
| 147 | directory.xml |
| 148 | {{{ |
| 149 | <?xml version="1.0" encoding="UTF-8"?> |
| 150 | <gush> |
| 151 | <resource_manager type="geni-plc"> |
| 152 | <port_map slice="gec11_slice31" port="61500"/> |
| 153 | </resource_manager> |
| 154 | |
| 155 | <resource_manager type="geni-pg" cf="plc"> |
| 156 | <port_map slice="guest31-pg" port="61600"/> |
| 157 | </resource_manager> |
| 158 | </gush> |
| 159 | }}} |
| 160 | |
| 161 | omni_config: |
| 162 | {{{ |
| 163 | [omni] |
| 164 | users = guest31 |
| 165 | |
| 166 | [plc] |
| 167 | type=sfa |
| 168 | authority=plc.gec11 |
| 169 | user=plc.gec11.guest31 |
| 170 | cert=~/.sfi/plc.gec11.guest31.gid |
| 171 | key=~/.sfi/guest31.pkey |
| 172 | registry=http://www.planet-lab.org:12345 |
| 173 | slicemgr=http://www.planet-lab.org:12347 |
| 174 | |
| 175 | [guest31] |
| 176 | urn=urn:publicid:IDN+plc:gec11+user+guest31 |
| 177 | keys=~/.ssh/id_rsa.pub |
| 178 | }}} |