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.