Changes between Initial Version and Version 1 of GIR2.1_BGPMux

03/14/11 21:58:29 (11 years ago)



  • GIR2.1_BGPMux

    v1 v1  
     1= BGPMux Evaluation =
     3BGPMux (a.k.a. dtunnel) version 53 was downloaded from the SVN repository with the login/password provided.
     5Time frame:  This evaluation took place June 14-29, 2010.
     7= BGPMux Findings =
     9Initial SVN revision 56 was missing the following files: ref.bib, rfc.bib and Verified that files
     10are in the next svn revision 57.
     12With a revoked certificate, the server process is started and no failure is reported to user.
     13Logs show an un-handled error and the revoked certificate message, this may be missed, if user does
     14not look at the logs, also process should not be started if cert is revoked. Verified that files
     15are in the next svn revision 57.
     17With a properly started server, starting a client results in a twisted exception. Verified that files
     18are in the next svn revision 57.
     20Using Version 57, new problem was found with tools not handling scenario where ProtoGENI cannot get
     21the requested node information.  Handler added and new rspec to be provided. (revision 58)
     24= BGPMux How-to =
     26The package is delivered with a README that captures all software pre-requisites and installation steps:
     28This file describes the distribution of the Aggregate Manager (AM) for
     33Before running AM make sure that you have following Python libraries
     34installed and working:
     351) Twisted
     362) Pexpect
     373) Pxssh
     392. RUNNING AM
     41Just run:
     44this will start the AM engine which will bind to a TCP port 8080.
     46AM accepts requests from XMLRPC clients and implements 'RedeemTicket'
     47method. Method accepts only one parameter which is an XML string
     48formatted as RSpec.
     50AM needs credentials to perform Resolve() calls to Emulab AM.
     51Right now credentials are hardcoded to point to /home/valas/.ssl
     52directory in file. If you plan to test AM please change the
     53pointers to point to your Emulab AM credentials.
     553. TESTING AM
     57A sample RSpec is in the file flash-rspec.xml. Note that this file is
     58extended version of "official" RSpec and contains some additional
     59attributes necessary for our script to establish a client tunnel and BGP
     62We also provide a sample client. To feed in an XML file "RedeemTicket"
     63call, simply execute:
     64./ flash-rspec.xml
     664. KNOWN BUGS
     68AM should run as close (in terms of network delay) to the Mux as
     69possible. Jitter and delay can cause expect script sessions to timeout.
     72The sample rspec provided flash-rspec.xml:
     74<rspec type="request" xmlns="">
     75 <node component_uuid="" component_manager_uuid="28a10955-aa00-11dd-ad1f-001143e453fe" virtual_id="pc1" virtualization_type="emulab-vnode" exclusive="1">
     76   <node_type type_name="pc" type_slots="1"/>
     78   <interface virtual_id="control"/>
     79 </node>
     80 <node component_uuid="" component_manager_uuid="f00" virtual_id="atlanta_mux" virtualization_type="emulab-vnode" exclusive="1">
     81   <node_type type_name="bgpmux" type_slots="1">
     82     <field key="upstream_as" value="2637"/>
     83     <field key="prefix" value=""/>
     84     <field key="netmask" value="21"/>
     85   </node_type>
     86   <interface virtual_id="control"/>
     87 </node>
     88 <link virtual_id="link0">
     89   <link_type name="GRE">
     90     <field key="key" value="0"/>
     91     <field key="ttl" value="0"/>
     92   </link_type>
     93   <interface_ref virtual_node_id="atlanta_mux" tunnel_ip="" virtual_interface_id="control"/>
     94   <interface_ref virtual_node_id="pc1" tunnel_ip="" virtual_interface_id="control"/>
     95 </link>
     99Start the server process, which takes over TCP port 8080 with Twisted Web httpd 8.2.0:
     101$ sudo ./
     104Start the client:
     106$./ flash-rspec.xml