Presentation is loading. Please wait.

Presentation is loading. Please wait.

MEASUREMENT HANDLER IMPLEMENTATION & INTEGRATION WITH IMF Measurement Handler: Debjyoti Majumder, Deniz Gurkan University of Houston ERM: Michael Wang,

Similar presentations


Presentation on theme: "MEASUREMENT HANDLER IMPLEMENTATION & INTEGRATION WITH IMF Measurement Handler: Debjyoti Majumder, Deniz Gurkan University of Houston ERM: Michael Wang,"— Presentation transcript:

1 MEASUREMENT HANDLER IMPLEMENTATION & INTEGRATION WITH IMF 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 03/16/2010 GEC7 – ORCA-D. Majumder, LEARN

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

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

4 SOFTWARE OVERVIEW MH Server (I) Supporting Modules (II) TL1 Toolkit (III) Network Element 03/16/2010 GEC7 – ORCA-D. Majumder, LEARN

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

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

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

8 LOGIN Call method connectToDevice Parameters: A.deviceIP= B.port= C.username= D.password= E.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/2010 GEC7 – ORCA-D. Majumder, LEARN

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

10 LOGOUT Call method disconnectFromDevice Parameters: A.connectionObject=ID (Id returned by the connectToDevice method) B.deviceIP= C.port= D.username= E.password= F.device=Infinera/Polatis 03/16/2010 GEC7 – ORCA-D. Majumder, LEARN

11 POINTS TO NOTE 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/2010 GEC7 – ORCA-D. Majumder, LEARN

12 DEPENDENCIES CPAN perl modules to be installed: A.threads B.threads::shared C.Thread::Queue::Any D.Net::Telnet E.Date::Manip F.CGI::Cookie G.SOAP::Lite H.Thread::Semaphore 03/16/2010 GEC7 – ORCA-D. Majumder, LEARN

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

14 EXECUTION (II) 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.ben Polatis. 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.ben Polatis. A demo was presented during the demo session. 03/16/2010 GEC7 – ORCA-D. Majumder, LEARN

15 Next Steps 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/2010 GEC7 – ORCA-D. Majumder, LEARN

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


Download ppt "MEASUREMENT HANDLER IMPLEMENTATION & INTEGRATION WITH IMF Measurement Handler: Debjyoti Majumder, Deniz Gurkan University of Houston ERM: Michael Wang,"

Similar presentations


Ads by Google