racampos.dnac.sda_virtual_network (0.0.1) — module

Manage SdaVirtualNetwork 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 virtual network (VN) from SDA Fabric.

Delete virtual network (VN) from SDA Fabric.

Add virtual network (VN) in SDA Fabric.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_vn
  cisco.dnac.sda_virtual_network:
    state: query  # required
    site_name_hierarchy: SomeValue  # string, required
    virtual_network_name: SomeValue  # string, required
  register: query_result
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  
- name: delete_vn
  cisco.dnac.sda_virtual_network:
    state: delete  # required
    site_name_hierarchy: SomeValue  # string, required
    virtual_network_name: SomeValue  # string, required
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  
- name: add_vn
  cisco.dnac.sda_virtual_network:
    state: create  # required
    payload:  # required
    - virtualNetworkName: SomeValue  # string
      siteNameHierarchy: SomeValue  # string

Inputs

    
payload:
    description:
    - An object to send in the Request body.
    - Required for state create.
    elements: dict
    suboptions:
      siteNameHierarchy:
        description:
        - It is the sda virtual network's siteNameHierarchy.
        type: str
      virtualNetworkName:
        description:
        - It is the sda virtual network's virtualNetworkName.
        type: str
    type: list

site_name_hierarchy:
    description:
    - SiteNameHierarchy query parameter.
    required: true
    type: str

virtual_network_name:
    description:
    - VirtualNetworkName query parameter.
    required: true
    type: str

Outputs

add_vn:
  contains: null
  description:
    description: Description, property of the response body.
    returned: success
    sample: <description>
    type: str
  deviceManagementIpAddress:
    description: Device Management Ip Address, property of the response body.
    returned: success
    sample: <devicemanagementipaddress>
    type: str
  name:
    description: Name, property of the response body.
    returned: success
    sample: <name>
    type: str
  returned: success
  roles:
    description: Roles, property of the response body (list of strings).
    returned: success
    type: list
  siteHierarchy:
    description: Site Hierarchy, property of the response body.
    returned: success
    sample: <sitehierarchy>
    type: str
  status:
    description: Status, property of the response body.
    returned: success
    sample: <status>
    type: str
  type: dict
delete_vn:
  contains: null
  description:
    description: Description, property of the response body.
    returned: success
    sample: <description>
    type: str
  deviceManagementIpAddress:
    description: Device Management Ip Address, property of the response body.
    returned: success
    sample: <devicemanagementipaddress>
    type: str
  name:
    description: Name, property of the response body.
    returned: success
    sample: <name>
    type: str
  returned: success
  roles:
    description: Roles, property of the response body (list of strings).
    returned: success
    type: list
  siteHierarchy:
    description: Site Hierarchy, property of the response body.
    returned: success
    sample: <sitehierarchy>
    type: str
  status:
    description: Status, property of the response body.
    returned: success
    sample: <status>
    type: str
  type: dict
get_vn:
  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