Skip to content

Commit

Permalink
Merge pull request #29 from cisco-open/vmanage_version
Browse files Browse the repository at this point in the history
Fail UX2.0 playbooks if vmanage version is lower than required
  • Loading branch information
przsus authored Nov 28, 2024
2 parents 040daa8 + d6e88c6 commit 62c3c30
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ mock_roles:
- cisco.catalystwan.sync_pnp_edges
- cisco.catalystwan.activate_edges
- cisco.catalystwan.vmanage_mode
- cisco.catalystwan.vmanage_version
- cisco.catalystwan.health_checks
- cisco.catalystwan.config_groups
- cisco.catalystwan.feature_profile_builder
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: cisco
name: sdwan
version: 0.3.4
version: 0.3.5
readme: README.md
authors:
- Arkadiusz Cichon <acichon@cisco.com>
Expand Down
15 changes: 12 additions & 3 deletions playbooks/aws/ux2_full_deploy_and_configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,26 @@


# Attach templates with running-config for all devices
- name: Set vmanage mode for all devices
- name: Set vmanage mode for controllers
hosts: localhost
gather_facts: false
vars_files:
- ./dev_config_aws.yml
- "{{ results_path_controllers }}"
vars:
edge_instances: "{{ deployed_edge_instances }}"
roles:
- cisco.catalystwan.vmanage_mode

- name: Check if vManage version matches requirements
hosts: localhost
gather_facts: false
vars_files:
- ./dev_config_aws.yml
- "{{ results_path_controllers }}"
vars:
min_version_required: "20.13.1"
roles:
- cisco.catalystwan.vmanage_version

- name: Build feature profile data
hosts: localhost
gather_facts: false
Expand Down
11 changes: 11 additions & 0 deletions playbooks/azure/ux2_full_deploy_and_configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@
roles:
- cisco.catalystwan.feature_profile_builder

- name: Check if vManage version matches requirements
hosts: localhost
gather_facts: false
vars_files:
- ./azure_sdwan_config.yml
- "{{ results_path_controllers }}"
vars:
min_version_required: "20.13.1"
roles:
- cisco.catalystwan.vmanage_version

- name: Create Config Groups
hosts: localhost
gather_facts: false
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ collections:
- name: azure.azcollection
version: 1.19.0
- name: cisco.catalystwan
version: 0.3.1
version: 0.3.2
- name: cisco.sdwan_deployment
version: 0.3.3

0 comments on commit 62c3c30

Please sign in to comment.