Commit Graph

60 Commits

Author SHA1 Message Date
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 fef5188f62 Merge pull request #37 from gstorme/nodevicetype
set dummy value if a host device vendor/model cannot be retrieved
2021-02-03 14:00:24 +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
Ricardo af47bf8a97 Merge pull request #32 from gstorme/template 2021-01-28 21:17:57 +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
Ricardo fc334a4c6d Merge pull request #28 from gstorme/main
add a configuration parameter to allow skipping the sync of VM notes
2021-01-25 14:18:42 +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 757eee956e Merge branch 'fix-#23' into main
fixes: #23
2021-01-22 13:48:54 +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
Ricardo ccb5d68368 Merge pull request #20 from Haeki/main
Corrected waring to warning
2020-12-18 14:20:35 +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
v1.0.0-rc1
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 1f2198e154 adds cronjob to README.md
Refs: #13
2020-11-23 14:46:09 +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 3e51bfcf3b add missing license file 2020-11-17 12:27:32 +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
Ricardo Bartels 1783bfc09f fixes errors and typos in last commit 2020-11-16 21:01:53 +01:00
Ricardo Bartels 5ad5bedb51 WIP: documenting code, refactoring class names, NOT FNISHED
* need to finish documentation of VMWare handler class
* README.md needs to be rewritten completely
2020-11-16 18:31:52 +01:00
Ricardo Bartels 32125916bf removed standalone ESXi cluster type 2020-11-15 22:24:59 +01:00
Ricardo Bartels 321327f0b2 fixes wrong var name in last commit 2020-11-14 11:28:06 +01:00
Ricardo Bartels ed8ccda150 unresolved relations for object name resolution is now a soft error
which will be logged
2020-11-14 10:45:16 +01:00
Ricardo Bartels 4e2cb031d7 fixes a lot of logical errors and adds object caching by default
This is the first full (hopefully) working version of this syncing
script.

Now documentation needs some excessive love. Probably a lot of
dead code as well which needs to be removed.
2020-11-13 23:53:14 +01:00
Ricardo Bartels fca25a8376 WIP: adds untagged_vlan to interfaces and fixes primary_ip assignment 2020-11-11 16:30:18 +01:00
Ricardo Bartels 07fab24c02 WIP: add vlans and mode to interfaces 2020-11-10 17:34:36 +01:00
Ricardo Bartels 4c3da92053 fixes primary ip address assignment
This is only an intermediate version
We need to get vrfs, vlans and tennants as well to
classify an IP address properly
2020-11-10 09:41:56 +01:00
Ricardo Bartels d46c4c729d enhances object/cluster exclusion, filtering, disables TLS warnings 2020-11-09 15:36:40 +01:00