Rozdělení do skupin DSA a swconfig, úprava role network
This commit is contained in:
@@ -1,24 +1,6 @@
|
||||
device_ip_address: "10.11.99.4"
|
||||
device_hostname: "ap-outdoor"
|
||||
|
||||
# network_switch_vlans:
|
||||
# - id: "@switch_vlan[1]"
|
||||
# vlan: "128"
|
||||
# ports: "0t 1t 2 3t 4 5"
|
||||
# description: "hoste"
|
||||
# - id: "@switch_vlan[2]"
|
||||
# vlan: "136"
|
||||
# ports: "0t 1t"
|
||||
# description: "studenti"
|
||||
# - id: "@switch_vlan[3]"
|
||||
# vlan: "144"
|
||||
# ports: "0t 1t 3t"
|
||||
# description: "ucitele"
|
||||
# - id: "@switch_vlan[4]"
|
||||
# vlan: "152"
|
||||
# ports: "0t 1t"
|
||||
# description: "free"
|
||||
|
||||
# wireless_devices:
|
||||
# - id: ""
|
||||
# channel: "6"
|
||||
|
||||
@@ -1,52 +1,36 @@
|
||||
device_ip_address: "10.11.99.2"
|
||||
device_hostname: ""
|
||||
device_hostname: "ap-pokoj"
|
||||
|
||||
network_dsa_switch_vlans:
|
||||
- id: "@switch_vlan[1]"
|
||||
vlan: "128"
|
||||
ports: "0t 6t 1 2 3 4"
|
||||
description: "hoste"
|
||||
- id: "@switch_vlan[2]"
|
||||
vlan: "129"
|
||||
ports: "0t 6t"
|
||||
description: "hoste_wifi"
|
||||
- id: "@switch_vlan[3]"
|
||||
vlan: "136"
|
||||
ports: "0t 6t"
|
||||
description: "studenti_lan"
|
||||
- id: "@switch_vlan[4]"
|
||||
vlan: "137"
|
||||
ports: "0t 6t"
|
||||
description: "studenti_wifi"
|
||||
- id: "@switch_vlan[5]"
|
||||
vlan: "144"
|
||||
ports: "0t 6t"
|
||||
description: "ucitele_lan"
|
||||
- id: "@switch_vlan[6]"
|
||||
vlan: "145"
|
||||
ports: "0t 6t"
|
||||
description: "ucitele_wifi"
|
||||
- id: "@switch_vlan[7]"
|
||||
vlan: "152"
|
||||
ports: "0t 6t"
|
||||
description: "free_wifi"
|
||||
# network_switch_vlans:
|
||||
# - id: "@switch_vlan[1]"
|
||||
# vlan: "128"
|
||||
# ports: "0t 1t 2 3t 4 5"
|
||||
# description: "hoste"
|
||||
# - id: "@switch_vlan[2]"
|
||||
# vlan: "136"
|
||||
# ports: "0t 1t"
|
||||
# description: "studenti"
|
||||
# - id: "@switch_vlan[3]"
|
||||
# vlan: "144"
|
||||
# ports: "0t 1t 3t"
|
||||
# description: "ucitele"
|
||||
# - id: "@switch_vlan[4]"
|
||||
# vlan: "152"
|
||||
# ports: "0t 1t"
|
||||
# description: "free"
|
||||
network_devices_append:
|
||||
- name: "br0"
|
||||
state: "present"
|
||||
type: "bridge"
|
||||
ports: ["wan", "lan1", "lan2", "lan3"]
|
||||
network_bridge_vlan_filtering:
|
||||
- vlan: "99"
|
||||
device: "{{ device_bridge_port }}"
|
||||
ports: ["wan:t"]
|
||||
- vlan: "128"
|
||||
device: "{{ device_bridge_port }}"
|
||||
ports: ["wan:t", "lan1", "lan2:t"]
|
||||
- vlan: "129"
|
||||
device: "{{ device_bridge_port }}"
|
||||
ports: ["wan:t", "lan2:t"]
|
||||
- vlan: "136"
|
||||
device: "{{ device_bridge_port }}"
|
||||
ports: ["wan:t", "lan2:t"]
|
||||
- vlan: "137"
|
||||
device: "{{ device_bridge_port }}"
|
||||
ports: ["wan:t", "lan2:t"]
|
||||
- vlan: "144"
|
||||
device: "{{ device_bridge_port }}"
|
||||
ports: ["wan:t", "lan2:t"]
|
||||
- vlan: "145"
|
||||
device: "{{ device_bridge_port }}"
|
||||
ports: ["wan:t", "lan2:t"]
|
||||
- vlan: "152"
|
||||
device: "{{ device_bridge_port }}"
|
||||
ports: ["wan:t", "lan2:t"]
|
||||
|
||||
# wireless_devices:
|
||||
# - id: ""
|
||||
|
||||
@@ -1,39 +1,28 @@
|
||||
device_ip_address: "10.11.99.3"
|
||||
device_hostname: "ap-predsin"
|
||||
|
||||
network_swconfig_switch_vlans:
|
||||
- id: "@switch_vlan[1]"
|
||||
vlan: "128"
|
||||
network_swconfig:
|
||||
- vlan: "128"
|
||||
ports: "0t 1t 2"
|
||||
description: "hoste_lan"
|
||||
- id: "@switch_vlan[2]"
|
||||
vlan: "129"
|
||||
- vlan: "129"
|
||||
ports: "0t 1t"
|
||||
description: "hoste_wifi"
|
||||
- id: "@switch_vlan[3]"
|
||||
vlan: "136"
|
||||
- vlan: "136"
|
||||
ports: "0t 1t"
|
||||
description: "studenti_lan"
|
||||
- id: "@switch_vlan[4]"
|
||||
vlan: "137"
|
||||
- vlan: "137"
|
||||
ports: "0t 1t"
|
||||
description: "studenti_wifi"
|
||||
- id: "@switch_vlan[5]"
|
||||
vlan: "144"
|
||||
- vlan: "144"
|
||||
ports: "0t 1t"
|
||||
description: "ucitele_lan"
|
||||
- id: "@switch_vlan[6]"
|
||||
vlan: "145"
|
||||
- vlan: "145"
|
||||
ports: "0t 1t"
|
||||
description: "ucitele_wifi"
|
||||
- id: "@switch_vlan[7]"
|
||||
vlan: "152"
|
||||
- vlan: "152"
|
||||
ports: "0t 1t"
|
||||
description: "free_wifi"
|
||||
- id: "@switch_vlan[8]"
|
||||
vlan: "199"
|
||||
ports: "0t 1t"
|
||||
description: "oldAurora"
|
||||
|
||||
wireless_devices:
|
||||
- id: "{{ device_2g_radio }}"
|
||||
|
||||
@@ -1,40 +1,33 @@
|
||||
device_ip_address: "10.11.99.6"
|
||||
device_hostname: "ap-vila-dole"
|
||||
|
||||
network_swconfig_switch_vlans:
|
||||
- id: "@switch_vlan[1]"
|
||||
vlan: "128"
|
||||
network_swconfig:
|
||||
- vlan: "128"
|
||||
ports: "0t 6t 1 2 3 4"
|
||||
description: "hoste"
|
||||
- id: "@switch_vlan[2]"
|
||||
vlan: "129"
|
||||
- vlan: "129"
|
||||
ports: "0t 6t"
|
||||
description: "hoste_wifi"
|
||||
- id: "@switch_vlan[3]"
|
||||
vlan: "136"
|
||||
- vlan: "136"
|
||||
ports: "0t 6t"
|
||||
description: "studenti_lan"
|
||||
- id: "@switch_vlan[4]"
|
||||
vlan: "137"
|
||||
- vlan: "137"
|
||||
ports: "0t 6t"
|
||||
description: "studenti_wifi"
|
||||
- id: "@switch_vlan[5]"
|
||||
vlan: "144"
|
||||
- vlan: "144"
|
||||
ports: "0t 6t"
|
||||
description: "ucitele_lan"
|
||||
- id: "@switch_vlan[6]"
|
||||
vlan: "145"
|
||||
- vlan: "145"
|
||||
ports: "0t 6t"
|
||||
description: "ucitele_wifi"
|
||||
- id: "@switch_vlan[7]"
|
||||
vlan: "152"
|
||||
- vlan: "152"
|
||||
ports: "0t 6t"
|
||||
description: "free_wifi"
|
||||
|
||||
wireless_devices:
|
||||
- id: "{{ device_2g_radio }}"
|
||||
channel: "13"
|
||||
txpower: "4"
|
||||
txpower: "8"
|
||||
|
||||
# wireless_interfaces_override:
|
||||
# - ssid: "aurora"
|
||||
|
||||
@@ -1,44 +1,36 @@
|
||||
device_ip_address: "10.11.99.5"
|
||||
device_hostname: "ap-vila-nahore"
|
||||
|
||||
network_swconfig_switch_vlans:
|
||||
- id: "@switch_vlan[0]"
|
||||
vlan: "99"
|
||||
network_swconfig:
|
||||
- vlan: "99"
|
||||
ports: "0t 6t 2t"
|
||||
description: "mgmnt"
|
||||
- id: "@switch_vlan[1]"
|
||||
vlan: "128"
|
||||
- vlan: "128"
|
||||
ports: "0t 6t 1 2t 3 4"
|
||||
description: "hoste"
|
||||
- id: "@switch_vlan[2]"
|
||||
vlan: "129"
|
||||
- vlan: "129"
|
||||
ports: "0t 6t 2t"
|
||||
description: "hoste_wifi"
|
||||
- id: "@switch_vlan[3]"
|
||||
vlan: "136"
|
||||
- vlan: "136"
|
||||
ports: "0t 6t 2t"
|
||||
description: "studenti_lan"
|
||||
- id: "@switch_vlan[4]"
|
||||
vlan: "137"
|
||||
- vlan: "137"
|
||||
ports: "0t 6t 2t"
|
||||
description: "studenti_wifi"
|
||||
- id: "@switch_vlan[5]"
|
||||
vlan: "144"
|
||||
- vlan: "144"
|
||||
ports: "0t 6t 2t"
|
||||
description: "ucitele_lan"
|
||||
- id: "@switch_vlan[6]"
|
||||
vlan: "145"
|
||||
- vlan: "145"
|
||||
ports: "0t 6t 2t"
|
||||
description: "ucitele_wifi"
|
||||
- id: "@switch_vlan[7]"
|
||||
vlan: "152"
|
||||
- vlan: "152"
|
||||
ports: "0t 6t 2t"
|
||||
description: "free_wifi"
|
||||
|
||||
wireless_devices:
|
||||
- id: "{{ device_2g_radio }}"
|
||||
channel: "8"
|
||||
txpower: "4"
|
||||
txpower: "8"
|
||||
|
||||
# wireless_interfaces_override:
|
||||
# - ssid: "aurora"
|
||||
|
||||
Reference in New Issue
Block a user