New shell commands for management of PTP instances configuration:
- "system ptp-instance-add <name> <service> <hostname or id>"
- "system ptp-instance-delete <name or UUID>"
- "system ptp-instance-show <name or UUID>"
- "system ptp-instance-list" (list all PTP instances)
- "system host-ptp-instance-list <hostname or id>" (host's instances)
Also added REST API to manage the PTP instance table contents.
Test Plan:
PASS: New unit tests for PTP instance API.
Regression:
PASS: Existing unit tests still running with former PTP implementation.
Story: 2009248
Task: 43527
Signed-off-by: Douglas Henrique Koerich <douglashenrique.koerich@windriver.com>
Change-Id: Ia74c55c486562aaac3e093f256b1dba267ed7ff5