711acedcc64ca3756433a143c625b26db80ab8a0
Adds system CLI commands to view the status of HA phc2sys, force lock a source interface and enable/disable source interfaces. These CLI commands connect to the UNIX socket created by HA phc2sys, send the appropriate query and print the response. The new commands are: system phc2sys-ha-query <instance> <[status, forced lock, clock source]> system phc2sys-ha-force-lock <instance> <interface> system phc2sys-ha-disable-lock <instance> system phc2sys-disable-source <instance> <interface> system phc2sys-enable-source <instance> <interface> Test Plan: PASS: Validate listed commands PASS: Verify error handling: wrong instance type, invalid interface, HA phc2sys not enabled, no phc2sys communication socket configured, permission denied connecting to socket Story: 2010723 Task: 48575 Change-Id: I5e314d5457aaf904344fbda2fa5dac825f852c5f Signed-off-by: Cole Walker <cole.walker@windriver.com>
stx-config
StarlingX Configuration Management
Description
Languages
Python
98%
Shell
1.6%
CSS
0.2%