Enhance Hwvtep Device TransactionHistory.
JIRA: OVSDB-482
Currently the Hwvtep TransactionHistory is not collected for some of the important
hwvtep tables/objects like Global,PhysicalSwitch, Manager etc.
Collecting these information in the TransactionHistory will help in analyzing/debugging
the issue by looking at the karaf cli command instead of logging and looking at the switch.
Sample output
opendaylight-user@root>hwvtep:txlog -nodeid hwvtep://uuid/
f800aea8-f7c7-4f61-ae71-
fe8b5813bd25
Printing for Node : hwvtep://uuid/
f800aea8-f7c7-4f61-ae71-
fe8b5813bd25
Fri Jan 10 06:12:08 UTC 2020 DEVICE ADD ClientConnected [port=58030]
Fri Jan 10 06:12:08 UTC 2020 DEVICE ADD Global : Row [columns={other_config=[other_config={}], switches=[switches=[
ca786e4b-3355-423d-8bd2-
c7645193e8d7]], _uuid=[_uuid=
f800aea8-f7c7-4f61-ae71-
fe8b5813bd25], managers=[managers=[
7f75566c-6181-4059-b33f-
dfd326bf3499]]}]
Fri Jan 10 06:12:08 UTC 2020 DEVICE ADD Physical_Switch : Row [columns={tunnels=[tunnels=[]], tunnel_ips=[tunnel_ips=[172.18.0.7]], other_config=[other_config={}], management_ips=[management_ips=[]], name=[name=s3], description=[description=OVS VTEP Emulator], _uuid=[_uuid=
ca786e4b-3355-423d-8bd2-
c7645193e8d7], ports=[ports=[
d6b07d34-c924-430c-aaa2-
c3679287adeb,
e600b737-22ea-489a-9232-
0d64ee787b43,
d724ca83-c192-46fa-8d71-
fbcfbfffd579,
1d3a727f-4d37-466f-9e2c-
06ffa006636c,
2ce0fec1-9231-4b31-ba6c-
bec80ab8ca8f,
0939560b-02f1-4ce0-9ef5-
db1cd8de4c90,
09a9235b-021f-4988-8c94-
5173de4e56d7,
f8625113-f3ab-40fe-99eb-
83709456e80d,
083feeec-a272-4d7f-a55d-
04b126d9de43]], switch_fault_status=[switch_fault_status=[]]}]
Fri Jan 10 06:12:08 UTC 2020 DEVICE ADD Manager : Row [columns={is_connected=[is_connected=false], other_config=[other_config={ha_id=s3, ha_enabled=true}], max_backoff=[max_backoff=[]], _uuid=[_uuid=
7f75566c-6181-4059-b33f-
dfd326bf3499], inactivity_probe=[inactivity_probe=[]], target=[target=tcp:172.18.0.3:6640]}]
Signed-off-by: Chandra Shekar S <chandra.shekar.s@ericsson.com>
Change-Id: Ifeaa84087cb625004d6c27daeec8b04b04eb9ed0