The DX NetOps Virtual Network Assurance (VNA) Gateway was deleted from the DX NetOps Performance Management Portal configuration.
In the Data Aggregator (DA) karaf.log file, after the VNA Gateway was deleted, we see the message that indicates it finished.
Finished cleaning up inventory associated with SDN Gateway <gatewayID>
The DA /rest/tunnels endpoint returns an empty result set showing none remain in DA inventory.
The Portal web server still shows an Inventory->Tunnels entry. There are 64 tunnels remaining after 20K+ were present prior to the VNA Gateway being deleted.
Running these MySql commands against the netqosportal DB on the Portal web server shows tunnels that remain in Portal Inventory from the DA Data Source (DS).
All supported DX NetOps Performance Management releases
Logging doesn't show an error during the deletion of the VNA Gateway that would prevent complete tunnel item removal.
Once the deletion was considered complete and successful, only manual intervention can remove the left over tunnels from Portal Inventory.
To remove the tunnels from Portal inventory complete the following steps. Replace <DA_DS_ID> with the DA DS ID.
After completing those steps, after a DA sync is followed by a Global Sync, the items should be removed from Portal inventory.