-
Notifications
You must be signed in to change notification settings - Fork 0
PTP-layer LTPs do not refer to its clock #80
Description
The synch-ltp-spec class includes the embedded-clock attribute, which references the clock instance to which the LTP belongs. This establishes a bidirectional relationship between the clock and the LTPs: through synch-ltp, the clock can reference its associated LTPs, and conversely, each LTP can reference its associated clock.
However, for LTPs whose layer-protocol-name is set to LAYER_PROTOCOL_NAME_TYPE_PTP_LAYER, the embedded-clock attribute is not present. As a result, the relationship becomes unidirectional—i.e., the clock can reference the LTPs, but the LTPs cannot reference the clock.
Proposed enhancement:
To re-establish bidirectional association for PTP-layer LTPs, it is proposed to introduce a new ptp-ltp-spec class, specifically designed to extend LTPs whose layer-protocol-name is LAYER_PROTOCOL_NAME_TYPE_PTP_LAYER.
This class would:
- Extend the LTP with PTP-specific attributes and behaviors.
- Include an embedded-clock reference, consistent with the synch-ltp-spec, to explicitly link the PTP LTPs to its corresponding clock.