Cisco Cisco Security Manager 4.11 Guía Del Usuario
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
Cisco Security Manager 4.11 API Specification (Version 2.3)
Page 163
3.2.24
Method DeployConfigByGID
Once the user has policy changes, config can be deployed to the device(s). If user has deploy privileges then he can
deploy the config. In this release API supports immediate deploy option. The deployment to IPS devices will be
blocked in this release. If IPS device is found in the request then an error will be thrown to the user.
deploy the config. In this release API supports immediate deploy option. The deployment to IPS devices will be
blocked in this release. If IPS device is found in the request then an error will be thrown to the user.
If the deployment options are not specified then we will use the values from admin settings.API will read the
deployment options that are set (or default values) using CSM client and will use while deploying to the device.
deployment options that are set (or default values) using CSM client and will use while deploying to the device.
3.2.24.1
Request
The request takes the device GID and the other deployment options as mentioned below in the example and the
XSD.
XSD.
Figure 127: DeployConfigByGID request Example
Table 88: DeployConfigByGID XML element and attribute Description
XML Element & Attributes
Definition
deployConfigRequest
An element that mentions the details of the deploy
operation
operation
Element List:
deviceGID
Unique value that specifies the list of device ID for
which the changes to be deployed
which the changes to be deployed
Element:
deploymentOptions
Deployment options which we can override for
this deployment. Options like deploy to file or
detect OOB etc
this deployment. Options like deploy to file or
detect OOB etc
ElementList:
deploymentComments
Boolean value – true , optionally user can specify
comments.
comments.
Element:
deployDeviceAttrbs.deployOptions.deployMethod.device
Fixed values to mention if we want to deploy to
device or file.
device or file.
Element:
deployDeviceAttrbs.deployOptions.deployMethod.file
Deploy to file.
Element:
deployDeviceAttrbs.deployOptions.deployMethod.file.filePath
If file option is selected then filePath should be
provided
provided
URL:
https://hostname/nbi/configservice/deployConfigByGID
<?xml version="1.0" encoding="UTF-8"?>
<csm:deployConfigRequest xmlns:csm="csm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance>"
<deviceGID>
<gid>00000000-0000-0000-0000-004294967326</gid>
</deviceGID>
<deploymentOptions>
<DeployOptions>device</DeployOptions>
</deploymentOptions>
</csm:deployConfigRequest>