Skip to content

Simulation examples of the PTP protocol in OMNeT++ using libPTP.

License

Notifications You must be signed in to change notification settings

oussayran/PTP_Simulations

 
 

Repository files navigation

PTP Simulations: Example simulations for LibPTP

Project relationship

This project is part of the ptp-sim project. See the ptp-sim project page for more information. There is also the ptp-sim discussion forum for further discussions.

Project description

This repository provides exmaple simulations using the LibPTP library for the simulation of the Precision Time Protocol (PTP) as specified in IEEE 1588-2008. The current version of this software can be found on the projects's Github site. The example networks provided in this repository are the ones that were used in the following master thesis:

Reposity contents:

Mostly the files below the simulatons folder are of interest. The simulations/PTP directoy contains different PTP simulation networks:

  • BMC_Tests: Diffent test cases for the Best Master Clock Algorithm (BMCA). The test cases were taken from the Book Measurement, Control, and Communication Using IEEE 1588 by John Eidson (ISBN 978-1-84628-251-5).
  • DaisyChain: A daisy chain network. This example is useful for studying the impact of the line length on the clock synchronization.
  • Mixed_Test_1, Mixed_Test_2, Mixed_Test_3: Example networks with a mix of different PTP nodes.
  • Ring: A ring network.
  • Simple: The most simple PTP use case: a master-capable clock and a slave-only node.
  • SingleMaster: A network with a single PTP node. The main purpose for this test network is to catch regressions in the source code.
  • TC_Test: A simple network with transparent clocks. This example also servers mainly for regression testing.

The simulations/Testbenches directory contains various test benches to test different LibPTP simulation models.

License

This project is licensed unter the GPLv3. See the COPYING file for details.

Contact

Please visit the ptp-sim discussion forum for further discussions.

About

Simulation examples of the PTP protocol in OMNeT++ using libPTP.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 85.0%
  • Makefile 15.0%