Commit Graph

34 Commits

Author SHA1 Message Date
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
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
Ricardo Bartels
4a54fa77d4 WIP: fixes deletion of objects and update of baseic data 2020-11-06 20:11:22 +01:00
Ricardo Bartels
f11e77614c WIP: fixes VM and host detection 2020-11-05 18:36:08 +01:00
Ricardo Bartels
866359c553 WIP: added device detection on data migration, enhanced IP address validation 2020-11-04 17:35:30 +01:00
Ricardo Bartels
e3ad3dbd56 adds extended logging, dns name lookup, primary ip assignement
Also ESXi interfaces are now represented properly
IPv6 and VM primary IP assignment still ongoing
2020-11-03 17:50:26 +01:00
Ricardo Bartels
546c0ab743 improves association of ip addresses to prefixes 2020-10-30 16:57:44 +01:00
Ricardo Bartels
3eede8e90d fixes handlying of IP address objects, adds loads of data validation 2020-10-29 16:16:45 +01:00
Ricardo Bartels
921fde0753 fixes default config and display of elapsed time 2020-10-26 21:35:09 +01:00
Ricardo Bartels
100570420b updates config parsing in netbox connection 2020-10-26 17:26:08 +01:00
Ricardo Bartels
edfa48ddcf initial commit
ALL WORK IN PROGRESS
2020-10-26 16:35:57 +01:00