| 105 | |
| 106 | == Example of unsharing a VLAN == |
| 107 | 1. 2. Use `omni` to run `performoperationalaction`(a.k.a. `poa`) on your slice. |
| 108 | |
| 109 | The general command is: |
| 110 | {{{ |
| 111 | omni.py -V 3 -a pg-utah3 poa SLICE_NAME geni_unsharelan --optionsfile lan_options.json |
| 112 | }}} |
| 113 | |
| 114 | The contents of `lan_options.json` match what was used to share the LAn originally and should be in the form: |
| 115 | {{{ |
| 116 | { |
| 117 | "geni_sharelan_lanname": "LAN_CLIENT_ID", |
| 118 | "geni_sharelan_token": "STRING_IDENTIFYING_SHARED_LAN" |
| 119 | } |
| 120 | }}} |
| 121 | For example: |
| 122 | {{{ |
| 123 | { |
| 124 | "geni_sharelan_lanname": "lan0", |
| 125 | "geni_sharelan_token": "janesSpecialLan" |
| 126 | } |
| 127 | }}} |
| 128 | |
| 129 | Example output of running `performoperationalaction`: |
| 130 | {{{ |
| 131 | $ omni.py -V 3 -a pg-utah3 poa sharedlan geni_unsharelan --optionsfile lan_options.json |
| 132 | 14:36:29 INFO omni: Loading agg_nick_cache file '/Users/sedwards/.gcf/agg_nick_cache' |
| 133 | 14:36:29 INFO omni: Loading config file /Users/sedwards/.gcf/omni_config |
| 134 | 14:36:29 INFO omni: Using control framework portal |
| 135 | 14:36:29 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 |
| 136 | 14:36:30 INFO omni: Slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan expires on 2013-11-14 18:09:29 UTC |
| 137 | 14:36:30 INFO omni: PerformOperationalAction geni_unsharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan at https://www.emulab.net:12369/protogeni/xmlrpc/am/3.0 |
| 138 | 14:36:47 INFO omni: (PG log url - look here for details on any failures: https://www.emulab.net/spewlogfile.php3?logfile=5d4e618722b51f582a1052255f01dc35) |
| 139 | 14:36:47 INFO omni: PerformOperationalAction result for geni_unsharelan 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 |
| 140 | 14:36:47 INFO omni: 0 |
| 141 | 14:36:47 INFO omni: ------------------------------------------------------ |
| 142 | 14:36:47 INFO omni: Completed poa: |
| 143 | Args: poa sharedlan geni_unsharelan |
| 144 | |
| 145 | Result Summary: Slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan expires on 2013-11-14 18:09:29 UTC |
| 146 | PerformOperationalAction geni_unsharelan on slivers in slice urn:publicid:IDN+ch.geni.net:tutorial+slice+sharedlan was successful. |
| 147 | |
| 148 | 14:36:47 INFO omni: ====================================================== |
| 149 | }}} |