GM that lost 10MHz/1PPS, was degraded and slaved to another GM... misbehaves when 10MHz and PPS return
Scenario:
- We have two GMs (A and B) interconnected. GM_A is in Passive.
- GM_B looses 1PPS/10MHz and thus its clockClass is degraded LOCKED(6)->PTP_GM_UNLOCKED_B(187), as a consequence ...
- GM_B becomes a slave of to GM_A - so far this is all good, except that the clockClass is incorrectly returned to 6 on GM_B (it seems that the decision is only based on locking state, and the GM is now locked as a slave...) - BUG 1
- If 1PPS/10MHz inputs are restored at GM_B, it will not lock to this inputs because it is already slave/locked to the GM_A. Once PLL is switched from GM mode to slave mode it stays in slave mode. - BUG 2
In this scenario, another bug might manifest as well: #224 (closed)