netscaler.adc.nsip module – Configuration for ip resource.
Note
This module is part of the netscaler.adc collection (version 2.6.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netscaler.adc
.
To use it in a playbook, specify: netscaler.adc.nsip
.
New in netscaler.adc 2.0.0
Synopsis
Configuration for ip resource.
Parameters
Parameter |
Comments |
---|---|
Advertise VIPs from Shared VLAN on Default Partition. Choices:
|
|
Base NITRO API path. Define only in case of an ADM service proxy call Default: |
|
Respond to ARP requests for this IP address. Choices:
|
|
The arp owner in a Cluster for this IP address. It can vary from 0 to 31. |
|
Respond to ARP requests for a Virtual IP (VIP) address on the basis of the states of the virtual servers associated with that VIP. Available settings function as follows: * * ONE VSERVER - The Citrix ADC responds to any ARP request for the VIP address if at least one of the associated virtual servers is in UP state. * ALL VSERVER - The Citrix ADC responds to any ARP request for the VIP address if all of the associated virtual servers are in UP state. Choices:
|
|
Use this option to enable or disable BGP on this IP address for the entity. Choices:
|
|
Decrement TTL by 1 when Choices:
|
|
Allow dynamic routing on this IP address. Specific to Subnet IP (SNIP) address. Choices:
|
|
Allow File Transfer Protocol (FTP) access to this IP address. Choices:
|
|
Allow graphical user interface (GUI) access to this IP address. Choices:
|
|
Option to push the VIP to ZebOS routing table for Kernel route redistribution through dynamic routing protocols Choices:
|
|
IP address of the gateway of the route for this VIP address. |
|
Respond to ICMP requests for this IP address. Choices:
|
|
Respond to ICMP requests for a Virtual IP (VIP) address on the basis of the states of the virtual servers associated with that VIP. Available settings function as follows: * * ONE VSERVER - The Citrix ADC responds to any ICMP request for the VIP address if at least one of the associated virtual servers is in UP state. * ALL VSERVER - The Citrix ADC responds to any ICMP request for the VIP address if all of the associated virtual servers are in UP state. * The following settings can be made for the ICMP VSERVER RESPONSE parameter on a virtual server: * If you set ICMP VSERVER RESPONSE to PASSIVE on all virtual servers, Citrix ADC always responds. * If you set ICMP VSERVER RESPONSE to ACTIVE on all virtual servers, Citrix ADC responds if even one virtual server is UP. * When you set ICMP VSERVER RESPONSE to ACTIVE on some and PASSIVE on others, Citrix ADC responds if even one virtual server set to ACTIVE is UP. Choices:
|
|
IPv4 address to create on the Citrix ADC. Cannot be changed after the IP address is created. |
|
The ID of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The IP of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The name of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The password of the managed NetScaler instance. Define only in case of an ADM service proxy call In Settings > Administration > System Configurations > Basic Settings, if you select Prompt Credentials for Instance Login, ensure to configure username and password of a managed instance. |
|
The username of the managed NetScaler instance. Define only in case of an ADM service proxy call In Settings > Administration > System Configurations > Basic Settings, if you select Prompt Credentials for Instance Login, ensure to configure username and password of a managed instance. |
|
Integer value to add to or subtract from the cost of the route advertised for the VIP address. |
|
Allow access to management applications on this IP address. Choices:
|
|
If enabled, this IP will be advertised by Citrix ADC to MPTCP enabled clients as part of ADD_ADDR option. Choices:
|
|
Subnet mask associated with the IP address. |
|
The IP address of the NetScaler ADC appliance acting as a proxy server. Define only in case of an ADM service proxy call Choices:
|
|
Option to push the SNIP subnet to ZebOS routing table for Kernel route redistribution through dynamic routing protocol. Choices:
|
|
The authentication token provided by a login operation. |
|
The password with which to authenticate to the NetScaler ADC node. |
|
Which protocol to use when accessing the nitro API objects. Choices:
|
|
The username with which to authenticate to the NetScaler ADC node. |
|
The ip address of the NetScaler ADC appliance where the nitro API calls will be made. The port can be specified with the colon (:). E.g. 192.168.1.1:555. |
|
Use this option to enable or disable OSPF on this IP address for the entity. Choices:
|
|
ID of the area in which the type1 link-state advertisements (LSAs) are to be advertised for this virtual IP (VIP) address by the OSPF protocol running on the Citrix ADC. When this parameter is not set, the VIP is advertised on all areas. |
|
Type of LSAs to be used by the OSPF protocol, running on the Citrix ADC, for advertising the route for this VIP address. Choices:
|
|
in cluster system, if the owner node is down, whether should it respond to icmp/arp Choices:
|
|
The owner node in a Cluster for this IP address. Owner node can vary from 0 to 31. If ownernode is not specified then the IP is treated as Striped IP. |
|
Block access to nonmanagement applications on this IP. This option is applicable for MIPs, SNIPs, and NSIP, and is disabled by default. Nonmanagement applications can run on the underlying Citrix ADC Free BSD operating system. Choices:
|
|
Use this option to enable or disable RIP on this IP address for the entity. Choices:
|
|
If The module will not save the configuration on the NetScaler ADC node if it made no changes. Choices:
|
|
Allow Simple Network Management Protocol (SNMP) access to this IP address. Choices:
|
|
Allow secure shell (SSH) access to this IP address. Choices:
|
|
The state of the resource being configured by the module on the NetScaler ADC node. When When When When When Choices:
|
|
Tag value for the network/host route associated with this IP. |
|
Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0. TD id 4095 is used reserved for LSN use |
|
Allow Telnet access to this IP address. Choices:
|
|
Type of the IP address to create on the Citrix ADC. Cannot be changed after the IP address is created. The following are the different types of Citrix ADC owned IP addresses: * A Subnet IP ( * A Virtual IP ( * A GSLB site IP (GSLBIP) address is associated with a GSLB site. It is not mandatory to specify a GSLBIP address when you initially configure the Citrix ADC. A GSLBIP address is used only when you create a GSLB site. * A Cluster IP ( Choices:
|
|
If Choices:
|
|
A positive integer that uniquely identifies a VMAC address for binding to this VIP address. This binding is used to set up Citrix ADCs in an active-active configuration using VRRP. |
|
Use this option to set (enable or disable) the virtual server attribute for this IP address. Choices:
|
|
Advertise the route for the Virtual IP (VIP) address on the basis of the state of the virtual servers associated with that VIP. * * ONE VSERVER - Advertise the route for the VIP address if at least one of the associated virtual servers is in UP state. * ALL VSERVER - Advertise the route for the VIP address if all of the associated virtual servers are in UP state. * When Vserver RHI Level (RHI) parameter is set to
Choices:
|
Notes
Note
For more information on using Ansible to manage NetScaler ADC Network devices see https://www.ansible.com/integrations/networks/citrixadc.
Examples
---
- name: Sample Playbook
hosts: localhost
gather_facts: false
tasks:
- name: Sample Task | nsip
delegate_to: localhost
netscaler.adc.nsip:
state: present
ipaddress: 1.1.1.1
netmask: 255.255.255.192
type: VIP
- name: Sample Task | nsip | 2
delegate_to: localhost
netscaler.adc.nsip:
state: present
ipaddress: 192.188.1.1
netmask: 255.255.255.0
vserver: DISABLED
dynamicrouting: ENABLED
- name: Sample Task | nsip | 3
delegate_to: localhost
netscaler.adc.nsip:
state: present
ipaddress: 192.179.1.1
netmask: 255.255.255.255
type: VIP
arp: DISABLED
snmp: DISABLED
hostroute: ENABLED
hostrtgw: 0.0.0.0
- name: Sample Task | nsip | 4
delegate_to: localhost
netscaler.adc.nsip:
state: present
ipaddress: 192.188.1.2
netmask: 255.255.0.0
vserver: DISABLED
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Indicates if any change is made by the module Returned: always Sample: |
|
Dictionary of before and after changes Returned: always Sample: |
|
List of differences between the actual configured object and the configuration specified in the module Returned: when changed Sample: |
|
Indicates if the module failed or not Returned: always Sample: |
|
list of logged messages by the module Returned: always Sample: |