Scripts to create/delete destinations/bridges , VPN etc.. via Jenkins pipeline

Surya,
The recommended way to configure manageable resources on event brokers is to use SEMP (Solace Element Management Protocol), which is a RESTful API. You’ll want to use the configuration part of the API to create/delete VPNs, bridges & endpoints.

  • Here is a link to the msgVpn section of the dev reference, but you can scroll up and down to find bridges & endpoints: SEMP API Reference
  • I find it useful to import the swagger spec into a tool like Postman to generate requests that you can send to your broker. You can import the spec from http://<SOLACE_HOST>/SEMP/v2/config/spec

While I'd recommend the use of SEMP with Jenkins, depending on what you're trying to accomplish another option to consider if you're using an appliance or software broker might be creating a cli script using the `show current-config` command to capture your entire vpn. You can read more about this here: https://docs.solace.com/System-and-Software-Maintenance/Backing-Up-and-Restoring-VPNs.htm
Hope that helps!