Citrix NetScaler SDX 8015 Manual page 226

Hide thumbs Also See for NetScaler SDX 8015:
Table of Contents

Advertisement

T o account for the failure of some operations within the bulk operation, NIT RO allows you to configure one of the
following behaviors:
Exit. When the first error is encountered, the execution stops. T he commands that were executed before the error are
committed.
Continue. All the commands in the list are executed even if some commands fail.
Note: You must configure the required behavior in the request header using the X-NIT RO-ONERROR parameter.
T o add 2 NetScaler resources in one operation and continue if one command fails:
URL. http://10.102.29.60/nitro/v2/config/ns/
HTTP Method. POST
Request Payload.
Header
Cookie:NITRO_AUTH_TOKEN=tokenvalue
Content-Type:application/vnd.com.citrix.sdx.ns+json
X-NITRO-ONERROR:continue
Payload
{
"ns":
[
{
"name":"ns_instance1",
"ip_address":"10.70.136.5",
"netmask":"255.255.255.0",
"gateway":"10.70.136.1"
},
{
"name":"ns_instance2",
"ip_address":"10.70.136.8",
"netmask":"255.255.255.0",
"gateway":"10.70.136.1"
}
]
}
T o add multiple resources (two NetScalers and two MPS users) in one operation and continue if one command fails:
URL. https://10.102.29.60/nitro/v2/config/ns/
HTTP Method. POST
Request Payload.
Header
Cookie:NITRO_AUTH_TOKEN=tokenvalue
Content-Type:application/vnd.com.citrix.sdx.ns+json
X-NITRO-ONERROR:continue
Payload
{
"ns":
[
{
https://docs.citrix.com
© 1999-2017 Citrix Systems, Inc. All rights reserved.
p.229

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NetScaler SDX 8015 and is the answer not in the manual?

Table of Contents