-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
-
None
-
None
The hwvtep configuration data is pushed to the tor by the hwvtep plugin.
The hwvtep plugin has the caches (config and operational caches) which holds
the hwvtep configuration. The hwvtep configuration push to the tor is also
dependent on the data that is present in caches.
For ex : To push the vlanbinding data to the PhysicalPort , the operational
cache is checked first, if present in the operational cache get the uuid of
that PhysicalPort and the send/push the vlanbinding to the tor.
Today it is hard to know/check what is present in the cache. In case if there
any issue in updating the cache, it is hard to debug/analyse the issue as no way to know what is present in the cache.
If we have mechanism/cli command which gives the information of the hwvtep
caches, it will be very helpful to debug or analyze such cache missing issues.
This is for adding the karaf cli command which displays the hwvtep caches contents.
This command has two options :
1. Hwvtep nodeid as the input. Displays cache information of input hwvtep node.
2. Without any input. Displays the cache information of all hwvtep nodes.
Sample output :
opendaylight-user@root>hwvtep:cache -nodeid hwvtep://uuid/803a8ab2-73c9-401f-b424-7f2899056e9d
===================
Config data
================================================================================
RemoteMcastMacs -
00:00:00:00:00:00 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE null
LogicalSwitches -
9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE null
RemoteUcastMacs -
00:00:00:00:01:02 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE null
00:00:00:00:02:01 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE null
00:00:00:00:01:01 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE null
================================================================================
Oper data
================================================================================
TerminationPoint -
tap23701083-12 AVAILABLE 22de853c-c934-4f9f-89ae-db9909b678c9
vxlan_over_ipv4:172.18.0.5 AVAILABLE 7f7d9d68-fcf7-4b1d-bec6-67f6a2644cd7
tap23701013-12 AVAILABLE c3454208-0991-4a49-ae52-ebf476d62589
tap23701063-12 AVAILABLE 4285bd84-1d49-4b32-aeed-6794a72ce179
vxlan_over_ipv4:172.18.0.6 AVAILABLE 1ba389e6-e1dc-46ad-a7ce-e7e4729dd7bc
tunf112a1407b1 AVAILABLE 6f75cc6a-c29e-4973-a0f7-11f66b55fe4b
vxlan_over_ipv4:172.18.0.7 AVAILABLE 64a1d6bc-2619-46d1-8c14-758537c40e59
tap23701033-12 AVAILABLE 2ca0aad0-7757-4a8f-9c16-4c48c075dad1
tun47bd084917b AVAILABLE f5bdd6f3-673f-4ab6-bbe9-b3b923fa3cea
tund4ebc08471f AVAILABLE 431be32a-fc08-42af-a479-9af01dc11e46
tun7cc2c1f9ae0 AVAILABLE 9a3e5782-9789-4f58-b39a-52b2599f9fc2
tap23701023-12 AVAILABLE dd255971-8b4f-4135-af41-0745df2dacbf
tap23701073-12 AVAILABLE 94291a30-2a4d-457b-b451-78fa0edd667a
tap23701043-12 AVAILABLE 2937a7f8-dede-4e95-8b3d-be383ec5c313
tap23701053-12 AVAILABLE 36b685e3-0b2f-4dbd-8901-5777b9d2f77f
vxlan_over_ipv4:172.18.0.9 AVAILABLE 7eb8492c-4988-41bc-b9b4-9e130eb7b1a9
tunfcbeedcdaf4 AVAILABLE 88df99df-6d56-4020-92e0-f1aab4c5cc0e
tap23701093-12 AVAILABLE 1e8e6080-21d8-41fd-8966-bc7d8222e061
RemoteMcastMacs -
00:00:00:00:00:00 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE e9bc8e0e-0a59-40b2-964a-f44e0985e692
Node -
hwvtep://uuid/803a8ab2-73c9-401f-b424-7f2899056e9d/physicalswitch/s3 AVAILABLE 42d4b8f8-cde2-4c7c-bd47-ae1407d1444b
LogicalSwitches -
9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE 0d0bcd91-f66e-471d-b341-ecf6eadfca45
RemoteUcastMacs -
00:00:00:00:01:02 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE 989bd162-d0f5-47ba-bc99-3090d0ed7902
00:00:00:00:02:01 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE 28b4c2d0-c430-4a90-85cf-952723109351
00:00:00:00:01:01 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE d9496f61-73e9-4f56-b668-15343f14f40a
================================================================================
Uuid data
================================================================================
TerminationPoint -
tap23701093-12 AVAILABLE 1e8e6080-21d8-41fd-8966-bc7d8222e061
tap23701053-12 AVAILABLE 36b685e3-0b2f-4dbd-8901-5777b9d2f77f
tap23701013-12 AVAILABLE c3454208-0991-4a49-ae52-ebf476d62589
tap23701063-12 AVAILABLE 4285bd84-1d49-4b32-aeed-6794a72ce179
tap23701083-12 AVAILABLE 22de853c-c934-4f9f-89ae-db9909b678c9
vxlan_over_ipv4:172.18.0.9 AVAILABLE 7eb8492c-4988-41bc-b9b4-9e130eb7b1a9
tund4ebc08471f AVAILABLE 431be32a-fc08-42af-a479-9af01dc11e46
tap23701033-12 AVAILABLE 2ca0aad0-7757-4a8f-9c16-4c48c075dad1
tun47bd084917b AVAILABLE f5bdd6f3-673f-4ab6-bbe9-b3b923fa3cea
vxlan_over_ipv4:172.18.0.5 AVAILABLE 7f7d9d68-fcf7-4b1d-bec6-67f6a2644cd7
tun7cc2c1f9ae0 AVAILABLE 9a3e5782-9789-4f58-b39a-52b2599f9fc2
vxlan_over_ipv4:172.18.0.6 AVAILABLE 1ba389e6-e1dc-46ad-a7ce-e7e4729dd7bc
tunfcbeedcdaf4 AVAILABLE 88df99df-6d56-4020-92e0-f1aab4c5cc0e
tap23701073-12 AVAILABLE 94291a30-2a4d-457b-b451-78fa0edd667a
tap23701043-12 AVAILABLE 2937a7f8-dede-4e95-8b3d-be383ec5c313
tunf112a1407b1 AVAILABLE 6f75cc6a-c29e-4973-a0f7-11f66b55fe4b
tap23701023-12 AVAILABLE dd255971-8b4f-4135-af41-0745df2dacbf
vxlan_over_ipv4:172.18.0.7 AVAILABLE 64a1d6bc-2619-46d1-8c14-758537c40e59
RemoteMcastMacs -
00:00:00:00:00:00 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE e9bc8e0e-0a59-40b2-964a-f44e0985e692
Node -
hwvtep://uuid/803a8ab2-73c9-401f-b424-7f2899056e9d/physicalswitch/s3 AVAILABLE 42d4b8f8-cde2-4c7c-bd47-ae1407d1444b
LogicalSwitches -
9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE 0d0bcd91-f66e-471d-b341-ecf6eadfca45
RemoteUcastMacs -
00:00:00:00:02:01 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE 28b4c2d0-c430-4a90-85cf-952723109351
00:00:00:00:01:01 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE d9496f61-73e9-4f56-b668-15343f14f40a
00:00:00:00:01:02 LogicalSwitchRef 9227c228-6bba-4bbe-bdb8-6942768ff0f1 AVAILABLE 989bd162-d0f5-47ba-bc99-3090d0ed7902