GSoC 2012: Management Message Client - Himanshu

Clock Models (GSoC 2012)

Summary

The goal of this project was to implement a client that would send management messages to a computer running PTP daemon. These management messages are then used to control the server. The client then receives response or error messages from server which are handled at client computer and displayed to the user. Based on the response a user is able to send further management messages.

Related Items:

Tasks

  • Implemented a simple client to pack and send management headers only and testing proper handling of management messages at PTP.
  • Packing the Management TLVs and sending them to PTP.Currently PTPManager supports sending one tlvtype (TLV_MANAGEMENT) and 33 different management Ids.
  • Testing the receipt of management messages at PTP daemon and confirming whether PTP behaves as desired or not. It was checked that correct data is received and all the commands are executed properly.
  • Implementation for taking user inputs to set the values in management tlvs’ fields for SET actions and testing it on server side.
  • Implementation to receive the management response/ack/error messages in reply to
  • Unpack and handle the response.
  • Implementation of commands – ‘show_previous_inmessage’ and ‘send_previous’
  • Implementation of additional commands - 'show_commonheader', 'show_managementheader', 'show_mgmtIds' and 'show_tlv'.
  • Tested the tool with updated functionality to check all the added modules.
  • Tested it to work on Debian and MAC platforms, on loopback, ethernet and wireless lan and fixed the bugs.
  • Documenting the code and making a User guide describing the client functionality.

Timeline

Date Task Description % Done
04-23 Community Bonding Students get to know mentors, read documentation, get up to speed to begin working on their projects. choice-yes
05-21 Coding Begins Students begin coding for their GSoC projects. choice-yes
06-13 Not available full time from 06-13 to 06-18 Need to attend a student conference. choice-yes
07-09 BO Midterm Evals Mentors and students can begin submitting mid-term evaluations. choice-yes
07-13 EO Midterm Evals Mid-term evaluations deadline. choice-yes
07-30 Testing begins Executing test-cases, completing documentation. choice-yes
08-13 Wrap-up Suggested "Pencils Down" date. Take a week to scrub code, write tests, improve documentation, etc. choice-yes
08-20 Firm "Pencils Down" Mentors, students and organization administrators can begin submitting final evaluations to Google. choice-yes
08-24 Final Evaluation Final Evaluations Deadline  
08-27 Final Results Final Results Announced  
08-31 Code Samples Students begin uploading code samples  

Discussion and Comments

 
Topic revision: r6 - 20 Aug 2012, HimanshuSingh
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Network Time Foundation Community Wiki? Send feedback