Commit graph

23 commits

Author SHA1 Message Date
Thomas Davis
261796483c add missing ip6_addr and ip_addr defaults of [] 2019-08-29 08:18:58 -07:00
Thomas Davis
4a86a3d5be remove trailing white space.. 2019-08-28 09:40:18 -07:00
Thomas Davis
7a463f69d2 make pep8 happy. 2019-08-28 09:36:34 -07:00
Thomas Davis
872cedaf02 change to from regex to string ops 2019-08-28 09:27:58 -07:00
Thomas Davis
d7e4153ca7 clean up the ipv6 address also by removing the interface information. 2019-08-28 09:17:17 -07:00
Thomas Davis
ed2754f676 remove '+' for ip6_addr 2019-08-28 09:04:32 -07:00
Thomas Davis
d8b84699a5 fixes the IPv6 subnet mask problem, plus default values if no IPv4 or IPv6 address is defined. 2019-08-28 08:24:25 -07:00
Thomas Davis
1c3ea69d9e Several minor fixes
raid_arry check should return an empty array, not NoneType

not all systems will have IPv6 defined, so try to get the information..  if not
just continue on.

Vendor Supermicro was incomplete.
2019-08-27 10:30:04 -07:00
Solvik
8de682f46d
add ipv6 addresses (#43) 2019-08-26 14:02:07 +02:00
Solvik
33c55340b7
Add LLDP auto cabling (#41) 2019-08-26 11:05:41 +02:00
Solvik
955579df0d
make sure to update IPMI interface when mac changed (#32) 2019-08-12 17:21:46 +02:00
Solvik
980f14236f
Fix late comments (#29)
* more fixes
* add external binary requirements
* better error handling for bonding
2019-08-09 13:26:51 +02:00
Solvik
2988a8bd6a
Rework all network part (#21)
* rework network part by ignoring devices and ip from config file

* update config file

* associate slave device to bond device with Netbox LAG

* update README

* make sure every interface attribute is ok

* some fixes after  test

* tox

* add ipmi feature

* fix bug in LAG

* ipmi class

* update README

* network update

* delete print

* update README
2019-08-09 12:08:11 +02:00
Solvik Blum
d7af66b325
fix bug while testing debug with an interface not existing while updating 2019-08-07 15:36:24 +02:00
Solvik Blum
e8a9d318cc
simpler logging, log_level from config file 2019-08-07 10:32:23 +02:00
Solvik Blum
cc08300fee
add some logging 2019-08-06 18:11:26 +02:00
Solvik Blum
c5226b288d
hotfix - assign interface to ip while updating server 2019-08-05 17:41:03 +02:00
Solvik Blum
69a9327b18
flake8 fixes 2019-08-05 16:55:37 +02:00
Solvik Blum
165f911631
handle network update 2019-08-05 16:51:01 +02:00
Solvik Blum
0c5ca003a6
handle ethtool not installed and add known limitations to README 2019-08-04 23:24:51 +02:00
Solvik Blum
15faf59182
better ethool and device type guessing 2019-08-04 21:48:06 +02:00
Solvik Blum
d5673d4992
WIP - create netbox interfaces with IP 2019-08-04 15:14:36 +02:00
Solvik Blum
1063ec63e0
WIP - handle network 2019-08-04 14:37:51 +02:00