Base directories and samples

This commit is contained in:
Vladimir Vitkov 2023-04-04 01:23:35 +03:00
parent 3375b88a01
commit b7639473f6
6 changed files with 174 additions and 0 deletions

83
.gitignore vendored Normal file
View File

@ -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~

40
docs/ip-assignments.md Normal file
View File

@ -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 |

1
radio-configs/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.img

View File

@ -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,,,,,,
1 Location Name Frequency Duplex Offset Tone rToneFreq cToneFreq DtcsCode DtcsPolarity Mode TStep Skip Comment URCALL RPT1CALL RPT2CALL DVCODE
2 0 General 446.006250 0.600000 TSQL 100.0 100.0 023 NN NFM 6.25
3 1 Network 446.018750 0.600000 TSQL 159.8 159.8 023 NN NFM 6.25
4 2 Video 446.031250 0.600000 TSQL 127.3 127.3 023 NN NFM 6.25
5 3 Fire 446.043750 0.600000 TSQL 167.9 167.9 023 NN NFM 6.25
6 4 PMR 05 446.056250 0.600000 88.5 88.5 023 NN NFM 6.25
7 5 PMR 06 446.068750 0.600000 88.5 88.5 023 NN NFM 6.25
8 6 PMR 07 446.081250 0.600000 88.5 88.5 023 NN NFM 6.25
9 7 PMR 08 446.093750 0.600000 88.5 88.5 023 NN NFM 6.25

2
switch-configs/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
secrets.conf
*_compiled.cfg

39
switch-configs/README.md Normal file
View File

@ -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