1 parent 46c8b7e commit 570ac25Copy full SHA for 570ac25
1 file changed
ansible/inventory/host_vars/mk-sw-01.yml
@@ -1,6 +1,4 @@
1
---
2
-# CSS318-16G-2S+ speaks the full-SwOS HTTP schema despite its "CSS" name, which
3
-# the module would otherwise misdetect as SwOS Lite. Force it.
4
swos_platform: swos
5
6
swos_vlan_group: [1, 20, 30]
@@ -10,7 +8,7 @@ swos_config:
10
8
trunk_vlans: "{{ swos_vlan_group }}"
11
9
12
port_config:
13
- 1: {mode: trunk, native_vlan: 1, vlan_group: trunk_vlans}
+ 1: {mode: access, vlan: 1}
14
2: {mode: access, vlan: 1}
15
3: {mode: access, vlan: 20}
16
4: {mode: access, vlan: 1}
@@ -25,4 +23,10 @@ swos_config:
25
23
13: {mode: access, vlan: 1}
26
24
14: {mode: access, vlan: 1}
27
15: {mode: access, vlan: 1}
28
- 16: {mode: trunk, native_vlan: 1, vlan_group: trunk_vlans}
+ 16:
+ {mode: trunk, native_vlan: 1, vlan_group: trunk_vlans, vlan_mode: Strict}
+
29
+ vlans:
30
+ - {vlan_id: 1, learning: true}
31
+ - {vlan_id: 20, learning: true}
32
+ - {vlan_id: 30, learning: true}
0 commit comments