Ensure that ptp-notification is correctly transitioning state when HA
phc2sys is in use and there are no valid source interfaces.
For v2 API, this means that the os_clock status state is changed when
all valid phc2sys sources are lost/returned.
For v1 API, support the option to log a warning when phc2sys HA has no
valid sources, but do not change state, as phc2sys sync is not
considered for the sync state in the v1 API.
Test plan:
PASS: Build and deploy images
PASS: Verify that v2 API state changes when HA phc2sys loses valid
sources
PASS: Verify that v2 API returns to LOCKED when valid sources return
PASS: Verify that v1 API can log a warning when no valid HA phc2sys
sources are present
Story: 2010723
Task: 49205
Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: I43c499d62f352147994d134d867f042186cd8e35