Changes between Version 46 and Version 47 of GIR3.2_EnterpriseGENI
- Timestamp:
- 09/30/11 11:40:04 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIR3.2_EnterpriseGENI
v46 v47 105 105 $ 106 106 }}} 107 Once the password is defined, you may store-it in a file to avoid being prompted for a password when running foam commands. In this example the password was stored in a file named ''/opt/foam/etc/foampasswd''. 108 107 109 Removed the default nginx site: 108 110 {{{ … … 293 295 On the FOAM server verified that the sliver was created: 294 296 {{{ 295 $ foamctl list-slivers 296 Password: 297 $ foamctl list-slivers --passwd-file=/opt/foam/etc/foampasswd 297 298 { 298 299 "slivers": [ … … 313 314 Approved the sliver: 314 315 {{{ 315 $ foamctl approve-sliver -u urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamslice1:2140384d-48fa-447c-930d-13c2066777bc 316 Password: 316 $ foamctl approve-sliver -u urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamslice1:2140384d-48fa-447c-930d-13c2066777bc --passwd-file=/opt/foam/etc/foampasswd 317 317 true 318 318 }}} … … 320 320 Confirmed the approval: 321 321 {{{ 322 $ foamctl list-slivers 323 Password: 322 $ foamctl list-slivers --passwd-file=/opt/foam/etc/foampasswd 324 323 { 325 324 "slivers": [ … … 337 336 } 338 337 }}} 339 340 A pasword file can be created to store the foam password and used as an argument. Following is an example disable-sliver that uses a password file: 341 338 Following is an example where a sliver is disabled: 342 339 {{{ 343 340 $ foamctl disable-sliver --passwd-file=/opt/foam/etc/foampasswd disable-sliver -u urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamslice1:2140384d-48fa-447c-930d-13c2066777bc