cisco / cisco.dnac / 2.0.7 / module / sda_fabric_site Manage SdaFabricSite objects of Sda | "added in version" 1.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.sda_fabric_site (2.0.7) — module
Install with ansible-galaxy collection install cisco.dnac:==2.0.7
collections: - name: cisco.dnac version: 2.0.7
Delete Site from SDA Fabric.
Get Site info from SDA Fabric.
Add Site in SDA Fabric.
- name: delete_site cisco.dnac.sda_fabric_site: state: delete # required site_name_hierarchy: SomeValue # string, required
- name: get_site cisco.dnac.sda_fabric_site: state: query # required site_name_hierarchy: SomeValue # string, required register: nm_get_site
- name: add_site cisco.dnac.sda_fabric_site: state: create # required payload: # required - fabricName: SomeValue # string siteNameHierarchy: SomeValue # string
payload: description: - An object to send in the Request body. - Required for state create. elements: dict suboptions: fabricName: description: - It is the sda fabric site's fabricName. type: str siteNameHierarchy: description: - It is the sda fabric site's siteNameHierarchy. type: str type: list site_name_hierarchy: description: - Site Name Hierarchy. required: true type: str
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: sda.add_site type: str