| 588 | Using the following request RSpec: |
| 589 | {{{ |
| 590 | <node client_id="host1" exclusive="false"> |
| 591 | <sliver_type name="emulab-xen"/> |
| 592 | <interface client_id="host1:if0"> |
| 593 | <ip address="192.168.0.1" netmask="255.255.255.0" type="ipv4"/> |
| 594 | </interface> |
| 595 | <interface client_id="host1:if1"> |
| 596 | <ip address="192.168.1.1" netmask="255.255.255.0" type="ipv4"/> |
| 597 | </interface> |
| 598 | </node> |
| 599 | |
| 600 | <node client_id="host2" exclusive="false"> |
| 601 | <sliver_type name="emulab-xen"/> |
| 602 | <interface client_id="host2:if0"> |
| 603 | <ip address="192.168.0.2" netmask="255.255.255.0" type="ipv4"/> |
| 604 | </interface> |
| 605 | <interface client_id="host2:if1"> |
| 606 | <ip address="192.168.1.2" netmask="255.255.255.0" type="ipv4"/> |
| 607 | </interface> |
| 608 | </node> |
| 609 | |
| 610 | <link client_id="host1-and-host2-0"> |
| 611 | <interface_ref client_id="host1:if0"/> |
| 612 | <interface_ref client_id="host2:if0"/> |
| 613 | <property capacity="100000" source_id="host1:if0" dest_id="host2:if0"/> |
| 614 | <property capacity="100000" source_id="host2:if0" dest_id="host1:if0"/> |
| 615 | </link> |
| 616 | |
| 617 | <link client_id="host1-and-host2-1"> |
| 618 | <interface_ref client_id="host1:if1"/> |
| 619 | <interface_ref client_id="host2:if1"/> |
| 620 | <property capacity="100000" source_id="host1:if1" dest_id="host2:if1"/> |
| 621 | <property capacity="100000" source_id="host2:if1" dest_id="host1:if1"/> |
| 622 | </link> |
| 623 | }}} |
597 | | |
598 | | }}} |
| 633 | $ omni.py createsliver -a ig-utah IG-XN-5-6 ./IG-XN-5-6.rspec |
| 634 | 12:52:56 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 635 | 12:52:56 INFO omni: Using control framework portal |
| 636 | 12:52:56 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 637 | 12:52:57 INFO omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-6 expires on 2013-08-20 00:54:14 UTC |
| 638 | 12:52:57 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 639 | 12:52:57 INFO omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 640 | 12:52:57 INFO omni: Creating sliver(s) from rspec file ./IG-XN-5-6.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-6 |
| 641 | 12:53:11 INFO omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=207e4abdd95d9edebb775e9577c89aeb) |
| 642 | 12:53:11 INFO omni: Got return from CreateSliver for slice IG-XN-5-6 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0: |
| 643 | 12:53:11 INFO omni: <!-- Reserved resources for: |
| 644 | Slice: IG-XN-5-6 |
| 645 | at AM: |
| 646 | URN: urn:publicid:IDN+utah.geniracks.net+authority+cm |
| 647 | URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 |
| 648 | --> |
| 649 | 12:53:11 INFO omni: <rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd" type="manifest"> |
| 650 | |
| 651 | <node client_id="host1" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24889"> |
| 652 | <sliver_type name="emulab-xen"/> |
| 653 | <interface client_id="host1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24893" mac_address="02fa23dc0d51"> |
| 654 | <ip address="192.168.0.1" netmask="255.255.255.0" type="ipv4"/> |
| 655 | </interface> |
| 656 | <interface client_id="host1:if1" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24896" mac_address="02e5198fb7a5"> |
| 657 | <ip address="192.168.1.1" netmask="255.255.255.0" type="ipv4"/> |
| 658 | </interface> |
| 659 | <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-11"/><host name="host1.IG-XN-5-6.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="32058" username="lnevers"/></services></node> |
| 660 | |
| 661 | <node client_id="host2" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24890"> |
| 662 | <sliver_type name="emulab-xen"/> |
| 663 | <interface client_id="host2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24894" mac_address="023541d627b9"> |
| 664 | <ip address="192.168.0.2" netmask="255.255.255.0" type="ipv4"/> |
| 665 | </interface> |
| 666 | <interface client_id="host2:if1" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24897" mac_address="02aa3104045a"> |
| 667 | <ip address="192.168.1.2" netmask="255.255.255.0" type="ipv4"/> |
| 668 | </interface> |
| 669 | <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-20"/><host name="host2.IG-XN-5-6.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="32059" username="lnevers"/></services></node> |
| 670 | |
| 671 | <link client_id="host1-and-host2-0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24892"> |
| 672 | <interface_ref client_id="host1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24893"/> |
| 673 | <interface_ref client_id="host2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24894"/> |
| 674 | <property capacity="100000" source_id="host1:if0" dest_id="host2:if0"/> |
| 675 | <property capacity="100000" source_id="host2:if0" dest_id="host1:if0"/> |
| 676 | </link> |
| 677 | |
| 678 | <link client_id="host1-and-host2-1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24895"> |
| 679 | <interface_ref client_id="host1:if1" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24896"/> |
| 680 | <interface_ref client_id="host2:if1" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24897"/> |
| 681 | <property capacity="100000" source_id="host1:if1" dest_id="host2:if1"/> |
| 682 | <property capacity="100000" source_id="host2:if1" dest_id="host1:if1"/> |
| 683 | </link> |
| 684 | </rspec> |
| 685 | 12:53:11 INFO omni: ------------------------------------------------------------ |
| 686 | 12:53:11 INFO omni: Completed createsliver: |
| 687 | |
| 688 | Options as run: |
| 689 | aggregate: ['ig-utah'] |
| 690 | framework: portal |
| 691 | project: ln-prj |
| 692 | |
| 693 | Args: createsliver IG-XN-5-6 ./IG-XN-5-6.rspec |
| 694 | |
| 695 | Result Summary: Got Reserved resources RSpec from utah-geniracks-net |
| 696 | 12:53:11 INFO omni: ============================================================ |
| 697 | |
| 698 | }}} |
| 699 | |
| 700 | Login to each host and verify connectivity: |
| 701 | {{{ |
| 702 | |
| 703 | }}} |