cisco.dnac.sda_fabric (2.0.7) — module

Manage SdaFabric objects of Sda

| "added in version" 1.0.0 of cisco.dnac"

Authors: Rafael Campos (@racampos)

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install cisco.dnac:==2.0.7


Add to requirements.yml

  collections:
    - name: cisco.dnac
      version: 2.0.7

Description

Get SDA Fabric Info.

Delete SDA Fabric.

Add SDA Fabric.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_sda_fabric_info
  cisco.dnac.sda_fabric:
    state: query  # required
    fabric_name: SomeValue  # string, required
  register: nm_get_sda_fabric_info
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: delete_sda_fabric
  cisco.dnac.sda_fabric:
    state: delete  # required
    fabric_name: SomeValue  # string, required
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: add_fabric
  cisco.dnac.sda_fabric:
    state: create  # required
    payload:  # required
    - fabricName: SomeValue  # string

Inputs

    
payload:
    description:
    - An object to send in the Request body.
    - Required for state create.
    elements: dict
    suboptions:
      fabricName:
        description:
        - It is the sda fabric's fabricName.
        type: str
    type: list

fabric_name:
    description:
    - Fabric Name.
    required: true
    type: str

Outputs

dnac_response:
  description: A dictionary with the response returned by the DNA Center Python SDK
  returned: always
  sample:
    response: 29
    version: '1.0'
  type: dict
missing_params:
  description: Provided arguments do not comply with the schema of the DNA Center
    Python SDK function
  returned: when the function request schema is not satisfied
  sample: null
  type: list
sdk_function:
  description: The DNA Center SDK function used to execute the task
  returned: always
  sample: sda.add_fabric
  type: str

See also