From b7639473f6dcc704862ada45584d87b01015201e Mon Sep 17 00:00:00 2001 From: Vladimir Vitkov Date: Tue, 4 Apr 2023 01:23:35 +0300 Subject: [PATCH] Base directories and samples --- .gitignore | 83 ++++++++++++++++++++++++++++++++++++ docs/ip-assignments.md | 40 +++++++++++++++++ radio-configs/.gitignore | 1 + radio-configs/2023-chirp.csv | 9 ++++ switch-configs/.gitignore | 2 + switch-configs/README.md | 39 +++++++++++++++++ 6 files changed, 174 insertions(+) create mode 100644 .gitignore create mode 100644 docs/ip-assignments.md create mode 100644 radio-configs/.gitignore create mode 100644 radio-configs/2023-chirp.csv create mode 100644 switch-configs/.gitignore create mode 100644 switch-configs/README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..320b985 --- /dev/null +++ b/.gitignore @@ -0,0 +1,83 @@ +# Created by .ignore support plugin (hsz.mobi) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/modules.xml +# .idea/*.iml +# .idea/modules + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests +### Ansible template +*.retry +### Vim template +# Swap +[._]*.s[a-v][a-z] +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + diff --git a/docs/ip-assignments.md b/docs/ip-assignments.md new file mode 100644 index 0000000..7b44d2f --- /dev/null +++ b/docs/ip-assignments.md @@ -0,0 +1,40 @@ +# IP ranges assignments + +## VLANs +ID | IP/Range | Name | Notes +---|--------------|------|--------- +10 | single ip | external | Provided by ??? +20 | 10.20.0.0/24 | mgmt | +21 | 10.21.0.0/22 | wired | wired clients / workshop +22 | 10.22.0.0/22 | wireless | ap +23 | 10.23.0.0/24 | video | video team +24 | 10.24.0.0/24 | overflow | overflow TV's +25 | 10.25.0.0/24 | reception | Reception related + +## Assignments + +### MGMT +IP | Name | Notes +----|---------|------ +.1 | CORESRV | router/services +.11 | coresw | CORE + +### Video +IP | Name | Notes +---|---------|------ +.1 | CORESRV | + +### Overflow +IP | Name | Notes +---|---------|------ +.1 | CORESRV | + +### Wired +IP | Name | Notes +---|---------|------ +.1 | CORESRV | + +### Reception +IP | Name | Notes +---|---------|------ +.1 | CORESRV | diff --git a/radio-configs/.gitignore b/radio-configs/.gitignore new file mode 100644 index 0000000..a89285e --- /dev/null +++ b/radio-configs/.gitignore @@ -0,0 +1 @@ +*.img diff --git a/radio-configs/2023-chirp.csv b/radio-configs/2023-chirp.csv new file mode 100644 index 0000000..d0c1b63 --- /dev/null +++ b/radio-configs/2023-chirp.csv @@ -0,0 +1,9 @@ +Location,Name,Frequency,Duplex,Offset,Tone,rToneFreq,cToneFreq,DtcsCode,DtcsPolarity,Mode,TStep,Skip,Comment,URCALL,RPT1CALL,RPT2CALL,DVCODE +0,General,446.006250,,0.600000,TSQL,100.0,100.0,023,NN,NFM,6.25,,,,,, +1,Network,446.018750,,0.600000,TSQL,159.8,159.8,023,NN,NFM,6.25,,,,,, +2,Video,446.031250,,0.600000,TSQL,127.3,127.3,023,NN,NFM,6.25,,,,,, +3,Fire,446.043750,,0.600000,TSQL,167.9,167.9,023,NN,NFM,6.25,,,,,, +4,PMR 05,446.056250,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +5,PMR 06,446.068750,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +6,PMR 07,446.081250,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, +7,PMR 08,446.093750,,0.600000,,88.5,88.5,023,NN,NFM,6.25,,,,,, diff --git a/switch-configs/.gitignore b/switch-configs/.gitignore new file mode 100644 index 0000000..fa175ca --- /dev/null +++ b/switch-configs/.gitignore @@ -0,0 +1,2 @@ +secrets.conf +*_compiled.cfg diff --git a/switch-configs/README.md b/switch-configs/README.md new file mode 100644 index 0000000..01ace4b --- /dev/null +++ b/switch-configs/README.md @@ -0,0 +1,39 @@ +# Switch configurations for Openfest 2023 + +## General port layout +The following scheme is followed: + + * Last copper port on the switch is UPLINK + * Uplink is trunk mode with access as a minimum to mgmt vlan (20) and purpose speciffic vlan (e.g. video (23)) + * First copper port on the switch is PHONE (if such are required) + * mode is access + * VLAN 25 + * Next up to 6 ports are for speciffic purposes (e.g. video related, general access, etc) + * Mode is access (unless specific equipment requires other. e.g. wifi is connected to this port) + * VLAN varies + +## Exception from the scheme +There are 4 exceptions from the scheme: + * coresw - links all the rest so it is expected to be different + * Uplink is last XX port(s) + * Ports 41 to 46 are reserved for internal services + * Downlinks to switches are on ports 1-6 + * WIFI access is as follows: + * XXXX + * nocsw - needs easy access to all vlans on ports so all vlans are present there + * Multiple ports per vlan are present + * Port 1,2 - Phone access + * Port 3,4 - External vlan access + * Port 5,6 - mgmt vlan + * Port 7,8 - wired vlan + * Port 9,10 - wireless vlan + * Port 11-14 - video vlan - monitoring stations to be put + * Port 15,16 - overflow vlan + * Port 17-22 - shutdown (spare). NOC can use as wanted. + * Port 23,24 - UPLINK + * connectionsw - special switch to do media conversion between Single and Multi-mode optic + * Ports 9 and 10 are fiber + * Might not have IP (or any other config for that matter) + * All copper ports are shutdown + * fl2sw - switch located in floor 2 (-1) to facilitate own equipment usage + * last 2 ports are trunked uplink