Commit Graph

69 Commits

Author SHA1 Message Date
Ricardo Bartels
d6bd331e2a fixes issue with with last commit if current value is None
refs: #58
refs: #59
2021-04-26 09:44:21 +02:00
Ricardo Bartels
380e78a9ff adds support for NetBox 2.11 "vcpus" float change
refs: #58
2021-04-23 16:55:16 +02:00
Ricardo Bartels
53c97b47b8 prevents exception if "API-Version" in NetBox response header is missing
refs: #57
2021-04-23 12:10:01 +02:00
Ricardo Bartels
130b12e026 fix issue with accessing unresolved objects
refs: #45
2021-04-01 19:35:59 +02:00
Ricardo Bartels
f73e569c38 adds new config option "match_host_by_serial"
also enhanced debug out put to return found serials on DEBUG2

refs: #52
2021-03-10 14:09:38 +01:00
Ricardo Bartels
196f700f3f adds config option host_tenant_relation
refs: #51
2021-03-08 12:45:43 +01:00
Ricardo Bartels
e7e3a66246 Merge branch 'feature/add_vm_platform_relation' into development 2021-02-28 00:10:27 +01:00
Ricardo Bartels
d60ec144ed fix issue with unresolved objects when checking for matching mac address
refs: #45
2021-02-27 22:27:44 +01:00
Ricardo Bartels
00e0b302a5 fixes behavior of platform mapping
refs: #47
2021-02-27 21:49:01 +01:00
Ricardo Bartels
09fabc1535 fixes issue with commas in relation config name
refs: #42
2021-02-27 00:57:46 +01:00
Ricardo Bartels
c69248ea15 adds new config option vm_platform_relation
refs: #47
2021-02-26 18:10:54 +01:00
Ricardo Bartels
3effdd46b2 Merge branch 'feature/strip-domain-from-name' into development 2021-02-26 17:41:29 +01:00
Ricardo Bartels
95d285309a prepared first release (Ada)
sets version to 1.0.0
2021-02-26 16:46:36 +01:00
Ricardo Bartels
7b19e5856e fix issue with enclosure serial detection on blade server #41
refs: #41
2021-02-26 16:41:21 +01:00
Gregory Storme
c7ac575928 typo 2021-02-14 19:40:47 +01:00
Ricardo Bartels
98e28dd70a skips pruning of objects from disabled sources
refs: #38
2021-02-11 22:59:29 +01:00
Ricardo Bartels
ebda6af266 fixes orphaned tagging for disabled sources
refs: #38
2021-02-05 18:35:55 +01:00
Ricardo Bartels
4f68b8042c fixes issue with cluster site assignment for standalone hosts
refs: #31
2021-02-05 17:27:30 +01:00
Ricardo Bartels
ef39e23481 adds config option to strip domain part from host/vm name #29
refs: #29
2021-02-04 21:00:05 +01:00
Gregory Storme
3264e6143d change dummy names for empty vendor/model 2021-02-03 12:13:57 +01:00
Gregory Storme
b43b719d43 set dummy value if a host device vendor/model cannot be retrieved 2021-02-03 00:50:38 +01:00
Gregory Storme
c632154a3b set default for skip_vm_templates to True 2021-01-27 13:24:25 +01:00
Gregory Storme
291982a9cf remove quotes for the skip_vm_comments boolean 2021-01-27 08:31:26 +01:00
Gregory Storme
7f51138339 add the option to skip the sync of vm templates 2021-01-27 08:30:38 +01:00
Gregory Storme
8c2bdf65ad requested changes for PR #28 2021-01-25 14:14:29 +01:00
Gregory Storme
6d09b72647 add a configuration parameter to allow skipping the sync of VM notes 2021-01-24 19:10:15 +01:00
Ricardo Bartels
c71580a945 fixes problem with IP addresses not synced properly 2021-01-22 10:56:59 +01:00
Ricardo Bartels
47c46f5a50 fixes detection of VLAN (first site, then global)
refs: #22
2021-01-04 17:34:14 +01:00
Ricardo Bartels
0560b783e7 fixes problem with checking current interface for an IP address
refs: #19
2020-12-18 15:10:50 +01:00
Mika Busch
b2e5d1691d Corrected waring to warning 2020-12-15 09:53:18 +01:00
Ricardo Bartels
8205fc821e enhances pruning and adds description
refs: #18
2020-11-30 14:26:47 +01:00
Ricardo Bartels
98661fc9bb exclude object classes from pruning #18
refs: #18
2020-11-27 23:28:30 +01:00
Ricardo Bartels
dcf47bc3e1 fixes problem with objects wrongly marked as orphaned
refs: #17
2020-11-27 14:03:40 +01:00
Ricardo Bartels
f401cd3cf3 adds support for proper VLAN discovery on all interfaces
refs: #14
refs: #3
2020-11-27 13:25:13 +01:00
Ricardo Bartels
6b34448005 adds support for host only vSwitch configuration
refs: #14
refs: #3
2020-11-26 16:54:08 +01:00
Ricardo Bartels
39eea0f5a2 enhances parsing of IP addresses and assignment to interfaces
refs: #6
2020-11-25 22:35:36 +01:00
Ricardo Bartels
b5513e8fdb fix creating/updating VLANs 2020-11-24 18:48:28 +01:00
Ricardo Bartels
bf6c3464c0 roles for devices/VMs are only set if undefined
Refs: #16
2020-11-24 14:48:15 +01:00
Ricardo Bartels
3c8a1f7719 adds a 'vm_tenant_relation' config option to assign tenants to VMs
refs: #10
2020-11-23 18:32:39 +01:00
Ricardo Bartels
4dd7aed5f9 fixes search for devices by serial and asset tag
refs: #15
2020-11-23 15:57:33 +01:00
Ricardo Bartels
0c75e3d47b changes parsing of config file
* removed leading whitespaces in config file for all options

Refs: #7
Refs: #13
2020-11-23 14:29:20 +01:00
Ricardo Bartels
096c1e5584 fixes wrong var assignment for host attribute vars
refs: #9
2020-11-21 22:25:31 +01:00
Ricardo Bartels
8508d11c71 try to find host by serial number (1st) or asset tag (2nd)
refs: #9
2020-11-20 18:01:38 +01:00
Ricardo Bartels
632a801505 speeds up object creation and fixes small bugs 2020-11-20 17:16:21 +01:00
Ricardo Bartels
5bb6f6289d fixes issues with last commit, caching is optional now
* primary_ip4/6 attribute will only be assigned in last run

refs: #6
refs: #7
2020-11-19 13:24:30 +01:00
Ricardo Bartels
4367ec3542 fixes use of internal names as var names 2020-11-17 22:44:50 +01:00
Ricardo Bartels
2b3757b945 adds documentation to README.md and settings-example.ini 2020-11-17 18:49:45 +01:00
Ricardo Bartels
e2d31a8d2d adds dry run CLI option to test the program without changing data 2020-11-17 12:28:02 +01:00
Ricardo Bartels
b007dc6f81 adds MIT license to this porject 2020-11-17 12:15:54 +01:00
Ricardo Bartels
fab219d2c7 WIP: finished documenting classes/methods/functions 2020-11-16 22:27:24 +01:00