cisco.catalystcenter.iot_non_fabric_rep_rings module -- Resource module for Iot Non Fabric Rep Rings
Note
This module is part of the cisco.catalystcenter collection (version 2.11.0).
To install it, use: ansible-galaxy collection install cisco.catalystcenter.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cisco.catalystcenter.iot_non_fabric_rep_rings.
New in cisco.catalystcenter 2.2.0
Synopsis
Manage operation create of the resource Iot Non Fabric Rep Rings.
This API configures a REP ring on NON-FABRIC deployment. The input payload contains the following fields-.
Note
This module has a corresponding action plugin.
Requirements
The below requirements are needed on the host that executes this module.
catalystcentersdk >= 3.2.3.0.0
python >= 3.12
Parameters
Parameter |
Comments |
|---|---|
Flag for Cisco Catalyst Center SDK to enable debugging. Choices: |
|
The Cisco Catalyst Center hostname. |
|
The Cisco Catalyst Center password to authenticate. |
|
The Cisco Catalyst Center port. Default: :ansible-option-default:`443` |
|
The Cisco Catalyst Center username to authenticate. Default: :ansible-option-default:`"admin"` |
|
Flag to enable or disable SSL certificate verification. Choices: |
|
Informs the SDK which version of Cisco Catalyst Center to use. Default: :ansible-option-default:`"3.1.6.0"` |
|
FABRIC as well as NON_FABRIC deployments. |
|
REP ring identifier. |
|
MACsec configuration for REP Ring create requests (PSK / SHOULD_SECURE only). |
|
MACsec access control mode. Only `SHOULD_SECURE` is currently supported for PSK Encryption mode. |
|
MACsec cipher suite - `GCM_AES_128` or `GCM_AES_256`. |
|
MACsec encryption mode. Only `PSK` (Pre-Shared Key) is currently supported. |
|
List of MACsec keys for the keychain (maximum 12 keys). |
|
Cryptographic algorithm `AES_128_CMAC` (requires 32 hex digit passPhrase) or `AES_256_CMAC`. |
|
Unique integer identifier for the key in the keychain. |
|
MACsec pre-shared key in cleartext hex. Must be exactly 32 hex digits for `AES_128_CMAC` or 64 hex digits for `AES_256_CMAC`. |
|
Activation date/time for this key in HH mm ss dd MMM yyyy format (e.g., 00 00 00 09 Apr 2026). Lifetime is set to infinite. |
|
Network device id of the REP ring member. It is the `instanceUuid` attribute in the response of `/dna/intent/api/v1/networkDevices` API. |
|
REP segment is a chain of ports connected to each other and configured with a segment ID. |
|
Summary of REP ring members that either do not have REP ZTP supported and those that have REP ZTP supported but not enabled. |
|
Discovered member nodes in the REP ring. |
|
Network device id of the ring member. |
|
Name of the ring member. |
|
Interface name of the node. |
|
Interface name of the node. |
|
REP ZTP status for Port 1. |
|
REP ZTP status for Port 2. |
|
Order of the node in the REP ring. |
|
Unique name of REP ring configured. |
|
Hostname of the root node neighbor device. |
|
Root node network device id of the REP ring member. It is the `instanceUuid` attribute in the response of `/dna/intent/api/v1/networkDevices` API. |
|
Status of the previous REP ring operation. |
|
Flag for Cisco Catalyst Center SDK to enable the validation of request bodies against a JSON schema. Choices: |
Notes
Note
SDK Method used are industrial_configuration.IndustrialConfiguration.configure_a_rep_ring_on_non_fabric_deployment,
Paths used are post /dna/intent/api/v1/iot/nonFabric/repRings,
Does not support
check_modeThe plugin runs on the control node and does not use any ansible connection plugins,
but instead uses the embedded connection manager from Cisco CATALYST SDK
Requires Python >= 3.10, matching the controller Python versions supported by the collection's minimum ansible-core version (see the collection README for the current ansible-core / Python compatibility range)
See Also
See also
- Cisco Catalyst Center documentation for Industrial Configuration ConfigureAREPRingOnNONFABRICDeployment
Complete reference of the ConfigureAREPRingOnNONFABRICDeployment API.
Examples
---
- name: Create
cisco.catalystcenter.iot_non_fabric_rep_rings:
catalystcenter_host: "{{catalystcenter_host}}"
catalystcenter_username: "{{catalystcenter_username}}"
catalystcenter_password: "{{catalystcenter_password}}"
catalystcenter_verify: "{{catalystcenter_verify}}"
catalystcenter_port: "{{catalystcenter_port}}"
catalystcenter_version: "{{catalystcenter_version}}"
catalystcenter_debug: "{{catalystcenter_debug}}"
deploymentMode: string
id: string
macsecConfig:
accessControlMode: string
ciphersuite: string
encryptionMode: string
keys:
- cryptoAlgo: string
id: 0
passPhrase: string
startTime: string
networkDeviceId: string
repSegmentId: 0
repZtpMsg: string
ringMembers:
- networkDeviceId: string
nodeName: string
portName1: string
portName2: string
portRepZtpStatus1: string
portRepZtpStatus2: string
ringOrder: 0
ringName: string
rootNeighbourNetworkDeviceIds:
- string
rootNetworkDeviceId: string
status: string
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
A dictionary or list with the response returned by the Cisco Catalyst Center Python SDK Returned: always Sample: :ansible-rv-sample-value:`{"response": {"taskId": "string", "url": "string"}, "version": "string"}` |