Reset Search
 

 

Article

How to deploy network policy via API in ExtremeCloudIQ

« Go Back

Information

 
TitleHow to deploy network policy via API in ExtremeCloudIQ
Objective
Push delta or full network policy config update via API.
Environment
  • Extreme Cloud IQ
  • API
Procedure
For API initial prerequisite setup please refer knowledge articles How to test API for ExtremeCloudIQ

Below is the Put URL option to deploy network policy update.
Put https://jp.extremecloudiq.com/xapi/v1/configuration/networkpolicy/deploy?ownerId=12345
Owner ID is the VIQ ID.

Next, need to define below request body (Raw).
User-added image
{
  "configurationType": "delta",
  "deviceIds": [
    39914419512345
  ],
  "networkPolicyId": 123454195845960,
  "ownerId": 12345
}

Configuration Type can be “full/delta”, if "configurationType" = full, define one of the following before "configurationType" parameter.

                "activationDelay": "0",
                "activateOnNextReboot": true,


Device ID can be obtain using below Get request.
Get https://jp.extremecloudiq.com/xapi/v1/monitor/devices?ownerId=xxxxx
And network policy ID using below Get request.
Get https://jp.extremecloudiq.com/xapi/v1/configuration/networkpolicy/policies?ownerId=xxxxx

Note : Available API list is documented on API developer website
 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255