Delete SPB service Client Backbone
Description
This Ansible playbook deletes an SPB service from all client backbone switches. It retrieves current SAP port configurations via SSH, and parses the output to identify tagged ports. It validates that expected WiFi, firewall, and site link ports are correctly tagged, and fails if mismatches or unexpected ports are found. If all checks pass, it generates and stores the necessary commands to disable and remove the SPB service from each switch. The playbook emphasizes validation before deletion to ensure network consistency and prevent misconfiguration.
Credentials
- Backbone Switch
- sys_ansible_local
Input
| Variable | Required | Description | Values |
|---|---|---|---|
vlan_id |
Y | VLAN ID | integer 1..4096 |
is_tagged_to_wifi |
Y | Is currently tagged to wifi controllers | true or false |
is_tagged_to_firewall |
Y | Is currently tagged to firewalls | true or false |
site_link_switch_fqdn |
N | FQDN of first backbone switch to client site | name-swnn.gentgrp.gent.be |
site_link_port |
N | Port of first backbone switch to client site | n/n/n |
site_redundant_link_switch_fqdn |
N | FQDN of second backbone switch to client site | name-swnn.gentgrp.gent.be |
site_redundant_link_port |
N | Port of second backbone switch to client site | n/n/n |
dry_run |
Y | Dry Run | true (default) or false |
Output
None