Commit graph

300 commits

Author SHA1 Message Date
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
49731644fd
fix bug while testing debug 2019-08-07 15:36:03 +02:00
Solvik Blum
f991ac85f7
call logging.py for setup 2019-08-07 15:12:38 +02:00
Solvik Blum
4055e2a653
fix conflict 2019-08-07 10:34:48 +02:00
Solvik Blum
e8a9d318cc
simpler logging, log_level from config file 2019-08-07 10:32:23 +02:00
Solvik
cc45d9ded9
Update netbox_agent/network.py
Co-Authored-By: Guillaume Gelin <contact@ramnes.eu>
2019-08-07 10:12:52 +02:00
Solvik Blum
a22b648b8a
be python3.5 compatible 2019-08-06 18:15:08 +02:00
Solvik Blum
cc08300fee
add some logging 2019-08-06 18:11:26 +02:00
Solvik
cb9e0184dc
Update README.md
Mention of caching problem with last netbox version
2019-08-06 17:44:55 +02:00
Solvik
99c205ca65
Update README.md 2019-08-05 18:12:27 +02:00
Solvik
ebeca4493e
Merge pull request #15 from Solvik/hotfix
hotfix - assign interface to ip while updating server
2019-08-05 17:46:36 +02:00
Solvik Blum
c5226b288d
hotfix - assign interface to ip while updating server 2019-08-05 17:41:03 +02:00
Solvik
37aa7fe46d
Merge pull request #12 from Solvik/feature/rack_awareness
Rack awareness
2019-08-05 17:09:09 +02:00
Solvik
18e29638e7
Merge branch 'master' into feature/rack_awareness 2019-08-05 17:07:36 +02:00
Solvik
e9f708c28c
Merge pull request #13 from Solvik/feature/update
Device update
2019-08-05 17:06:32 +02:00
Solvik Blum
69a9327b18
flake8 fixes 2019-08-05 16:55:37 +02:00
Solvik Blum
bea1bf8614
flake8 fixes 2019-08-05 16:55:22 +02:00
Solvik Blum
165f911631
handle network update 2019-08-05 16:51:01 +02:00
Solvik Blum
e80d8b941c
wip - update in progress, working for blades/hostname 2019-08-05 16:03:35 +02:00
Solvik Blum
42b81a1f78
should have used git mv 2019-08-05 12:03:06 +02:00
Solvik Blum
cd97fe4d3a
wip 2019-08-05 12:02:42 +02:00
Solvik Blum
acbb767e22
rack awareness 2019-08-05 11:54:06 +02:00
Solvik
8e40495eb7
Update README.md
add url
2019-08-05 10:01:33 +02:00
Solvik
31dead061d
Merge pull request #10 from Solvik/feature/network
handle network cards
2019-08-04 23:42:50 +02:00
Solvik Blum
0edc88823a
flake8 2019-08-04 23:42:08 +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
4ddbb89c18
Merge branch 'master' into feature/network 2019-08-04 20:27:58 +02:00
Solvik
63b0adf96d
Update README.md 2019-08-04 20:10:43 +02:00
Solvik
974c2b0c75
Merge pull request #4 from Solvik/feature/datacenter
add datacenter location awareness with pseudo-driver (cmd and file)
2019-08-04 20:09:28 +02:00
Solvik Blum
9f0db28ed8
use first capture group in regex 2019-08-04 19:51:36 +02:00
Solvik Blum
d90eac3fe6
no more upper() and use slug for dc search 2019-08-04 19:33:09 +02:00
Solvik Blum
f2195cf9e6
tox fix 2019-08-04 19:32:52 +02:00
Solvik Blum
d1f8b68130
Merge branch 'feature/datacenter' of github.com:solvik/netbox_agent into feature/datacenter 2019-08-04 19:18:52 +02:00
Solvik Blum
87939d3e35
check for get() function 2019-08-04 19:18:11 +02:00
Solvik
98d0d9db12
Update README.md 2019-08-04 15:20:57 +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
Solvik Blum
0e0ceb7811
datacenter awareness - a bit of a docstring 2019-08-04 09:55:10 +02:00
Solvik Blum
33a5306aa9
add driver_file in example config file 2019-08-04 09:51:04 +02:00
Solvik Blum
6b24b4b000
add support for a datacenter driver in a separate file 2019-08-04 09:48:42 +02:00
Solvik Blum
8b8cd68ff2
add datacenter location awareness with pseudo-driver (cmd and file) 2019-08-04 01:21:20 +02:00
Solvik
396c4b5d10 Project cleanup (#6)
* add requirements.txt

* Create LICENSE

* add test directory

* code cleanup

* flake8 fixes and code cleanup

* setup.py and tox.ini

* more fixes
2019-08-04 00:00:22 +02:00
Solvik Blum
9673bb00b5 add more supported devices 2019-08-03 16:02:07 +02:00
Solvik Blum
ab4ea42466 pizza box (server) netbox creation 2019-08-03 15:57:06 +02:00
Solvik Blum
8960df61dc * new dmidecode code
* move netbox creation server to ServerBase class
* HP blades support
2019-08-03 15:46:21 +02:00
Solvik Blum
94e0437427 wip - should change the name of manufacturers, maybe other classes than Server etc 2019-08-02 18:39:05 +02:00
Solvik Blum
a598c3a68a
gitignore 2019-08-02 18:38:30 +02:00
Solvik
6111db52e6
Update README.md 2019-08-02 18:34:35 +02:00
Solvik Blum
97d8f53d7a
README.md 2019-08-02 18:32:33 +02:00