-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from madhansansel/main
SDA workflow manger modules
- Loading branch information
Showing
37 changed files
with
10,474 additions
and
1,931 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
- hosts: dnac_servers | ||
vars_files: | ||
- credentials.yml | ||
gather_facts: no | ||
connection: local | ||
tasks: | ||
- name: Create the SDA fabric transits with transit_type as IP_BASED_TRANSIT | ||
cisco.dnac.fabric_transits_workflow_manager: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
dnac_version: "{{ dnac_version }}" | ||
dnac_log: True | ||
dnac_log_level: DEBUG | ||
dnac_log_append: True | ||
dnac_log_file_path: "{{ dnac_log_file_path }}" | ||
state: merged | ||
config_verify: True | ||
config: | ||
- sda_fabric_transits: | ||
- name: Sample1 | ||
transit_type: IP_BASED_TRANSIT # IP_BASED_TRANSIT, SDA_LISP_PUB_SUB_TRANSIT, SDA_LISP_BGP_TRANSIT | ||
ip_transit_settings: # For IP_BASED_TRANSIT | ||
routing_protocol_name: BGP # only bgp | ||
autonomous_system_number: 1234 # between 1 and 4294967295 | ||
|
||
- name: Create the SDA fabric transits with transit_type as SDA_LISP_BGP_TRANSIT | ||
cisco.dnac.fabric_transits_workflow_manager: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
dnac_version: "{{ dnac_version }}" | ||
dnac_log: True | ||
dnac_log_level: DEBUG | ||
dnac_log_append: True | ||
dnac_log_file_path: "{{ dnac_log_file_path }}" | ||
state: merged | ||
config_verify: True | ||
config: | ||
- sda_fabric_transits: | ||
- name: Sample2 | ||
transit_type: SDA_LISP_BGP_TRANSIT # IP_BASED_TRANSIT, SDA_LISP_PUB_SUB_TRANSIT, SDA_LISP_BGP_TRANSIT | ||
sda_transit_settings: # For SDA_LISP_BGP_TRANSIT and SDA_LISP_PUB_SUB_TRANSIT | ||
control_plane_network_device_ips: # 2 for SDA_LISP_BGP_TRANSIT and 4 for SDA_LISP_PUB_SUB_TRANSIT | ||
- 10.0.0.1 | ||
- 10.0.0.2 | ||
|
||
- name: Create the SDA fabric transits with transit_type as SDA_LISP_PUB_SUB_TRANSIT | ||
cisco.dnac.fabric_transits_workflow_manager: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
dnac_version: "{{ dnac_version }}" | ||
dnac_log: True | ||
dnac_log_level: DEBUG | ||
dnac_log_append: True | ||
dnac_log_file_path: "{{ dnac_log_file_path }}" | ||
state: merged | ||
config_verify: True | ||
config: | ||
- sda_fabric_transits: | ||
- name: Sample3 | ||
transit_type: SDA_LISP_PUB_SUB_TRANSIT # IP_BASED_TRANSIT, SDA_LISP_PUB_SUB_TRANSIT, SDA_LISP_BGP_TRANSIT | ||
sda_transit_settings: # For SDA_LISP_BGP_TRANSIT and SDA_LISP_PUB_SUB_TRANSIT | ||
is_multicast_over_transit_enabled: True # only for SDA_LISP_PUB_SUB_TRANSIT | ||
control_plane_network_device_ips: # 2 for SDA_LISP_BGP_TRANSIT and 4 for SDA_LISP_PUB_SUB_TRANSIT | ||
- 11.0.0.1 | ||
- 11.0.0.2 | ||
- 11.0.0.3 | ||
- 11.0.0.4 | ||
|
||
- name: Update the SDA fabric transits with transit_type as SDA_LISP_BGP_TRANSIT | ||
cisco.dnac.fabric_transits_workflow_manager: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
dnac_version: "{{ dnac_version }}" | ||
dnac_log: True | ||
dnac_log_level: DEBUG | ||
dnac_log_append: True | ||
dnac_log_file_path: "{{ dnac_log_file_path }}" | ||
state: merged | ||
config_verify: True | ||
config: | ||
- sda_fabric_transits: | ||
- name: Sample2 | ||
transit_type: SDA_LISP_BGP_TRANSIT # IP_BASED_TRANSIT, SDA_LISP_PUB_SUB_TRANSIT, SDA_LISP_BGP_TRANSIT | ||
sda_transit_settings: # For SDA_LISP_BGP_TRANSIT and SDA_LISP_PUB_SUB_TRANSIT | ||
control_plane_network_device_ips: # 2 for SDA_LISP_BGP_TRANSIT and 4 for SDA_LISP_PUB_SUB_TRANSIT | ||
- 10.0.0.3 | ||
- 10.0.0.4 | ||
|
||
- name: Update the SDA fabric transits with transit_type as SDA_LISP_PUB_SUB_TRANSIT | ||
cisco.dnac.fabric_transits_workflow_manager: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
dnac_version: "{{ dnac_version }}" | ||
dnac_log: True | ||
dnac_log_level: DEBUG | ||
dnac_log_append: True | ||
dnac_log_file_path: "{{ dnac_log_file_path }}" | ||
state: merged | ||
config_verify: True | ||
config: | ||
- sda_fabric_transits: | ||
- name: Sample3 | ||
transit_type: SDA_LISP_PUB_SUB_TRANSIT # IP_BASED_TRANSIT, SDA_LISP_PUB_SUB_TRANSIT, SDA_LISP_BGP_TRANSIT | ||
sda_transit_settings: # For SDA_LISP_BGP_TRANSIT and SDA_LISP_PUB_SUB_TRANSIT | ||
is_multicast_over_transit_enabled: True # only for SDA_LISP_PUB_SUB_TRANSIT | ||
control_plane_network_device_ips: # 2 for SDA_LISP_BGP_TRANSIT and 4 for SDA_LISP_PUB_SUB_TRANSIT | ||
- 11.0.0.5 | ||
- 11.0.0.6 | ||
- 11.0.0.7 | ||
- 11.0.0.8 | ||
|
||
- name: Delete the SDA fabric transits | ||
cisco.dnac.fabric_transits_workflow_manager: | ||
dnac_host: "{{ dnac_host }}" | ||
dnac_port: "{{ dnac_port }}" | ||
dnac_username: "{{ dnac_username }}" | ||
dnac_password: "{{ dnac_password }}" | ||
dnac_verify: "{{ dnac_verify }}" | ||
dnac_version: "{{ dnac_version }}" | ||
dnac_debug: "{{ dnac_debug }}" | ||
dnac_log: True | ||
dnac_log_level: DEBUG | ||
dnac_log_append: True | ||
dnac_log_file_path: "{{ dnac_log_file_path }}" | ||
state: merged | ||
config_verify: True | ||
config: | ||
- sda_fabric_transits: | ||
- name: Sample1 | ||
- name: Sample2 | ||
- name: Sample3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.