sonic-swss
sonic-swss copied to clipboard
add remove queue port map function
What I did Added removeQueueMapPerPort() counter part of generateQueueMapPerPort()
Why I did it Need this cleanup as part of port remove.
How I verified it Verified the Queue counter map before and after port remove and create
Details if related Used these command to verify the cleanup redis-cli -n 2 hgetall COUNTERS_QUEUE_NAME_MAP > q_name_map.txt redis-cli -n 2 hgetall COUNTERS_QUEUE_PORT_MAP > q_port_map.txt redis-cli -n 2 hgetall COUNTERS_QUEUE_TYPE_MAP > q_type_map.txt redis-cli -n 2 hgetall COUNTERS_QUEUE_INDEX_MAP > q_index_map.txt
This pull request introduces 1 alert when merging e6c9ee6330e33dcfcae716adf9e1967de1d04f8f into e1dd32788fc9f7985761135dbc8bb6c985b3cff9 - view on LGTM.com
new alerts:
- 1 for FIXME comment
@lguohan - pls help with review - thx