Product Documentation

vrid6

Sep 07, 2016

Configuration for Virtual Router ID for IPv6 resource.

Properties (click to see Operations)

Name Data Type Permissions Description
id
<Double>
Read-write
Integer value that uniquely identifies a VMAC6 address.
Minimum value = 1
Maximum value = 255
priority
<Double>
Read-write
Base priority (BP), in an active-active mode configuration, which ordinarily determines the master VIP address.
Default value: 255
Minimum value = 0
Maximum value = 255
preemption
<String>
Read-write
In an active-active mode configuration, make a backup VIP address the master if its priority becomes higher than that of a master VIP address bound to this VMAC address.
If you disable pre-emption while a backup VIP address is the master, the backup VIP address remains master until the original master VIP's priority becomes higher than that of the current master.
Default value: ENABLED
Possible values = ENABLED, DISABLED
sharing
<String>
Read-write
In an active-active mode configuration, enable the backup VIP address to process any traffic instead of dropping it.
Default value: DISABLED
Possible values = ENABLED, DISABLED
preemptiondelaytimer
<Double>
Read-write
Preemption delay time in seconds. If any high priority node will come in network, it will wait for these many seconds before becoming master.
Default value: 0
Minimum value = 1
Maximum value = 36000
trackifnumpriority
<Double>
Read-write
Priority by which the Effective priority will be reduced if any of the tracked interfaces goes down.
Default value: 0
Minimum value = 1
Maximum value = 255
all
<Boolean>
Read-write
Remove all configured VMAC6 addresses from the NetScaler appliance.
ifaces
<String>
Read-only
Interfaces bound to this VRID.
ifnum
<String>
Read-only
Interfaces bound to this VRID.
type
<String>
Read-only
Type (static or dynamic) of this VRID.
Possible values = STATIC, DYNAMIC
state
<Double>
Read-only
State of this VRID.
flags
<Double>
Read-only
Flags.
ipaddress
<String>
Read-only
The IP address bound to the VRID6.
effectivepriority
<Double>
Read-only
The effective priority of this VRID.
__count
<Double>
Read-only
count parameter

Operations (click to see Properties)

Some options that you can use for each operations:

  • Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http://<netscaler-ip-address>/nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".

  • Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER:<username>

    X-NITRO-PASS:<password>

    Note: In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

메모

Mandatory parameters are marked in red and placeholder content is marked in <green>.

add

URL: http://<netscaler-ip-address>/nitro/v1/config/vrid6

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"vrid6":{
      "id":<Double_value>,
      "priority":<Double_value>,
      "preemption":<String_value>,
      "sharing":<String_value>,
      "preemptiondelaytimer":<Double_value>,
      "trackifnumpriority":<Double_value>
}}

Response:

HTTP Status Code on Success: 201 Created
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

delete

URL: http://<netscaler-ip-address>/nitro/v1/config/vrid6/id_value<Double>

HTTP Method: DELETE

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

update

URL: http://<netscaler-ip-address>/nitro/v1/config/vrid6

HTTP Method: PUT

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"vrid6":{
      "id":<Double_value>,
      "priority":<Double_value>,
      "preemption":<String_value>,
      "sharing":<String_value>,
      "preemptiondelaytimer":<Double_value>,
      "trackifnumpriority":<Double_value>
}}

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

unset

URL: http://<netscaler-ip-address>/nitro/v1/config/vrid6?action=unset

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Content-Type:application/json

Request Payload:

{"vrid6":{
      "id":<Double_value>,
      "priority":true,
      "preemption":true,
      "sharing":true,
      "preemptiondelaytimer":true,
      "trackifnumpriority":true
}}

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

get (all)

URL: http://<netscaler-ip-address>/nitro/v1/config/vrid6

Query-parameters:

attrs

http://<netscaler-ip-address>/nitro/v1/config/vrid6?attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

filter

http://<netscaler-ip-address>/nitro/v1/config/vrid6?filter=property-name1:property-val1,property-name2:property-val2

Use this query-parameter to get the filtered set of vrid6 resources configured on NetScaler.Filtering can be done on any of the properties of the resource.

view

http://<netscaler-ip-address>/nitro/v1/config/vrid6?view=summary

Note: By default, the retrieved results are displayed in detail view (?view=detail).

pagination

http://<netscaler-ip-address>/nitro/v1/config/vrid6?pagesize=#no&pageno=#no

Use this query-parameter to get the vrid6 resources in chunks.

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Accept:application/json

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:

{ "vrid6": [ {
      "id":<Double_value>,
      "ifaces":<String_value>,
      "ifnum":<String_value>,
      "type":<String_value>,
      "priority":<Double_value>,
      "state":<Double_value>,
      "flags":<Double_value>,
      "ipaddress":<String_value>,
      "preemption":<String_value>,
      "sharing":<String_value>,
      "preemptiondelaytimer":<Double_value>,
      "trackifnumpriority":<Double_value>,
      "effectivepriority":<Double_value>
}]}

get

URL: http://<netscaler-ip-address>/nitro/v1/config/vrid6/id_value<Double>

Query-parameters:

attrs

http://<netscaler-ip-address>/nitro/v1/config/vrid6/id_value<Double>?attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

view

http://<netscaler-ip-address>/nitro/v1/config/vrid6/id_value<Double>?view=summary

Note: By default, the retrieved results are displayed in detail view (?view=detail).

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Accept:application/json

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:

{ "vrid6": [ {
      "id":<Double_value>,
      "ifaces":<String_value>,
      "ifnum":<String_value>,
      "type":<String_value>,
      "priority":<Double_value>,
      "state":<Double_value>,
      "flags":<Double_value>,
      "ipaddress":<String_value>,
      "preemption":<String_value>,
      "sharing":<String_value>,
      "preemptiondelaytimer":<Double_value>,
      "trackifnumpriority":<Double_value>,
      "effectivepriority":<Double_value>
}]}

count

URL: http://<netscaler-ip-address>/nitro/v1/config/vrid6?count=yes

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>
Accept:application/json

Response:

HTTP Status Code on Success: 200 OK
HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:

{ "vrid6": [ { "__count": "#no"} ] }