wiki:GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-9

IG-XN-9: IG GPO Xen to ExoGENI GPO VM via local VLANs

Originally, this test case was to verify a topology with one IG GPO Xen to ExoGENI GPO VM via local statically configured Layer 2 VLANs. There is no GENI Network stitching support for the co-located racks such as the ones at BBN. This test case was modified to use two remote end-points (IG GPO and IG Utha) to be connected by a statically configured Layer 2 VLAN. For overall status see the InstaGENI Xen Virtualization Test Status page.

NOTE:

Test Status

This section captures the status for each step in the acceptance test plan.

Test State Ticket Notes
IG GPO Xen to EG GPO OpenStack via local VLAN Dropped Replaced by test below.
IG GPO Xen to IG Utah Xen via layer 2 VLAN Color(green,Pass)?


State Legend Description
Color(green,Pass)? Test completed and met all criteria
Color(#98FB98,Pass: most criteria)? Test completed and met most criteria. Exceptions documented
Color(red,Fail)? Test completed and failed to meet criteria.
Color(yellow,Complete)? Test completed but will require re-execution due to expected changes
Color(orange,Blocked)? Blocked by ticketed issue(s).
Color(#63B8FF,In Progress)? Currently under test.


Test Execution Details

This testing is executed with GENI Clearinghouse Credentials. No assumptions are made. Test uses a pre-existing VLAN named L2-ping-tutorial.

IG GPO Xen to IG Utah Xen via layer 2 VLAN ==

Created a request RSpec that includes 2 Xen hosts connected by a pre-configured Layer 2 VLAN:

<?xml version="1.0" encoding="UTF-8"?>
<rspec xmlns="http://www.geni.net/resources/rspec/3"
       xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:sharedvlan="http://www.geni.net/resources/rspec/ext/shared-vlan/1"
       xs:schemaLocation="http://www.geni.net/resources/rspec/3
           http://www.geni.net/resources/rspec/3/request.xsd
           http://www.geni.net/resources/rspec/ext/shared-vlan/1
           http://www.geni.net/resources/rspec/ext/shared-vlan/1/request.xsd"
       type="request">

  <node client_id="xen-gpo" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen-gpo:if0">
      <ip address="192.168.4.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  </node>

  <node client_id="xen-utah" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen-utah:if0">
      <ip address="192.168.4.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  </node>

  <link client_id="l2-1">
    <interface_ref client_id="xen-gpo:if0"/>
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <sharedvlan:link_shared_vlan name="L2-ping-tutorial"/>
  </link>
  <link client_id="l2-2">
    <interface_ref client_id="xen-utah:if0"/>
    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    <sharedvlan:link_shared_vlan name="L2-ping-tutorial"/>
  </link>

</rspec>

Create a slice:

$ omni.py createslice IG-XN-9
13:52:32 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
13:52:32 INFO     omni: Using control framework portal
13:52:33 INFO     omni: Created slice with Name IG-XN-9, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9, Expiration 2013-08-28 17:52:33
13:52:33 INFO     omni:  ------------------------------------------------------------
13:52:33 INFO     omni:  Completed createslice:

  Options as run:
		framework: portal
		project: ln-prj

  Args: createslice IG-XN-9

  Result Summary: Created slice with Name IG-XN-9, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9, Expiration 2013-08-28 17:52:33
 13:52:33 INFO     omni:  ============================================================

Create a sliver at the GPO IG aggregate:

$ omni.py createsliver IG-XN-9 -a ig-gpo ./insta-xen-layer2.rspec 
13:52:56 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
13:52:56 INFO     omni: Using control framework portal
13:52:56 INFO     omni: Substituting AM nickname ig-gpo with URL https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm
13:52:58 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9 expires on 2013-08-28 17:52:33 UTC
13:52:58 INFO     omni: Substituting AM nickname ig-gpo with URL https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm
13:52:58 INFO     omni: Substituting AM nickname ig-gpo with URL https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm
13:52:58 INFO     omni: Creating sliver(s) from rspec file ./insta-xen-layer2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9
13:53:10 INFO     omni:  (PG log url - look here for details on any failures: https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=af5181103ac434218674d3710eec4116)
13:53:10 INFO     omni: Got return from CreateSliver for slice IG-XN-9 at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0:
13:53:10 INFO     omni: <!-- Reserved resources for:
	Slice: IG-XN-9
	at AM:
	URN: urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm
	URL: https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0
 -->
13:53:10 INFO     omni: <rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:sharedvlan="http://www.geni.net/resources/rspec/ext/shared-vlan/1" xs:schemaLocation="http://www.geni.net/resources/rspec/3            http://www.geni.net/resources/rspec/3/manifest.xsd            http://www.geni.net/resources/rspec/ext/shared-vlan/1            http://www.geni.net/resources/rspec/ext/shared-vlan/1/request.xsd" type="manifest">

  <node client_id="xen-gpo" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+node+pc5" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+9951">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen-gpo:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc5:eth1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+9954" mac_address="0213b8d9c75b">
      <ip address="192.168.4.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm5-1"/><host name="xen-gpo.IG-XN-9.ch-geni-net.instageni.gpolab.bbn.com"/><services><login authentication="ssh-keys" hostname="pc5.instageni.gpolab.bbn.com" port="30266" username="lnevers"/></services></node>

  <node client_id="xen-utah" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen-utah:if0">
      <ip address="192.168.4.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  </node>

  <link xmlns:sharedvlan="http://www.geni.net/resources/rspec/ext/shared-vlan/1" client_id="l2-1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+9953">
    <interface_ref client_id="xen-gpo:if0" component_id="urn:publicid:IDN+instageni.gpolab.bbn.com+interface+pc5:eth1" sliver_id="urn:publicid:IDN+instageni.gpolab.bbn.com+sliver+9954"/>
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <sharedvlan:link_shared_vlan name="L2-ping-tutorial"/>
  </link>
  <link client_id="l2-2">
    <interface_ref client_id="xen-utah:if0"/>
    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    <sharedvlan:link_shared_vlan name="L2-ping-tutorial"/>
  </link>

</rspec>
13:53:10 INFO     omni:  ------------------------------------------------------------
13:53:10 INFO     omni:  Completed createsliver:

  Options as run:
		aggregate: ['ig-gpo']
		framework: portal
		project: ln-prj

  Args: createsliver IG-XN-9 ./insta-xen-layer2.rspec

  Result Summary: Got Reserved resources RSpec from instageni-gpolab-bbn-com 
13:53:10 INFO     omni:  ============================================================

Using the same RSpec, create a sliver at the Utah IG aggregate:

$ omni.py createsliver IG-XN-9 -a ig-utah ./insta-xen-layer2.rspec 
13:53:27 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
13:53:27 INFO     omni: Using control framework portal
13:53:27 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
13:53:28 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9 expires on 2013-08-28 17:52:33 UTC
13:53:28 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
13:53:28 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
13:53:28 INFO     omni: Creating sliver(s) from rspec file ./insta-xen-layer2.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9
13:53:41 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=c010b2ae2cf0269784b2a230f2552494)
13:53:41 INFO     omni: Got return from CreateSliver for slice IG-XN-9 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
13:53:41 INFO     omni: <!-- Reserved resources for:
	Slice: IG-XN-9
	at AM:
	URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
	URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
 -->
13:53:41 INFO     omni: <rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:sharedvlan="http://www.geni.net/resources/rspec/ext/shared-vlan/1" xs:schemaLocation="http://www.geni.net/resources/rspec/3            http://www.geni.net/resources/rspec/3/manifest.xsd            http://www.geni.net/resources/rspec/ext/shared-vlan/1            http://www.geni.net/resources/rspec/ext/shared-vlan/1/request.xsd" type="manifest">

  <node client_id="xen-gpo" component_manager_id="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm" exclusive="false">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen-gpo:if0">
      <ip address="192.168.4.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  </node>

  <node client_id="xen-utah" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc3" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+25280">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen-utah:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+25283" mac_address="028b0ee8cd2b">
      <ip address="192.168.4.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm3-1"/><host name="xen-utah.IG-XN-9.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc3.utah.geniracks.net" port="30010" username="lnevers"/></services></node>

  <link client_id="l2-1">
    <interface_ref client_id="xen-gpo:if0"/>
    <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/>
    <sharedvlan:link_shared_vlan name="L2-ping-tutorial"/>
  </link>
  <link xmlns:sharedvlan="http://www.geni.net/resources/rspec/ext/shared-vlan/1" client_id="l2-2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+25282">
    <interface_ref client_id="xen-utah:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc3:eth1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+25283"/>
    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    <sharedvlan:link_shared_vlan name="L2-ping-tutorial"/>
  </link>

</rspec>
13:53:41 INFO     omni:  ------------------------------------------------------------
13:53:41 INFO     omni:  Completed createsliver:

  Options as run:
		aggregate: ['ig-utah']
		framework: portal
		project: ln-prj

  Args: createsliver IG-XN-9 ./insta-xen-layer2.rspec

  Result Summary: Got Reserved resources RSpec from utah-geniracks-net 
13:53:41 INFO     omni:  ============================================================

Determine login for Xen hosts at each aggregate:

$ readyToLogin.py IG-XN-9 -a ig-gpo
...
xen-gpo's geni_status is: ready (am_status:ready) 
User lnevers logs in to xen-gpo using:
	ssh -p 30266  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc5.instageni.gpolab.bbn.com

$ readyToLogin.py IG-XN-9 -a ig-utah

xen-utah's geni_status is: changing (am_status:ready) 
User lnevers logs in to xen-utah using:
	ssh -p 30010  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net

Login to each host and exchange traffic:

 ssh -p 30266  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc5.instageni.gpolab.bbn.com
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.46 x86_64)

xen-gpo:~% /sbin/ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 02:13:b8:d9:c7:5b  
          inet addr:192.168.4.1  Bcast:192.168.4.255  Mask:255.255.255.0
          inet6 addr: fe80::13:b8ff:fed9:c75b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2636 (2.6 KB)  TX bytes:1064 (1.0 KB)
          Interrupt:26 

xen-gpo:~% ping 192.168.4.2
PING 192.168.4.2 (192.168.4.2) 56(84) bytes of data.
64 bytes from 192.168.4.2: icmp_req=1 ttl=64 time=126 ms
64 bytes from 192.168.4.2: icmp_req=2 ttl=64 time=63.3 ms
64 bytes from 192.168.4.2: icmp_req=3 ttl=64 time=63.1 ms
^C
--- 192.168.4.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 63.189/84.332/126.462/29.791 ms
xen-gpo:~% exit
logout
Connection to pc5.instageni.gpolab.bbn.com closed.
$ ssh -p 30010  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc3.utah.geniracks.net
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.46 x86_64)
xen-utah:~% /sbin/ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 02:8b:0e:e8:cd:2b  
          inet addr:192.168.4.2  Bcast:192.168.4.255  Mask:255.255.255.0
          inet6 addr: fe80::8b:eff:fee8:cd2b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1332 (1.3 KB)  TX bytes:1278 (1.2 KB)
          Interrupt:26 

xen-utah:~% ping 192.168.4.1
PING 192.168.4.1 (192.168.4.1) 56(84) bytes of data.
64 bytes from 192.168.4.1: icmp_req=1 ttl=64 time=63.2 ms
64 bytes from 192.168.4.1: icmp_req=2 ttl=64 time=63.2 ms
^C
--- 192.168.4.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 63.234/63.253/63.272/0.019 ms
xen-utah:~% exit
logout
Connection to pc3.utah.geniracks.net closed.

Release resources:
{{{
$ omni.py deletesliver IG-XN-9 -a ig-utah                          
13:59:49 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
13:59:49 INFO     omni: Using control framework portal
13:59:49 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
13:59:50 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9 expires on 2013-08-28 17:52:33 UTC
13:59:50 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
14:00:39 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=d19600e71cda68c919207eae87255b54)
14:00:39 INFO     omni: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9 on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
14:00:39 INFO     omni:  ------------------------------------------------------------
14:00:39 INFO     omni:  Completed deletesliver:

  Options as run:
		aggregate: ['ig-utah']
		framework: portal
		project: ln-prj

  Args: deletesliver IG-XN-9

  Result Summary: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9 on urn:publicid:IDN+utah.geniracks.net+authority+cm at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0 
14:00:39 INFO     omni:  ============================================================

$ omni.py deletesliver IG-XN-9 -a ig-gpo  
14:00:44 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
14:00:44 INFO     omni: Using control framework portal
14:00:44 INFO     omni: Substituting AM nickname ig-gpo with URL https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm
14:00:45 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9 expires on 2013-08-28 17:52:33 UTC
14:00:45 INFO     omni: Substituting AM nickname ig-gpo with URL https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm
14:01:26 INFO     omni:  (PG log url - look here for details on any failures: https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=26540893ac9e6588b247af906eeecccc)
14:01:26 INFO     omni: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9 on urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0
14:01:26 INFO     omni:  ------------------------------------------------------------
14:01:26 INFO     omni:  Completed deletesliver:

  Options as run:
		aggregate: ['ig-gpo']
		framework: portal
		project: ln-prj

  Args: deletesliver IG-XN-9

  Result Summary: Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-9 on urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0 
14:01:26 INFO     omni:  ============================================================
}}}
Last modified 11 years ago Last modified on 08/21/13 14:02:01