racampos.dnac.sda_device (0.0.1) — module

Manage SdaDevice objects of Sda

| "added in version" 1.0 of racampos.dnac"

Authors: first last (@GitHubID)

preview | supported by community

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install racampos.dnac:==0.0.1


Add to requirements.yml

  collections:
    - name: racampos.dnac
      version: 0.0.1

Description

Get device info from SDA Fabric.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_device_info
  cisco.dnac.sda_device:
    state: query  # required
    device_ipaddress: SomeValue  # string, required
  register: query_result

Inputs

    
device_ipaddress:
    description:
    - Device IP Address.
    required: true
    type: str

Outputs

get_device_info:
  contains: null
  description:
    description: Description, property of the response body.
    returned: always
    sample: <description>
    type: str
  deviceManagementIpAddress:
    description: Device Management Ip Address, property of the response body.
    returned: always
    sample: <devicemanagementipaddress>
    type: str
  name:
    description: Name, property of the response body.
    returned: always
    sample: <name>
    type: str
  returned: always
  roles:
    description: Roles, property of the response body (list of strings).
    returned: always
    type: list
  siteHierarchy:
    description: Site Hierarchy, property of the response body.
    returned: always
    sample: <sitehierarchy>
    type: str
  status:
    description: Status, property of the response body.
    returned: always
    sample: <status>
    type: str
  type: dict

See also