When trying and view the DX Netops Virtual Network Assurance (VNA) inventory using the VNA swagger (REST) UI, the page just hangs.
Can we get the inventory via the command line using curl?
Release : 21.2, 22.2
Once an inventory grows larger, the browser will hang trying to process the large output.
You can export the inventory using cURL as in the following example:
curl -kv -X 'POST' -uadmin 'http://VNASERVER:8080/vna/rest/v1/inventory' -H 'accept: application/json' -d '' > /tmp/inv.json
Change the username (admin) port (8443 usually if using https) and protocol (https if using https) accordingly.