cisco.dnac.network_device_functional_capability (2.0.7) — module

Manage NetworkDeviceFunctionalCapability objects of Devices

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

Returns the functional-capability for given devices.

Returns functional capability with given Id.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_functional_capability_for_devices
  cisco.dnac.network_device_functional_capability:
    state: query  # required
    device_id: SomeValue  # string, required
    function_name: SomeValue  # string
  register: nm_get_functional_capability_for_devices
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_functional_capability_by_id
  cisco.dnac.network_device_functional_capability:
    state: query  # required
    id: SomeValue  # string, required
  register: nm_get_functional_capability_by_id

Inputs

    
id:
    description:
    - Functional Capability UUID.
    required: true
    type: str

device_id:
    description:
    - 'Accepts comma separated deviceid''s and return list of functional-capabilities
      for the given id''s. If invalid or not-found id''s are provided, null entry will
      be returned in the list.

      '
    required: true
    type: str

function_name:
    description:
    - FunctionName query parameter.
    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: devices.get_functional_capability_by_id
  type: str

See also