racampos.dnac.network_device_register (0.0.1) — module

Manage NetworkDeviceRegister objects of Devices

| "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

Registers a device for WSA notification.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: register_device_for_wsa
  cisco.dnac.network_device_register:
    state: query  # required
    macaddress: SomeValue  # string
    serial_number: SomeValue  # string
  register: query_result

Inputs

    
macaddress:
    description:
    - Mac addres of the device.
    type: str

serial_number:
    description:
    - Serial number of the device.
    type: str

Outputs

register_device_for_wsa:
  contains: null
  description: Registers a device for WSA notification.
  response:
    contains:
      macAddress:
        description: It is the network device register's macAddress.
        returned: always
        sample: <macaddress>
        type: str
      modelNumber:
        description: It is the network device register's modelNumber.
        returned: always
        sample: <modelnumber>
        type: str
      name:
        description: It is the network device register's name.
        returned: always
        sample: <name>
        type: str
      serialNumber:
        description: It is the network device register's serialNumber.
        returned: always
        sample: <serialnumber>
        type: str
      tenantId:
        description: It is the network device register's tenantId.
        returned: always
        sample: <tenantid>
        type: str
    description: Response, property of the response body.
    returned: always
    type: dict
  returned: always
  type: dict
  version:
    description: Version, property of the response body.
    returned: always
    sample: '1.0'
    type: str

See also