1 / 16

MEASUREMENT HANDLER

MEASUREMENT HANDLER. Measurement Handler: Debjyoti Majumder , Deniz Gurkan University of Houston ERM: Michael Wang, Caroline Lai, Keren Bergman Columbia University IMF Extension to integration with ORCA: Ilia Baldine RENCI - BEN. IMPLEMENTATION & INTEGRATION WITH IMF.

josef
Download Presentation

MEASUREMENT HANDLER

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MEASUREMENT HANDLER Measurement Handler: Debjyoti Majumder, DenizGurkan University of Houston ERM: Michael Wang, Caroline Lai, Keren Bergman Columbia University IMF Extension to integration with ORCA: IliaBaldine RENCI - BEN IMPLEMENTATION & INTEGRATION WITH IMF 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  2. Measurement handler (MH) - server program • Integrated Measurement Framework (IMF) – client program • Respond to requests over XML-RPC protocol: • connectToDevice – logs into Polatis/Infinera • retrieveMeasurement – fetch measurement • disconnectFromDevice – logs out • Support multiple logins and simultaneous retrieval of measurements 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  3. Infinera: • PREFEC-BER • POSTFEC-BER • PORTPOWER (received power) • Polatis • PORTPOWER 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  4. 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  5. SERVER PROGRAM • Creates a daemon process that continuously polls a port (currently 8001) for XML-RPC requests. • Calls supporting perl modules to communicate with the network element. 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  6. SUPPORTING PERL MODULES Extraction of specific measurements from the raw response messages from the network element: • pol_tl1.pm • Infinera_tl1.pm TL1 interface with the network element is done using CPAN Perl module: TL1.pm 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  7. TL1 Toolkit [SARA 1] Provides general access and parsing functions for TL1 interface. Thread-safe multi-user access: • Unique connection identifier for each login (tl1 object) • Thread-safe response fetch for concurrent requests • Separate termination of response retrieval for each logout 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  8. Call method connectToDevice • Parameters: • deviceIP=<IP address or FQDN of network element> • port=<port number of network element> • username=<username> • password=<pwd> • device=Infinera/Polatis (case-insensitive) Using these parameters, a new tl1 connection is created with the network element and a unique connection identifier is returned to the IMF. 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  9. Call method retrieveMeasurement • Parameters: • connectionObject=ID(Id returned by the connectToDevice method) • chassis=<val> DLMslot=<val> opticalChannel=<val> (for Infinera) port=<val> (for Polatis) • measureType=prefec-ber/postfec-ber/portpower(for Infinera) portPower(for Polatis) 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  10. Call method disconnectFromDevice • Parameters: • connectionObject=ID (Id returned by the connectToDevice method) • deviceIP=<IP address or FQDN of network element> • port=<port of network element> • username=<username> • password=<pwd> • device=Infinera/Polatis 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  11. Timeout: 5 minutes idle time • No response from network element: Server program waits for 200 seconds ( 3min 20 sec) before canceling the request. • For any kind of error, hash value is returned with key ‘ERROR’ and value ‘error-message’. 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  12. CPAN perl modules to be installed: • threads • threads::shared • Thread::Queue::Any • Net::Telnet • Date::Manip • CGI::Cookie • SOAP::Lite • Thread::Semaphore 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  13. Place the following files in the same folder: • tl1.pm • infinera_tl1.pm • pol_tl1.pm • XMLRPC_API_Server_MH_InfineraPolatis.pl • execute: ./XMLRPC_API_Server_MH_InfineraPolatis.pl or perlXMLRPC_API_Server_MH_InfineraPolatis.pl 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  14. Prints the login, logout, and error details with time-stamps. Example: Contact to XMLRPC server at http://geni-imf-dev:8001/ 2010-03-09 19:11:48: ID1001-Logged into dtn-1.duke.ben Infinera. 2010-03-09 19:11:48: ID1002-Logged into os.duke.benPolatis. 2010-03-09 19:29:53: ID1001-Logged out from dtn-1.duke.ben Infinera. 2010-03-09 19:29:53: ID1002-Logged out from os.duke.benPolatis. • A demo waspresented during the demo session. 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  15. Investigate further measurements from Infinera DTN to be made available to users • Connection handling without a connection id – more elegant methods • Documentation of measurement handler software – due May 2010 • Measurement handler software options for other network elements in GENI substrates – due September 2010 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

  16. 03/16/2010GEC7 – ORCA-D. Majumder, LEARN

More Related