| 62 | The general command is: |
| 63 | {{{ |
| 64 | omni.py -V 3 -a pg-utah3 poa SLICE_NAME geni_sharelan --optionsfile lan_options.json |
| 65 | }}} |
| 66 | |
| 67 | The contents of lan_options should be: |
| 68 | {{{ |
| 69 | { |
| 70 | "geni_sharelan_lanname": "LAN_CLIENT_ID", |
| 71 | "geni_sharelan_token": "STRING_IDENTIFYING_SHARED_LAN" |
| 72 | } |
| 73 | }}} |
| 74 | |
| 75 | }}} |
| 76 | For example: |
| 77 | {{{ |
| 78 | { |
| 79 | "geni_sharelan_lanname": "lan0", |
| 80 | "geni_sharelan_token": "janesSpecialLan" |
| 81 | } |
| 82 | }}} |
| 83 | |
| 84 | Example output of running `performoperationalaction`: |
| 85 | {{{ |
| 86 | $ omni.py -a pg-utah3 poa sharedlan geni_sharelan --optionsfile ../../SharedLan/lan_options.json -V 3 |
| 87 | 13:44:25 INFO omni: Loading agg_nick_cache file '/Users/sedwards/.gcf/agg_nick_cache' |
| 88 | 13:44:25 INFO omni: Loading config file /Users/sedwards/.gcf/omni_config |
| 89 | 13:44:25 INFO omni: Using control framework portal |
| 90 | 13:44:25 INFO omni: Substituting AM nickname pg-utah3 with URL https://www.emulab.net:12369/protogeni/xmlrpc/am/3.0, URN urn:publicid:IDN+emulab.net+authority+cm |
| 91 | 13:44:26 INFO omni: Slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan expires on 2013-11-14 18:09:29 UTC |
| 92 | 13:44:26 INFO omni: PerformOperationalAction geni_sharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan at https://www.emulab.net:12369/protogeni/xmlrpc/am/3.0 |
| 93 | 13:44:39 INFO omni: (PG log url - look here for details on any failures: https://www.emulab.net/spewlogfile.php3?logfile=7e38b4a9a56d13534834fdee4f64d3d0) |
| 94 | 13:44:39 INFO omni: PerformOperationalAction result for geni_sharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan at AM URL https://www.emulab.net:12369/protogeni/xmlrpc/am/3.0 |
| 95 | 13:44:39 INFO omni: 0 |
| 96 | 13:44:39 INFO omni: ------------------------------------------------------ |
| 97 | 13:44:39 INFO omni: Completed poa: |
| 98 | Args: poa sharedlan geni_sharelan |
| 99 | |
| 100 | Result Summary: Slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan expires on 2013-11-14 18:09:29 UTC |
| 101 | PerformOperationalAction geni_sharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan was successful. |
| 102 | |
| 103 | 13:44:39 INFO omni: ====================================================== |
| 104 | }}} |
| 105 | |