Meraki Plugin Change API key error
search cancel

Meraki Plugin Change API key error

book

Article ID: 400218

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

Need to change the Meraki API key in the VNA Meraki plugin.

When updating the config via the PUT in the VNA Swagger API

getting below error:

Cannot invoke "Object.getClass()" because "config" is null

Tried reposting the full config again, same as when creating a new plugin with the new value in the MERAKI_API_KEY field.

When only posting the MERAKI_API_KEY value, 

getting Error 500

{
  "PLUGIN_CONFIG" : {
 
  "MERAKI_API_KEY" : "xxxxxxxxxxxxxxxxxxx"
  
  }
}

Environment

23.3.x, 24.3.x

Cause

Mismatching template details.

Resolution

Access the VNA Rest API

http://gateway_host:8080/vna/

Select the following GET call:
/v1/admin/plugins/{pluginName}/template

fill the details as per the live environment

select the following POST call:
/v1/admin/plugins/{pluginName}

Complete the following fields:

pluginName
The name of the plug-in. Paste the name of the plug-in.

configDesc
A meaningful description of the configuration. The description is required to identify the configuration.

paste the updated plug-in configuration JSON parameters into the engineConfig field

click Execute.

Move tmp directory in /opt/CA/VNA/collector/engine_id folder to any other place

systemctl restart wildfly

 

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/virtual-network-assurance/23-3/building.html#concept.dita_ac082a37fe0ad633259edca9e53cdb29a4d494e8_configureusingrestapi