racampos.dnac.wireless_provision (0.0.1) — module

Manage WirelessProvision objects of Wireless

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

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

provision:
  contains: null
  description: Provision wireless devices.
  executionId:
    description: Execution Id, property of the response body.
    returned: success
    sample: <executionid>
    type: str
  executionUrl:
    description: Execution Url, property of the response body.
    returned: success
    sample: <executionurl>
    type: str
  provisioningTasks:
    contains:
      failed:
        description: It is the wireless provision's failed.
        returned: success
        type: list
      success:
        description: It is the wireless provision's success.
        returned: success
        type: list
    description: Provisioning Tasks, property of the response body.
    returned: success
    type: dict
  returned: success
  type: dict
provision_update:
  contains: null
  description: Updates wireless provisioning.
  executionId:
    description: Execution Id, property of the response body.
    returned: changed
    sample: <executionid>
    type: str
  executionUrl:
    description: Execution Url, property of the response body.
    returned: changed
    sample: <executionurl>
    type: str
  provisioningTasks:
    contains:
      failed:
        description: It is the wireless provision's failed.
        returned: changed
        type: list
      success:
        description: It is the wireless provision's success.
        returned: changed
        type: list
    description: Provisioning Tasks, property of the response body.
    returned: changed
    type: dict
  returned: changed
  type: dict

See also