Changes between Version 49 and Version 50 of GeniNetworkStitchingTestStatus/Functional


Ignore:
Timestamp:
06/10/13 11:15:13 (11 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GeniNetworkStitchingTestStatus/Functional

    v49 v50  
    17911791...
    17921792}}}
    1793 The scenario results in the stitcher trying the createsliver at all known aggregates, but exiting before completion:
     1793The scenario results in the stitcher evaluating the link and determining that there is no stitching that needs to take place, thus passing
     1794the request onto omni.py.  Omni exits because the -a argument is not given:
    17941795{{{
    17951796$ rspeclint stitch-1component-tag.rspec
     
    18491850...
    18501851}}}
    1851 The test shows the same failure as the previous scenario:
     1852The test shows the same failure as the previous scenario, due to stitcher evaluating the link, determining that the request
     1853is not a stitching scenario due to the lack on component managers in the link definition, and handing off the request to omny
     1854which fails due to the missing aggregate "-a" argument.
    18521855
    18531856{{{
     
    18671870}}}
    18681871
    1869 
    18701872==== 2.4.3 Request link with 2 local interface_ref elements and 1 remote interface_ref element ====
    18711873
     1874In this scenario one VM has two interfaces on the same network as a remote which only has one interface. The RSpec:
     1875{{{
     1876...
     1877  <node client_id="pg-utah" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="false">
     1878    <sliver_type name="emulab-openvz"/>
     1879    <interface client_id="pg-utah:if0">
     1880      <ip address="10.22.4.1" netmask="255.255.255.0" type="ipv4"/>
     1881    </interface>
     1882    <interface client_id="pg-utah:if1">
     1883      <ip address="10.22.4.3" netmask="255.255.255.0" type="ipv4"/>
     1884    </interface>
     1885  </node>
     1886  <node client_id="ig-utah" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
     1887    <sliver_type name="emulab-openvz"/>
     1888    <interface client_id="ig-utah:if0">
     1889      <ip address="10.22.4.2" netmask="255.255.255.0" type="ipv4"/>
     1890    </interface>
     1891  </node>
     1892  <link client_id="link">
     1893    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
     1894    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
     1895    <interface_ref client_id="pg-utah:if0"/>
     1896    <interface_ref client_id="pg-utah:if1"/>
     1897    <interface_ref client_id="ig-utah:if0"/>
     1898    <property source_id="pg-utah:if0" dest_id="ig-utah:if0"/>
     1899    <property source_id="ig-utah:if0" dest_id="pg-utah:if0"/>
     1900    <property source_id="pg-utah:if1" dest_id="ig-utah:if0"/>
     1901    <property source_id="ig-utah:if0" dest_id="pg-utah:if1"/>
     1902    <property source_id="pg-utah:if1" dest_id="pg-utah:if0"/>
     1903    <property source_id="pg-utah:if0" dest_id="pg-utah:if1"/>
     1904  </link>
     1905....
     1906}}}
     1907Using the rspec above RSpec results in a
     1908
     1909{{{
     1910$ omni.py createslice lnstitcha
     191110:49:20 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     191210:49:20 INFO     omni: Using control framework pg
     191310:49:22 INFO     omni: Created slice with Name lnstitcha, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnstitcha, Expiration 2013-06-11 15:49:22+00:00
     191410:49:22 INFO     omni:  ------------------------------------------------------------
     191510:49:22 INFO     omni:  Completed createslice:
     1916  Options as run:
     1917                framework: pg
     1918  Args: createslice lnstitcha
     1919  Result Summary: Created slice with Name lnstitcha, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnstitcha, Expiration 2013-06-11 15:49:22+00:00
     192010:49:22 INFO     omni:  ============================================================
     1921
     1922$ rspeclint stitch-2if-local-rem-if-ref.rspec
     1923
     1924$ stitcher.py createsliver lnstitcha ./stitch-2if-local-rem-if-ref.rspec
     192510:54:21 INFO     stitcher: Loading config file /home/lnevers/.gcf/omni_config
     192610:54:21 INFO     stitcher: Using control framework pg
     1927StitchingServiceFailedError: Error from Stitching Service: code 1: GeniRSpec::
     1928CreateApiRequestMessage - no stitching path or multi-aggregate link in request RSpec.
     1929}}}
     1930
    18721931==== 2.4.4 Request link with an interface_ref whose client_id is not the ID for any interface in the RSpec ====
     1932An RSpec that has interface_ref that use client_ids not in the interfaces defined in the RSpec was defined, which looks as follows:
     1933{{{
     1934...
     1935  <node client_id="pg-utah" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="false">
     1936    <sliver_type name="emulab-openvz"/>
     1937    <interface client_id="pg-utah:if0">
     1938      <ip address="10.22.4.1" netmask="255.255.255.0" type="ipv4"/>
     1939    </interface>
     1940  </node>
     1941  <node client_id="ig-utah" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
     1942    <sliver_type name="emulab-openvz"/>
     1943    <interface client_id="ig-utah:if0">
     1944      <ip address="10.22.4.2" netmask="255.255.255.0" type="ipv4"/>
     1945    </interface>
     1946  </node>
     1947  <link client_id="link">
     1948    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
     1949    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
     1950    <interface_ref client_id="ypg-utah:if0"/>
     1951    <interface_ref client_id="xig-utah:if0"/>
     1952    <property source_id="ypg-utah:if0" dest_id="xig-utah:if0"/>
     1953    <property source_id="xig-utah:if0" dest_id="ypg-utah:if0"/>
     1954  </link>
     1955...
     1956}}}
     1957
     1958Created a slice and tried to stitch a sliver:
     1959{{{
     1960$ rspeclint stitch-mismatch-if-ref-cl-id.rspec
     1961$ omni.py createslice lnst
     196211:03:50 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     196311:03:50 INFO     omni: Using control framework pg
     196411:03:52 INFO     omni: Created slice with Name lnst, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnst, Expiration 2013-06-11 16:03:52+00:00
     196511:03:52 INFO     omni:  ------------------------------------------------------------
     196611:03:52 INFO     omni:  Completed createslice:
     1967  Options as run:
     1968                framework: pg
     1969  Args: createslice lnst
     1970  Result Summary: Created slice with Name lnst, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnst, Expiration 2013-06-11 16:03:52+00:00
     197111:03:52 INFO     omni:  ============================================================
     1972
     1973$ stitcher.py createsliver lnst ./stitch-mismatch-if-ref-cl-id.rspec
     197411:04:31 INFO     stitcher: Loading config file /home/lnevers/.gcf/omni_config
     197511:04:31 INFO     stitcher: Using control framework pg
     1976StitchingServiceFailedError: Error from Stitching Service: code 1: GeniRSpec::
     1977CreateApiRequestMessage - no stitching path or multi-aggregate link in request RSpec.
     1978}}}
     1979
    18731980==== 2.4.5 Request stitching extension with a path that has 0 hops ====
     1981Created a request RSpec that meets that defines a 0 hop scenario from PG Utah to PG Utah:
     1982{{{
     1983...
     1984  <node client_id="pg-utah" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="false">
     1985    <sliver_type name="emulab-openvz"/>
     1986    <interface client_id="pg-utah:if0">
     1987      <ip address="10.22.4.1" netmask="255.255.255.0" type="ipv4"/>
     1988    </interface>
     1989  </node>
     1990  <node client_id="pg-utah" component_manager_id="urn:publicid:IDN+emulab.net+authority+cm" exclusive="false">
     1991    <sliver_type name="emulab-openvz"/>
     1992    <interface client_id="pg-utah2:if0">
     1993      <ip address="10.22.4.2" netmask="255.255.255.0" type="ipv4"/>
     1994    </interface>
     1995  </node>
     1996  <link client_id="link">
     1997    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
     1998    <component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/>
     1999    <interface_ref client_id="pg-utah:if0"/>
     2000    <interface_ref client_id="pg-utah2:if0"/>
     2001    <property source_id="pg-utah:if0" dest_id="pg-utah2:if0"/>
     2002    <property source_id="pg-utah2:if0" dest_id="pg-utah:if0"/>
     2003  </link>
     2004...
     2005}}}
     2006Created the slice and then a sliver:
     2007{{{
     2008$ rspeclint stitch-0hop.rspec
     2009$ omni.py createslice 0hop
     201011:09:23 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
     201111:09:23 INFO     omni: Using control framework pg
     201211:09:24 INFO     omni: Created slice with Name 0hop, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+0hop, Expiration 2013-06-11 16:09:24+00:00
     201311:09:24 INFO     omni:  ------------------------------------------------------------
     201411:09:24 INFO     omni:  Completed createslice:
     2015  Options as run:
     2016                framework: pg
     2017  Args: createslice 0hop
     2018  Result Summary: Created slice with Name 0hop, URN urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+0hop, Expiration 2013-06-11 16:09:24+00:00
     201911:09:24 INFO     omni:  ============================================================
     2020lnevers@arendia:~/gcf-2.4-preview/stitch-test/rspec-input$ stitcher.py createsliver 0hop ./stitch-0hop.rspec
     202111:09:40 INFO     stitcher: Loading config file /home/lnevers/.gcf/omni_config
     202211:09:40 INFO     stitcher: Using control framework pg
     2023StitchingServiceFailedError: Error from Stitching Service: code 1: GeniRSpec::
     2024CreateApiRequestMessage - no stitching path or multi-aggregate link in request RSpec.
     2025$
     2026}}}
     2027
    18742028==== 2.4.6 Request capacity that is below minimum and above maximum reservable Capacity ====
     2029
    18752030==== 2.4.7 Invalid Path options ====
    18762031(not sure what this is and how to do it ?)