racampos / racampos.dnac / 0.0.1 / module / sda_fabric_site Manage SdaFabricSite 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.racampos.dnac.sda_fabric_site (0.0.1) — module
Install with ansible-galaxy collection install racampos.dnac:==0.0.1
collections: - name: racampos.dnac version: 0.0.1
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: query_result
- 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
add_site: contains: null description: description: Description, property of the response body. returned: success sample: <description> type: str executionStatusUrl: description: Execution Status Url, property of the response body. returned: success sample: <executionstatusurl> type: str returned: success status: description: Status, property of the response body. returned: success sample: <status> type: str type: dict delete_site: contains: null description: description: Description, property of the response body. returned: success sample: <description> type: str executionStatusUrl: description: Execution Status Url, property of the response body. returned: success sample: <executionstatusurl> type: str returned: success status: description: Status, property of the response body. returned: success sample: <status> type: str type: dict get_site: contains: null description: description: Description, property of the response body. returned: always sample: <description> type: str executionStatusUrl: description: Execution Status Url, property of the response body. returned: always sample: <executionstatusurl> type: str returned: always status: description: Status, property of the response body. returned: always sample: <status> type: str type: dict