DTC Topology
Use the nios_dtc_topology
module to create, update, or remove instances of the DTC topology object from Infoblox NIOS topologies. A topology is a list of ordered topology rules. Topology rules map client IP addresses to pools or resources.
The following table describes the parameters you can define in the nios_dtc_topology
module:
Parameter | Required/Optional | Description |
---|---|---|
| Required | Specifies the name of the DTC topology that is displayed. |
| Optional | Defines the rules for topology.
|
| Optional | Specifies extensible attributes for the DTC topology object. |
| Optional | Specifies the state of the DTC topology instance in NIOS.
|
| Optional | Describes the DTC topology object. |
| Required | Defines the details of the connection:
For information on additional fields you can define, see the list of subparameters in the NIOS Modules for Ansible Collections topic. |
| Required | Specifies the connection type. |
Examples
name: Configure a DTC Topology
infoblox.nios_modules.nios_dtc_topology:
name: a_topology
rules:
- dest_type: POOL
destination_link: web_pool1
return_type: REGULAR
sources:
- source_op: IS
source_type: EA0
source_value: DC1
- dest_type: POOL
destination_link: web_pool2
return_type: REGULAR
sources:
- source_op: IS
source_type: EA0
source_value: DC2
state: present
provider:
host: <nios_hostname_or_hostip>
username: <nios_username>
password: <nios_password>
connection: local
name: Add a comment to a DTC topology
infoblox.nios_modules.nios_dtc_topology:
name: a_topology
comment: this is a test comment
state: present
provider:
host: <nios_hostname_or_hostip>
username: <nios_username>
password: <nios_password>
connection: local
name: Remove a DTC Topology from the system
infoblox.nios_modules.nios_dtc_topology:
name: a_topology
state: absent
provider:
host: <nios_hostname_or_hostip>
username: <nios_username>
password: <nios_password>
connection: local