Commit 98857fc
Beta Release Merge (#87)
* Delete gitcmd.py
* Delete nb-dt-import.py
* Add files via upload
* Logging cleanup (#78)
* Removed multiple imports of settings.py
* stating to abstract the netbox api calls to their own class
* Abstracted away determine features from main script, implemented as part of class initialization
* added helper functions to get repos relative & absolute path
* renaming gitcmd to repo
* starting to abstract away the get_files
* fixed issue where spaces and commas in vendor list with/without spaces breaks matching
* Added prelim fix for slugs if same issue vendors arg was facing exists. untested
* Finished abstracting the get_files function. Reduced fors and ifs to be cleaner and more efficent
* abstracted getFiles to repo class. Fixed slug issue not matching because of new slug format. added non-halting log function and renamed exception handler to log handler.
* utilized new logging class throughout script to reduce excess logging
* Abstracted and optimized create manufacturers
* Abstracted the create interfaces for devices to the netbox api class
* Fixed regression where check manufactuerers did not have the latest list
* Fixed regression caused by externally calling script. Discovered from #76
* abstracted all device interfaces to the devicetype class. optimized function calls to reduce duplicate code and reduce extra log calls
* Ran against all devices and passed with flying colors
* formatting settings.py
* formatting repo.py
* formatting main file
* formatting log_handler.py
* added back executable on file (#79)
* Add more info to failed device_type creations (#81)
---------
Co-authored-by: Philipp Rintz <[email protected]>1 parent 8832370 commit 98857fc
File tree
7 files changed
+628
-875
lines changed7 files changed
+628
-875
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments