393 | | <rspec expires="2012-01-23T13:12:32Z" generated="2012-01-09T18:12:35Z" type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" x |
394 | | mlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.proto |
395 | | geni.net/resources/rspec/2/manifest.xsd http://www.planet-lab.org/resources/sfa/ext/planetlab/1 http://www.planet-lab.org/resources/sfa/ext/planetlab/1/planetlab.xsd"> |
396 | | <node client_id="plnode-03.gpolab.bbn.com" component_id="urn:publicid:IDN+plc:bbn+node+plnode-03.gpolab.bbn.com" component_manager_id="urn:publicid:IDN+plc+authority+cm" component_name="plnode-03.gpolab |
397 | | .bbn.com" exclusive="false" sliver_id="urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice:23324:13627:0"> |
| 386 | <rspec expires="2012-10-02T10:21:35Z" generated="2012-09-18T14:21:41Z" type="manifest" |
| 387 | xmlns="http://www.protogeni.net/resources/rspec/2" |
| 388 | xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" |
| 389 | xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" |
| 390 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 391 | xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 |
| 392 | http://www.protogeni.net/resources/rspec/2/manifest.xsd |
| 393 | http://www.planet-lab.org/resources/sfa/ext/planetlab/1 |
| 394 | http://www.planet-lab.org/resources/sfa/ext/planetlab/1/planetlab.xsd"> |
| 395 | |
| 396 | <node client_id="williamspl3" component_id="urn:publicid:IDN+plc:williams+node+planetlab3.williams.edu" |
| 397 | component_manager_id="urn:publicid:IDN+plc+authority+cm" component_name="planetlab3.williams.edu" |
| 398 | exclusive="false" sliver_id="urn:publicid:IDN+plc:pgeni.gpolab.bbn.com+slice+lnevers-1slice-10860"> |
| 399 | <hardware_type name="plab-pc"/> |
| 400 | <hardware_type name="pc"/> |
| 401 | <location country="unknown" latitude="42.71" longitude="-73.2"/> |
| 402 | <interface client_id="10860:1643" component_id="urn:publicid:IDN+plc+interface+node10860:eth0"/> |
| 403 | <services> |
| 404 | <login authentication="ssh-keys" hostname="planetlab3.williams.edu" port="22" |
| 405 | username="pgenigpolabbbncom_lnevers1slice"/> |
| 406 | </services> |
| 407 | <sliver_type name="plab-vserver"/> |
| 408 | </node> |
| 409 | <node client_id="gpopl3" component_id="urn:publicid:IDN+plc:bbn+node+plnode-03.gpolab.bbn.com" |
| 410 | component_manager_id="urn:publicid:IDN+plc+authority+cm" component_name="plnode-03.gpolab.bbn.com" |
| 411 | exclusive="false" sliver_id="urn:publicid:IDN+plc:pgeni.gpolab.bbn.com+slice+lnevers-1slice-13627"> |
430 | | <?xml version="1.0" ?> |
431 | | <!-- Reserved resources for: |
432 | | Slice: lnevers-1slice |
433 | | At AM: |
434 | | URL: http://www.planet-lab.org:12346 |
435 | | --> |
436 | | |
437 | | <rspec expires="2012-01-23T13:12:32Z" generated="2012-01-09T18:12:35Z" type="manifest" xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" x |
438 | | mlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.proto |
439 | | geni.net/resources/rspec/2/manifest.xsd http://www.planet-lab.org/resources/sfa/ext/planetlab/1 http://www.planet-lab.org/resources/sfa/ext/planetlab/1/planetlab.xsd"> |
440 | | <node client_id="plnode-03.gpolab.bbn.com" component_id="urn:publicid:IDN+plc:bbn+node+plnode-03.gpolab.bbn.com" component_manager_id="urn:publicid:IDN+plc+authority+cm" component_name="plnode-03.gpolab |
441 | | .bbn.com" exclusive="false" sliver_id="urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice:23324:13627:0"> |
442 | | <hardware_type name="plab-pc"/> |
443 | | <hardware_type name="pc"/> |
444 | | <location country="unknown" latitude="42.3907" longitude="-71.1478"/> |
445 | | <interface client_id="13627:2918" component_id="urn:publicid:IDN+plc+interface+node13627:eth0"/> |
446 | | <services> |
447 | | <login authentication="ssh-keys" hostname="plnode-03.gpolab.bbn.com" port="22" username="pgenigpolabbbncom_lnevers1slice"/> |
448 | | </services> |
449 | | $ omni.py -a pg-utah lnevers-1slice |
450 | | INFO:omni:Loading config file omni_config |
451 | | INFO:omni:Using control framework pgeni |
452 | | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice expires on 2012-01-30 00:00:00 UTC |
453 | | INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice: |
454 | | INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice at AM URL https://www.emulab.net/protogeni/xmlrpc/am |
455 | | INFO:omni:{'geni_resources': [{'geni_error': '', |
456 | | 'geni_status': 'ready', |
457 | | 'geni_urn': 'urn:publicid:IDN+emulab.net+sliver+68392', |
458 | | 'pg_manifest': {'attributes': {'component_id': 'urn:publicid:IDN+emulab.net+node+pc333', |
459 | | 'component_manager_id': 'urn:publicid:IDN+emulab.net+authority+cm', |
460 | | 'exclusive': 'true', |
461 | | 'sliver_id': 'urn:publicid:IDN+emulab.net+sliver+68392', |
462 | | 'virtual_id': 'geni1', |
463 | | 'virtualization_type': 'emulab-vnode', |
464 | | 'xmlns': 'http://www.protogeni.net/resources/rspec/2', |
465 | | 'xmlns:emulab': 'http://www.protogeni.net/resources/rspec/ext/emulab/1'}, |
466 | | 'children': [{'attributes': {'name': 'raw-pc'}, |
467 | | 'children': [], |
468 | | 'name': 'sliver_type'}, |
469 | | {'attributes': {'name': 'pc333'}, |
470 | | 'children': [], |
471 | | 'name': 'emulab:vnode'}, |
472 | | {'attributes': {'name': 'geni1.lnevers-1slice.pgeni-gpolab-bbn-com.emulab.net'}, |
473 | | 'children': [], |
474 | | 'name': 'host'}, |
475 | | {'attributes': {}, |
476 | | 'children': [{'attributes': {'authentication': 'ssh-keys', |
477 | | 'hostname': 'pc333.emulab.net', |
478 | | 'port': 22, |
479 | | 'username': 'lnevers'}, |
480 | | 'children': [], |
481 | | 'name': 'login'}], |
482 | | 'name': 'services'}], |
483 | | 'name': 'node'}, |
484 | | 'pg_status': 'ready'}, |
485 | | {'geni_error': '', |
486 | | 'geni_status': 'ready', |
487 | | 'geni_urn': 'urn:publicid:IDN+emulab.net+sliver+68393', |
488 | | 'pg_manifest': {'attributes': {'component_id': 'urn:publicid:IDN+emulab.net+node+pc350', |
489 | | 'component_manager_id': 'urn:publicid:IDN+emulab.net+authority+cm', |
490 | | 'exclusive': 'true', |
491 | | 'sliver_id': 'urn:publicid:IDN+emulab.net+sliver+68393', |
492 | | 'virtual_id': 'geni2', |
493 | | 'virtualization_type': 'emulab-vnode', |
494 | | 'xmlns': 'http://www.protogeni.net/resources/rspec/2', |
495 | | 'xmlns:emulab': 'http://www.protogeni.net/resources/rspec/ext/emulab/1'}, |
496 | | 'children': [{'attributes': {'name': 'raw-pc'}, |
497 | | 'children': [], |
498 | | 'name': 'sliver_type'}, |
499 | | {'attributes': {'name': 'pc350'}, |
500 | | 'children': [], |
501 | | 'name': 'emulab:vnode'}, |
502 | | {'attributes': {'name': 'geni2.lnevers-1slice.pgeni-gpolab-bbn-com.emulab.net'}, |
503 | | 'children': [], |
504 | | 'name': 'host'}, |
505 | | {'attributes': {}, |
506 | | 'children': [{'attributes': {'authentication': 'ssh-keys', |
507 | | 'hostname': 'pc350.emulab.net', |
508 | | 'port': 22, |
509 | | 'username': 'lnevers'}, |
510 | | 'children': [], |
511 | | 'name': 'login'}], |
512 | | 'name': 'services'}], |
513 | | 'name': 'node'}, |
514 | | 'pg_status': 'ready'}], |
515 | | 'geni_status': 'ready', |
516 | | 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice', |
517 | | 'pg_expires': '2012-01-14 11:10:10', |
518 | | 'pg_status': 'ready'} |
519 | | INFO:omni: ------------------------------------------------------------ |
520 | | INFO:omni: Completed sliverstatus: |
521 | | |
522 | | Options as run: |
523 | | aggregate: https://www.emulab.net/protogeni/xmlrpc/am |
524 | | framework: pgeni |
525 | | native: True |
526 | | |
527 | | Args: sliverstatus lnevers-1slice |
528 | | |
529 | | Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice expires on 2012-01-30 00:00:00 UTC |
530 | | Returned status of slivers on 1 of 1 possible aggregates. |
531 | | INFO:omni: ============================================================ |
532 | | }}} |
533 | | |
534 | | To check the ''sliverstatus'' for PL resources, but this time saving the status output to a file, the following command was issued: |
535 | | |
536 | | {{{ |
537 | | $ omni.py -a plc -o sliverstatus -t geni 3 --api-version 2 lnevers-1slice |
538 | | INFO:omni:Loading config file omni_config |
539 | | INFO:omni:Using control framework pgeni |
540 | | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice expires on 2012-01-30 00:00:00 UTC |
541 | | INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice: |
542 | | INFO:omni:Writing to 'lnevers-1slice-sliverstatus-www-planet-lab-org.json' |
543 | | INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice at AM URL http://www.planet-lab.org:12346 |
544 | | INFO:omni: ------------------------------------------------------------ |
545 | | INFO:omni: Completed sliverstatus: |
546 | | |
547 | | Options as run: |
548 | | aggregate: http://www.planet-lab.org:12346 |
549 | | api_version: 2 |
550 | | framework: pgeni |
551 | | native: True |
552 | | output: True |
553 | | rspectype: ('geni', '3') |
554 | | |
555 | | Args: sliverstatus lnevers-1slice |
556 | | |
557 | | Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice expires on 2012-01-30 00:00:00 UTC |
558 | | Saved sliverstatus on lnevers-1slice at AM http://www.planet-lab.org:12346 to file lnevers-1slice-sliverstatus-www-planet-lab-org.json. |
559 | | Returned status of slivers on 1 of 1 possible aggregates. |
560 | | INFO:omni: ============================================================ |
561 | | }}} |
562 | | |
563 | | And the saved status is: |
564 | | {{{ |
565 | | {'geni_resources': [{'geni_error': '', |
566 | | 'geni_status': 'ready', |
567 | | 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+lnevers-1slice:23324:13627:0', |
568 | | 'pl_boot_state': 'boot', |
569 | | 'pl_hostname': 'plnode-03.gpolab.bbn.com', |
570 | | 'pl_last_contact': '2012-01-09T13:15:59Z'}, |
571 | | {'geni_error': '', |
572 | | 'geni_status': 'ready', |
573 | | 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+lnevers-1slice:23324:10860:0', |
574 | | 'pl_boot_state': 'boot', |
575 | | 'pl_hostname': 'planetlab3.williams.edu', |
576 | | 'pl_last_contact': '2012-01-09T13:13:23Z'}], |
577 | | 'geni_status': 'ready', |
578 | | 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+lnevers-1slice', |
579 | | 'pl_expires': '2012-01-23T13:12:32Z', |
580 | | 'pl_login': 'pgenigpolabbbncom_lnevers1slice'} |
581 | | }}} |
582 | | |
583 | | |
584 | | A lot of very useful information is reported for the ''sliverstatus'' output including which hosts are assigned to you and for how long. For PlanetLab, notice the value in the 'pl_login' field, which is the login to be used to access the nodes. For a slice across multiple aggregates, you should pay close attention to the expiration time for each aggregate sliver (pg_expires & pl_expires). Note that slice expiration time is also available in the output of many commands. |
| 434 | $ omni.py -a plc sliverstatus lnevers-1slice -o |
| 435 | $ omni.py -a pg-utah sliverstatus lnevers-1slice -o |
| 436 | }}} |
| 437 | |
| 438 | Review the output file and check for the '' "geni_status" '' to be '' "ready" '' to verify that the requested compute resources are ready for use. A lot of very useful information is reported for the ''sliverstatus'' output including which hosts are assigned to you and for how long. For !PlanetLab, notice the value in the 'pl_login' field, which is the login to be used to access the nodes. For a slice across multiple aggregates, you should pay close attention to the expiration time for each aggregate sliver (pg_expires & pl_expires). Note that slice expiration time is also available in the output of many commands. |
588 | | Note that the Emulab PG aggregate limits slivers to a duration of 5 days and you may need to extend the sliver expiration. For this example the pg_expires is ''2012-01-14 11:10:10'' while the pl_expires is ''2012-01-23T13:12:32Z''. Make sure that each expiration time meets your requirements for your experiment's duration. If you need to extend the expiration, you can use the Omni ''renewsliver'' to extend each sliver. The following command is issued to modify the expiration time for the ProtoGENI resources: |
589 | | |
590 | | {{{ |
591 | | $ omni.py -a pg-utah renewsliver lnevers-1slice '2012-01-14 16:10:10' |
592 | | INFO:omni:Loading config file omni_config |
593 | | INFO:omni:Using control framework pgeni |
594 | | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice expires on 2012-01-30 00:00:00 UTC |
595 | | INFO:omni:Renewing Sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice until 2012-01-14 16:10:10+00:00 (UTC) |
596 | | INFO:omni:Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice at unspecified_AM_URN (https://www.emulab.net/protogeni/xmlrpc/am) until 2012-01-14T16:10:10+00:00 (UTC) |
597 | | INFO:omni: ------------------------------------------------------------ |
598 | | INFO:omni: Completed renewsliver: |
599 | | |
600 | | Options as run: |
601 | | aggregate: https://www.emulab.net/protogeni/xmlrpc/am |
602 | | framework: pgeni |
603 | | native: True |
604 | | |
605 | | Args: renewsliver lnevers-1slice 2012-01-14 16:10:10 |
606 | | |
607 | | Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice expires on 2012-01-30 00:00:00 UTC |
608 | | Renewed sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice at unspecified_AM_URN (https://www.emulab.net/protogeni/xmlrpc/am) until 2012-01-14T16:10:10+00:00 (UTC) |
609 | | INFO:omni: ============================================================ |
610 | | }}} |
611 | | |
612 | | Check status again and you will notice that the ''pg_expires'' has been modified: |
613 | | |
614 | | {{{ |
615 | | $ omni.py -a pg-utah sliverstatus lnevers-1slice |
616 | | INFO:omni:Loading config file omni_config |
617 | | INFO:omni:Using control framework pgeni |
618 | | |
619 | | ..... |
620 | | 'geni_status': 'ready', |
621 | | 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice', |
622 | | 'pg_expires': '2012-01-14 09:10:10', |
623 | | 'pg_status': 'ready'} |
624 | | INFO:omni: ------------------------------------------------------------ |
625 | | INFO:omni: Completed sliverstatus: |
626 | | |
627 | | Options as run: |
628 | | aggregate: https://www.emulab.net/protogeni/xmlrpc/am |
629 | | framework: pgeni |
630 | | native: True |
631 | | |
632 | | Args: sliverstatus lnevers-1slice |
633 | | |
634 | | Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice expires on 2012-01-30 00:00:00 UTC |
635 | | Returned status of slivers on 1 of 1 possible aggregates. |
636 | | INFO:omni: ============================================================ |
637 | | }}} |
664 | | Result Summary: Retrieved resources for slice lnevers-1slice from 1 aggregates. |
665 | | Wrote rspecs from 1 aggregates to 1 files |
666 | | Saved listResources RSpec at unspecified_AM_URN to file lnevers-1slice-rspec-www-emulab-net-protogeni.xml. |
667 | | INFO:omni: ============================================================ |
668 | | |
669 | | }}} |
670 | | |
671 | | The result will be a file (''lnevers-1slice-rspec-www-emulab-net.xml'') of the resources in your slice at that aggregate. |
| 469 | Result Summary: Queried resources for slice lnevers-1slice from 1 of 1 aggregate(s). |
| 470 | Wrote rspecs from 1 aggregate(s) to 1 file(s) |
| 471 | Saved listresources RSpec at 'unspecified_AM_URN' to file lnevers-1slice-manifest-rspec-www-emulab-net-protogeniv2.xml; |
| 472 | INFO:omni: ============================================================ |
| 473 | }}} |
| 474 | |
| 475 | The result will be a file (''lnevers-1slice-manifest-rspec-www-emulab-net-protogeniv2.xml'') of the resources in your slice at that aggregate. |
| 476 | |
| 477 | You may also check for the sliver status and the login information with the gcf ''readiToLogin.py'' script. This is the login information for the PG Emulab sliver: |
| 478 | {{{ |
| 479 | $ ./examples/readyToLogin.py -a pg-utah lnevers-1slice |
| 480 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 481 | INFO:omni:Using control framework pg |
| 482 | Key file [/home/lnevers/.ssh/luisa-mac-id_rsa] does NOT exist. |
| 483 | Key file [/home/lnevers/.ssh/sendaria-id_rsa] does NOT exist. |
| 484 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 485 | INFO:omni:Using control framework pg |
| 486 | INFO:omni:Substituting AM nickname pg-utah with URL https://www.emulab.net/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN |
| 487 | ..... |
| 488 | ================================================================================ |
| 489 | SSH CONFIGURATION INFO for User lnevers |
| 490 | ================================================================================ |
| 491 | |
| 492 | Host geni2 |
| 493 | Port 22 |
| 494 | HostName pc484.emulab.net |
| 495 | User lnevers |
| 496 | IdentityFile /home/lnevers/.ssh/id_rsa |
| 497 | |
| 498 | Host geni1 |
| 499 | Port 22 |
| 500 | HostName pc505.emulab.net |
| 501 | User lnevers |
| 502 | IdentityFile /home/lnevers/.ssh/id_rsa |
| 503 | |
| 504 | ================================================================================ |
| 505 | LOGIN INFO for AM: https://www.emulab.net/protogeni/xmlrpc/am/2.0 |
| 506 | ================================================================================ |
| 507 | |
| 508 | geni2's geni_status is: ready (am_status:ready) |
| 509 | User lnevers logins to geni2 using: |
| 510 | xterm -e ssh -i /home/lnevers/.ssh/id_rsa lnevers@pc484.emulab.net & |
| 511 | |
| 512 | |
| 513 | geni1's geni_status is: ready (am_status:ready) |
| 514 | User lnevers logins to geni1 using: |
| 515 | xterm -e ssh -i /home/lnevers/.ssh/id_rsa lnevers@pc505.emulab.net & |
| 516 | |
| 517 | }}} |
| 518 | |
| 519 | This is the login information for the !PlanetLab nodes: |
| 520 | {{{ |
| 521 | $ ./examples/readyToLogin.py -a plc lnevers-1slice |
| 522 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 523 | INFO:omni:Using control framework pg |
| 524 | Key file [/home/lnevers/.ssh/luisa-mac-id_rsa] does NOT exist. |
| 525 | Key file [/home/lnevers/.ssh/sendaria-id_rsa] does NOT exist. |
| 526 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 527 | INFO:omni:Using control framework pg |
| 528 | INFO:omni:Substituting AM nickname plc with URL https://www.planet-lab.org:12346, URN unspecified_AM_URN |
| 529 | INFO:omni:AM URN: unspecified_AM_URN (url: https://www.planet-lab.org:12346) has version: |
| 530 | |
| 531 | .... |
| 532 | |
| 533 | ================================================================================ |
| 534 | SSH CONFIGURATION INFO for User pgenigpolabbbncom_lnevers1slice |
| 535 | ================================================================================ |
| 536 | |
| 537 | Host planetlab3.williams.edu |
| 538 | Port 22 |
| 539 | HostName planetlab3.williams.edu |
| 540 | User pgenigpolabbbncom_lnevers1slice |
| 541 | IdentityFile /home/lnevers/.ssh/id_rsa |
| 542 | |
| 543 | Host plnode-03.gpolab.bbn.com |
| 544 | Port 22 |
| 545 | HostName plnode-03.gpolab.bbn.com |
| 546 | User pgenigpolabbbncom_lnevers1slice |
| 547 | IdentityFile /home/lnevers/.ssh/id_rsa |
| 548 | |
| 549 | ================================================================================ |
| 550 | LOGIN INFO for AM: https://www.planet-lab.org:12346 |
| 551 | ================================================================================ |
| 552 | |
| 553 | planetlab3.williams.edu's geni_status is: failed (am_status:reinstall) |
| 554 | User pgenigpolabbbncom_lnevers1slice logins to planetlab3.williams.edu using: |
| 555 | xterm -e ssh -i /home/lnevers/.ssh/id_rsa pgenigpolabbbncom_lnevers1slice@planetlab3.williams.edu & |
| 556 | |
| 557 | plnode-03.gpolab.bbn.com's geni_status is: ready (am_status:boot) |
| 558 | User pgenigpolabbbncom_lnevers1slice logins to plnode-03.gpolab.bbn.com using: |
| 559 | xterm -e ssh -i /home/lnevers/.ssh/id_rsa pgenigpolabbbncom_lnevers1slice@plnode-03.gpolab.bbn.com & |
| 560 | }}} |
| 561 | |
728 | | $ omni.py -a plc deletesliver -t geni 3 --api-version 2 lnevers-1slice |
729 | | INFO:omni:Loading config file omni_config |
730 | | INFO:omni:Using control framework pgeni |
731 | | INFO:omni:Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice on unspecified_AM_URN at http://www.planet-lab.org:12346 |
732 | | INFO:omni: ------------------------------------------------------------ |
733 | | INFO:omni: Completed deletesliver: |
734 | | |
735 | | Options as run: |
736 | | aggregate: http://www.planet-lab.org:12346 |
737 | | api_version: 2 |
738 | | framework: pgeni |
739 | | native: True |
740 | | rspectype: ('geni', '3') |
741 | | |
742 | | Args: deletesliver lnevers-1slice |
743 | | |
744 | | Result Summary: Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice on unspecified_AM_URN at http://www.planet-lab.org:12346 |
745 | | INFO:omni: ============================================================ |
746 | | }}} |
747 | | |
748 | | Then, to see what resources you have in this slice at Planetlab: |
749 | | {{{ |
750 | | $ omni.py -f pgeni -a plc -t geni 3 --api-version 2 listresources lnevers-1slice |
751 | | }}} |
752 | | |
753 | | The results above show that the returned RSpec contains no nodes - as expected, since we had already deleted our sliver there. |
| 638 | $ omni.py listmyslices lnevers |
| 639 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 640 | INFO:omni:Using control framework pg |
| 641 | INFO:omni:User 'lnevers' has slice(s): |
| 642 | urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-1slice |
| 643 | urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foam-lnevers |
| 644 | urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-exp1 |
| 645 | INFO:omni: ------------------------------------------------------------ |
| 646 | INFO:omni: Completed listmyslices: |
| 647 | |
| 648 | Options as run: |
| 649 | framework: pg |
| 650 | getversionCacheName: /home/lnevers/.gcf/get_version_cache.json |
| 651 | |
| 652 | Args: listmyslices lnevers |
| 653 | Result Summary: Found 3 slice(s) for user 'lnevers'. |
| 654 | |
| 655 | INFO:omni: ============================================================ |
| 656 | |
| 657 | }}} |
| 658 | The {{{listmyslices}}} output shows that the user ''lnevers'' has 3 slices. We now request to see what resources are associated with one of the slices at !PlanetLab: |
| 659 | {{{ |
| 660 | $ omni.py -f pg -a plc -t geni 3 listresources lnevers-exp1 |
| 661 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 662 | INFO:omni:Using control framework pg |
| 663 | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers-exp1 expires on 2012-09-19 15:52:04 UTC |
| 664 | INFO:omni:Gathering resources reserved for slice lnevers-exp1. |
| 665 | INFO:omni:Substituting AM nickname plc with URL https://www.planet-lab.org:12346, URN unspecified_AM_URN |
| 666 | INFO:omni:Listed resources on 1 out of 1 possible aggregates. |
| 667 | INFO:omni:<?xml version="1.0" ?> |
| 668 | INFO:omni: <!-- Reserved resources for: |
| 669 | Slice: lnevers-exp1 |
| 670 | at AM: |
| 671 | URN: unspecified_AM_URN |
| 672 | URL: https://www.planet-lab.org:12346 |
| 673 | --> |
| 674 | INFO:omni: <rspec expires="2012-10-02T10:57:30Z" generated="2012-09-18T14:59:36Z" type="manifest" |
| 675 | xmlns="http://www.geni.net/resources/rspec/3" xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" |
| 676 | xmlns:planetlab="http://www.planet-lab.org/resources/sfa/ext/planetlab/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 677 | xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd |
| 678 | http://www.planet-lab.org/resources/sfa/ext/planetlab/1 http://www.planet-lab.org/resources/sfa/ext/planetlab/1/planetlab.xsd"> |
| 679 | |
| 680 | <node client_id="mynode" component_id="urn:publicid:IDN+plc:bu+node+planetlab-02.bu.edu" |
| 681 | component_manager_id="urn:publicid:IDN+plc+authority+cm" |
| 682 | component_name="planetlab-02.bu.edu" exclusive="false" sliver_id="urn:publicid:IDN+plc:pgeni.gpolab.bbn.com+slice+lnevers-exp1-10815"> |
| 683 | <hardware_type name="plab-pc"/> |
| 684 | <hardware_type name="pc"/> |
| 685 | <location country="unknown" latitude="42.35" longitude="-71.1"/> |
| 686 | <interface client_id="10815:1605" component_id="urn:publicid:IDN+plc+interface+node10815:eth0"/> |
| 687 | <services> |
| 688 | <login authentication="ssh-keys" hostname="planetlab-02.bu.edu" port="22" username="pgenigpolabbbncom_lneversexp1"/> |
| 689 | </services> |
| 690 | <sliver_type name="plab-vserver"/> |
| 691 | </node> |
| 692 | </rspec> |
| 693 | INFO:omni: ------------------------------------------------------------ |
| 694 | INFO:omni: Completed listresources: |
| 695 | Options as run: |
| 696 | aggregate: ['plc'] |
| 697 | framework: pg |
| 698 | getversionCacheName: /home/lnevers/.gcf/get_version_cache.json |
| 699 | rspectype: ('geni', '3') |
| 700 | |
| 701 | Args: listresources lnevers-exp1 |
| 702 | Result Summary: Queried resources for slice lnevers-exp1 from 1 of 1 aggregate(s). |
| 703 | |
| 704 | INFO:omni: ============================================================ |
| 705 | |
| 706 | }}} |
| 707 | |
| 708 | The results above show that the returned RSpec contains 1 node that is part of the sliver at !PlanetLab |