1764 | | |
1765 | | (NEED TO VERIFY ALL ) |
1766 | | |
1767 | | - Request link with only 1 component_manager tag |
1768 | | - Request link with 2 interface_ref elements but no component_manager elements |
1769 | | - Request link with 2 local interface_ref elements and 1 remote interface_ref element |
1770 | | - Request link with an interface_ref whose client_id is not the ID for any interface in the RSpec |
1771 | | - Request stitching extension with a path that has 0 hops |
1772 | | - Request capacity that is below minimum and above maximum reservable Capacity |
1773 | | - Invalid Path options (not sure what this is and how to do it ?) |
| 1764 | Test in this section validated the handling of various RSpec input scenarios: |
| 1765 | |
| 1766 | ==== 1. Request link with only 1 component_manager tag ==== |
| 1767 | The following RSpec was used defining only one component_manager for PG Utah and not including the IG Utah component_manager: |
| 1768 | {{{ |
| 1769 | ... |
| 1770 | <node client_id="pg-utah" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="false"> |
| 1771 | <sliver_type name="emulab-openvz"/> |
| 1772 | <interface client_id="pg-utah:if0"> |
| 1773 | <ip address="10.22.4.1" netmask="255.255.255.0" type="ipv4"/> |
| 1774 | </interface> |
| 1775 | </node> |
| 1776 | <node client_id="ig-utah" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false"> |
| 1777 | <sliver_type name="emulab-openvz"/> |
| 1778 | <interface client_id="ig-utah:if0"> |
| 1779 | <ip address="10.22.4.2" netmask="255.255.255.0" type="ipv4"/> |
| 1780 | </interface> |
| 1781 | </node> |
| 1782 | <link client_id="link"> |
| 1783 | <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
| 1784 | <interface_ref client_id="pg-utah:if0"/> |
| 1785 | <interface_ref client_id="ig-utah:if0"/> |
| 1786 | <property source_id="pg-utah:if0" dest_id="ig-utah:if0"/> |
| 1787 | <property source_id="ig-utah:if0" dest_id="pg-utah:if0"/> |
| 1788 | </link> |
| 1789 | ... |
| 1790 | }}} |
| 1791 | The scenario results in the stitcher trying the createsliver at all known aggregates, but exiting before completion: |
| 1792 | {{{ |
| 1793 | $ rspeclint stitch-1component-tag.rspec |
| 1794 | lnevers@arendia:~/gcf-2.4-preview/stitch-test/rspec-input$ omni.py createslice ln-stitch1 |
| 1795 | 09:36:40 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 1796 | 09:36:40 INFO omni: Using control framework pg |
| 1797 | 09:36:41 INFO omni: Created slice with Name ln-stitch1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ln-stitch1, Expiration 2013-06-11 14:36:41+00:00 |
| 1798 | 09:36:41 INFO omni: ------------------------------------------------------------ |
| 1799 | 09:36:41 INFO omni: Completed createslice: |
| 1800 | Options as run: |
| 1801 | framework: pg |
| 1802 | Args: createslice ln-stitch1 |
| 1803 | Result Summary: Created slice with Name ln-stitch1, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+ln-stitch1, Expiration 2013-06-11 14:36:41+00:00 |
| 1804 | 09:36:41 INFO omni: ============================================================ |
| 1805 | |
| 1806 | }}} |
| 1807 | $ stitcher.py createsliver ln-stitch1 ./stitch-1component-tag.rspec |
| 1808 | 09:37:52 INFO stitcher: Loading config file /home/lnevers/.gcf/omni_config |
| 1809 | 09:37:52 INFO stitcher: Using control framework pg |
| 1810 | 09:37:52 INFO omni: Loading config file /home/lnevers/.gcf/omni_config |
| 1811 | 09:37:52 INFO omni: Using control framework pg |
| 1812 | 09:38:01 ERROR omni.protogeni: Call for Test PG AM for GENI API compatibilitity at https://www.schooner.wail.wisc.edu/protogeni/xmlrpc/am failed.: ProtocolError: <ProtocolError for www.schooner.wail.wisc.edu/protogeni/xmlrpc/am: 403 Forbidden> |
| 1813 | 09:38:01 ERROR omni.protogeni: ..... Run with --debug for more information |
| 1814 | 09:38:21 ERROR omni.protogeni: Call for Test PG AM for GENI API compatibilitity at https://pg-boss.ansp.br:12369/protogeni/xmlrpc/am failed.: Unknown socket error: [Errno 113] No route to host |
| 1815 | 09:38:21 ERROR omni.protogeni: ..... Run with --debug for more information |
| 1816 | 09:38:43 ERROR omni.protogeni: Call for Test PG AM for GENI API compatibilitity at https://opencirrus-07501.hpl.hp.com:12346/ failed.: Unknown SSL error The read operation timed out |
| 1817 | 09:38:43 ERROR omni.protogeni: ..... Run with --debug for more information |
| 1818 | 09:38:53 ERROR omni: Missing -a argument: specify an aggregate where you want the reservation. |
| 1819 | Missing -a argument: specify an aggregate where you want the reservation. |
| 1820 | }}} |
| 1821 | |
| 1822 | }}} |
| 1823 | |
| 1824 | ==== 2. Request link with 2 interface_ref elements but no component_manager elements ==== |
| 1825 | ==== 3. Request link with 2 local interface_ref elements and 1 remote interface_ref element ==== |
| 1826 | ==== 4. Request link with an interface_ref whose client_id is not the ID for any interface in the RSpec ==== |
| 1827 | ==== 5. Request stitching extension with a path that has 0 hops ==== |
| 1828 | ==== 6. Request capacity that is below minimum and above maximum reservable Capacity ==== |
| 1829 | ==== 7. Invalid Path options ==== |
| 1830 | (not sure what this is and how to do it ?) |