summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-25 23:45:58 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-25 23:45:58 +0200
commit9d8e29ce867b37bdb6f8ba04f07e54b308cfcb28 (patch)
tree6783884e9b9c75b41c0802d8e4069d35a3cf9ef1
parentfix ip address conflict in mgmt vlan (diff)
use LACP for switch interconnect
-rw-r--r--inventory/host_vars/ch-sw2.yml12
-rw-r--r--inventory/host_vars/ch-sw3.yml10
2 files changed, 9 insertions, 13 deletions
diff --git a/inventory/host_vars/ch-sw2.yml b/inventory/host_vars/ch-sw2.yml
index f2f6d3df..88a7a3c7 100644
--- a/inventory/host_vars/ch-sw2.yml
+++ b/inventory/host_vars/ch-sw2.yml
@@ -1,15 +1,13 @@
---
switch_interfaces_yaml: |
- - spec: Te1/0/1
- description: "sw1"
- switchport_mode: trunk
-
- - spec: Te1/0/2
- description: "RFU"
+ - spec: Te1/0/1-2
+ channel_group: 64
+ - spec: port-channel 64
+ description: "sw0"
switchport_mode: trunk
- spec: Te1/0/3
- description: "FRU"
+ description: "RFU"
vlan: {{ network_zones.lan.vlan }}
- spec: Te1/0/4
diff --git a/inventory/host_vars/ch-sw3.yml b/inventory/host_vars/ch-sw3.yml
index cf77edbf..39dbadf6 100644
--- a/inventory/host_vars/ch-sw3.yml
+++ b/inventory/host_vars/ch-sw3.yml
@@ -1,15 +1,13 @@
---
switch_interfaces_yaml: |
- - spec: Te1/0/1
+ - spec: Te1/0/1-2
+ channel_group: 64
+ - spec: port-channel 64
description: "sw0"
switchport_mode: trunk
- - spec: Te1/0/2
- description: "RFU"
- switchport_mode: trunk
-
- spec: Te1/0/3
- description: "epimetheus"
+ description: "RFU"
vlan: {{ network_zones.lan.vlan }}
- spec: Te1/0/4