Skip to content

Commit 8c997c8

Browse files
authored
Merge pull request #3 from TheZay/dev
Asynchronous Execution
2 parents 2e683fe + 8d6f774 commit 8c997c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2458
-1673
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ dmypy.json
151151
vscode/
152152
.idea/
153153
idea/
154+
.vs/
155+
vs/
154156

155157
# Generated files
156158
*.xml

.idea/Radius_Integration.iml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vscode/launch.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
52
"version": "0.2.0",
63
"configurations": [
74
{
@@ -10,8 +7,7 @@
107
"request": "launch",
118
"program": "${file}",
129
"console": "integratedTerminal",
13-
"justMyCode": true,
14-
"args": ["-i", "10.201.16.76"]
10+
"justMyCode": true
1511
}
1612
]
1713
}

.vscode/settings.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
{
2-
// Python configurations
32
"python.analysis.typeCheckingMode": "basic",
43
"python.envFile": "${workspaceFolder}/.venv",
54
"python.languageServer": "Pylance",
6-
"python.testing.unittestEnabled": true,
5+
"python.testing.unittestEnabled": false,
76

8-
// Linting configurations
97
"editor.defaultFormatter": "ms-python.pylint",
10-
// 72: Comments & Docstrings
11-
// 79: PEP8, all other lines
128
"editor.rulers": [72, 80],
139
"editor.codeActionsOnSave": {
1410
"source.organizeImports": "explicit"
@@ -18,25 +14,22 @@
1814
"editor.defaultFormatter": "ms-python.autopep8"
1915
},
2016

21-
// RestructuredText configurations
2217
"restructuredtext.editor.tableEditor.reformat.disabled": false,
2318
"restructuredtext.experimental": true,
2419
"restructuredtext.linter.doc8.executablePath": "${workspaceFolder}/.venv/scripts/doc8.exe",
2520
"esbonio.server.pythonPath": "${workspaceFolder}/.venv/scripts/python.exe",
26-
//"esbonio.sphinx.buildDir": "${workspaceFolder}/docs/_build/html",
27-
//"esbonio.sphinx.confDir": "${workspaceFolder}/docs/_source",
28-
//"esbonio.sphinx.srcDir": "${workspaceFolder}",
2921

30-
// Terminal configurations
3122
"terminal.integrated.shellIntegration.suggestEnabled": true,
3223

33-
// Testing configurations
34-
"python.testing.pytestEnabled": false,
24+
"python.testing.pytestEnabled": true,
3525
"python.testing.unittestArgs": [
3626
"-v",
3727
"-s",
3828
"./tests",
3929
"-p",
4030
"test_*.py"
4131
],
32+
"python.testing.pytestArgs": [
33+
"tests"
34+
],
4235
}

configs/commands.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"cisco_ios": [
3+
"show version",
4+
"show vlan brief",
5+
"show mac address-table vlan {vlan_id}"
6+
],
7+
"cisco_nxos": [
8+
"show version",
9+
"show vlan brief",
10+
"show mac address-table vlan {vlan_id}"
11+
]
12+
}

configs/config.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"log_file_path": "logs\\switch_mac_collector.log",
3-
"logging_level": "INFO",
4-
"max_threads": 5,
5-
"retry_attempts": 3,
6-
"retry_delay": 5
2+
"log_file_path": "logs\\macollector.log",
3+
"logging_level": "INFO",
4+
"max_threads": 16
75
}

0 commit comments

Comments
 (0)