cisco.dnac.wireless_provision (2.0.7) — module

Manage WirelessProvision objects of Wireless

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

Provision wireless devices.

Updates wireless provisioning.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: provision
  cisco.dnac.wireless_provision:
    state: create  # required
    payload:  # required
    - deviceName: SomeValue  # string, required
      site: SomeValue  # string, required
      managedAPLocations:
      - SomeValue  # string
      dynamicInterfaces:
      - interfaceIPAddress: SomeValue  # string
        interfaceNetmaskInCIDR: 1  #  integer
        interfaceGateway: SomeValue  # string
        lagOrPortNumber: 1  #  integer
        vlanId: 1  #  integer
        interfaceName: SomeValue  # string
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: provision_update
  cisco.dnac.wireless_provision:
    state: update  # required
    payload:  # required
    - deviceName: SomeValue  # string, required
      managedAPLocations:
      - SomeValue  # string
      dynamicInterfaces:
      - interfaceIPAddress: SomeValue  # string
        interfaceNetmaskInCIDR: 1  #  integer
        interfaceGateway: SomeValue  # string
        lagOrPortNumber: 1  #  integer
        vlanId: 1  #  integer
        interfaceName: SomeValue  # string

Inputs

    
payload:
    description:
    - An object to send in the Request body.
    elements: dict
    required: true
    suboptions:
      deviceName:
        description:
        - It is the wireless provision's deviceName.
        required: true
        type: str
      dynamicInterfaces:
        description:
        - It is the wireless provision's dynamicInterfaces.
        elements: dict
        suboptions:
          interfaceGateway:
            description:
            - It is the wireless provision's interfaceGateway.
            type: str
          interfaceIPAddress:
            description:
            - It is the wireless provision's interfaceIPAddress.
            type: str
          interfaceName:
            description:
            - It is the wireless provision's interfaceName.
            type: str
          interfaceNetmaskInCIDR:
            description:
            - It is the wireless provision's interfaceNetmaskInCIDR.
            type: int
          lagOrPortNumber:
            description:
            - It is the wireless provision's lagOrPortNumber.
            type: int
          vlanId:
            description:
            - It is the wireless provision's vlanId.
            type: int
        type: list
      managedAPLocations:
        description:
        - It is the wireless provision's managedAPLocations.
        type: list
      site:
        description:
        - It is the wireless provision's site.
        required: true
        type: str
    type: list

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: wireless.provision
  type: str

See also