657 | | To figure out how to login to the MyPLC hosts that you reserved use the Omni ''sliverstatus'' commands. Following are examples for the experiment captured in this page. First, we determine how to login to the Clemson MyPLC host: |
658 | | {{{ |
659 | | $ ./src/omni.py -a http://myplc.clemson.edu:12346/ sliverstatus 3sites-OF-Exp |
660 | | INFO:omni:Loading config file omni_config |
661 | | INFO:omni:Using control framework pgeni |
662 | | INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp expires on 2012-04-27 00:00:00 UTC |
663 | | INFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp: |
664 | | INFO:omni:Sliver status for Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp at AM URL http://myplc.clemson.edu:12346/ |
665 | | INFO:omni:{'geni_resources': [{'geni_error': '', |
666 | | 'geni_status': 'ready', |
667 | | 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp:81:1:0', |
668 | | 'pl_boot_state': 'boot', |
669 | | 'pl_hostname': 'planetlab4.clemson.edu', |
670 | | 'pl_last_contact': 'Wed Apr 18 11:56:45 2012'}], |
671 | | 'geni_status': 'ready', |
672 | | 'geni_urn': 'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp', |
673 | | 'pl_expires': 'Fri Apr 27 00:00:00 2012', |
674 | | 'pl_login': 'pgenigpolabbbncom_3sitesOFExp'} |
675 | | INFO:omni: ------------------------------------------------------------ |
676 | | INFO:omni: Completed sliverstatus: |
677 | | Options as run: |
678 | | aggregate: http://myplc.clemson.edu:12346/ |
679 | | framework: pgeni |
680 | | native: True |
681 | | Args: sliverstatus 3sites-OF-Exp |
682 | | Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+3sites-OF-Exp expires on 2012-04-27 00:00:00 UTC |
683 | | Returned status of slivers on 1 of 1 possible aggregates. |
684 | | INFO:omni: ============================================================ |
685 | | }}} |
686 | | |
687 | | From the output, we use the ''pl_login'' value ''pgenigpolabbbncom_3sitesOFExp'' to login to the ''pl_hostname'' named ''planetlab4.clemson.edu'': |
688 | | {{{ |
689 | | $ ssh pgenigpolabbbncom_3sitesOFExp@planetlab4.clemson.edu |
690 | | Last login: Wed Apr 18 14:27:08 2012 from sendaria.gpolab.bbn.com |
691 | | [pgenigpolabbbncom_3sitesOFExp@planetlab4 ~]$ |
692 | | }}} |
693 | | |
694 | | Second, we determine how to login to the BBN MyPLC host by issuing the sliver status for the BBN MyPLC Aggregate: |
695 | | {{{ |
| 657 | To figure out how to login to the MyPLC hosts that you reserved use the Omni ''sliverstatus'' commands. Following are examples for the experiment captured in this page: |
| 658 | {{{ |
| 659 | $ ./src/omni.py -a http://myplc.clemson.edu:12346/ sliverstatus 3sites-OF-Exp |
697 | | |
698 | | }}} |
699 | | |
700 | | From the output, again we use the ''pl_login'' value ''pgenigpolabbbncom_3sitesOFExp'' to login to the ''pl_hostname'' named ''navis.gpolab.bbn.com'': |
701 | | {{{ |
702 | | |
703 | | $ ssh pgenigpolabbbncom_3sitesOFExp@navis.gpolab.bbn.com |
704 | | Last login: Wed Apr 18 17:51:19 2012 from sendaria.gpolab.bbn.com |
705 | | [pgenigpolabbbncom_3sitesOFExp@navis ~]$ |
706 | | }}} |
707 | | |
708 | | On each host we determine the address for the 10.42.11.0/24 network that we configured in the OpenFlow Groups. In this scenario |
709 | | the BBN host is 10.42.11.55 and the Clemson host is 10.42.11.104. |
| 661 | $ ./src/omni.py -a https://wings-openflow-1.wail.wisc.edu:12346/ sliverstatus 3sites-OF-Exp |
| 662 | }}} |
| 663 | |
| 664 | The output for running each of the above sliverstatus commands is attached [http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/ExperimentExample-OF-FOAM/sliverstatus-3sites-OF-Exp.txt here]. |
| 665 | |
| 666 | From the output of the sliverstatus, we use the ''pl_login'' and the ''pl_hostname'' |
| 667 | |
| 668 | || MyPLC Site || Login (pl_login) || MyPLC Host (pl_hostname) || Command to connect || |
| 669 | || || |
| 670 | ||BBN || pgenigpolabbbncom_3sitesOFExp || navis.gpolab.bbn.com || ssh pgenigpolabbbncom_3sitesOFExp@navis.gpolab.bbn.com |
| 671 | |||| |
| 672 | ||Clemson || pgenigpolabbbncom_3sitesOFExp || planetlab4.clemson.edu|| ssh pgenigpolabbbncom_3sitesOFExp@planetlab4.clemson.edu || |
| 673 | || || |
| 674 | ||Wisconsin|| pgenigpolabbbncom_3sitesOFExp || wings-openflow-2.wail.wisc.edu|| ssh pgenigpolabbbncom_3sitesOFExp@wings-openflow-2.wail.wisc.edu || |
| 675 | |
| 676 | |
| 677 | Login to each of the 3 hosts and determine the host's address for the 10.42.11.0/24 network. Note this is the network that was configured in the OpenFlow groups. In this scenario the BBN host is 10.42.11.55, the Clemson host is 10.42.11.104, and the Wisconsin host is ???? |