The DX NetOps Virtual Network Assurance AppNeta plugin doesn't show data in the DX NetOps Portal.
The (default path) /opt/CA/VNA/collector/AppNeta_<engineID> json files show failures. This sample is from the inventory.json file.
"function": "webPath?page=1&limit=1000",
"startTime": "1731435001730",
"endTime": "1731435001814",
"error": "java.io.IOException: Server returned HTTP response code: 405 for URL: https://<appNetaHost>.com/api/v3/webPath?page=1&limit=1000",
"url": "https://<appNetaHost>.com/api/v3/webPath?page=1&limit=1000",
"status": "Failed"
All supported DX NetOps Virtual Network Assurance AppNeta plugin releases integrated with all supported DX NetOps Portal releases.
Incorrect paths used in API calls to AppNeta. OIder AppNeta releases use API calls with /api/v3/webPath in the URL used. Newer releases use /api/beta/webPath.
If your paths are configured to use /api/v3/webPath (examples below) resulting in a 405 errors change them per the Resolution below.
The older paths are defined in these locations. Default paths shown.
${PROTOCOL}://${APPNETA_HOST}/api/v3/webPath/data?limit=1
<Value id="BaseUrl">${PROTOCOL}://${APPNETA_HOST}/api/v3/webPath</Value>
${PROTOCOL}://${APPNETA_HOST}/api/v3/webPath/data?limit=1
<Value id="BaseUrl">${PROTOCOL}://${APPNETA_HOST}/api/v3/webPath/data</Value>
${PROTOCOL}://${APPNETA_HOST}/api/v3/webPath/data?limit=1
<Value id="BaseUrl">${PROTOCOL}://${APPNETA_HOST}/api/v3/webPath/data</Value>
In the /opt/CA/VNA/collector/AppNeta_3bff4fa5-d36a-46cc-a174-77d0f577976f/repository/deviceConfig/Appneta-Inventory.xml file in these lines.
${PROTOCOL}://${APPNETA_HOST}/api/v3/webPath/data?limit=1
<Value id="BaseUrl">${PROTOCOL}://${APPNETA_HOST}/api/v3/webPath</Value>
Modify the following files. Edit each changing the API URL path to use the correct /api/beta/webPath value. The following examples already have the correct path set.
${PROTOCOL}://${APPNETA_HOST}/api/beta/webPath/data?limit=1
<Value id="BaseUrl">${PROTOCOL}://${APPNETA_HOST}/api/beta/webPath</Value>
${PROTOCOL}://${APPNETA_HOST}/api/beta/webPath/data?limit=1
<Value id="BaseUrl">${PROTOCOL}://${APPNETA_HOST}/api/beta/webPath/data</Value>
${PROTOCOL}://${APPNETA_HOST}/api/beta/webPath/data?limit=1
<Value id="BaseUrl">${PROTOCOL}://${APPNETA_HOST}/api/beta/webPath/data</Value>
In the /opt/CA/VNA/collector/AppNeta_3bff4fa5-d36a-46cc-a174-77d0f577976f/repository/deviceConfig/Appneta-Inventory.xml file in these lines.
${PROTOCOL}://${APPNETA_HOST}/api/beta/webPath/data?limit=1
<Value id="BaseUrl">${PROTOCOL}://${APPNETA_HOST}/api/beta/webPath</Value>
After saving the changes restart VNA.
To confirm the issue is resolved we should no longer see 405 failure errors in the json response files.
This is being addressed by engineering through defect DE156313. The solution will have the AppNeta plugin try the older /api/v3/webPath URL first. If that fails it will use the /api/beta/webPath instead.
As of November 2024 there is no release set for fix inclusion. When that is determined this will be updated.
Alternative: Watch the Resolved Issues documentation for an entry referencing DE156313 to see the release that includes it.