Oliver Gorwits
1324b431c4
Bug fixes to discovery; add root_ip handling.
...
Squashed commit of the following:
commit cb6f125c73
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sat Apr 13 20:26:59 2013 +0100
discover root_ip properly
commit 8228e73f5b
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sat Apr 13 19:47:23 2013 +0100
better name for util package
commit 4546036f4f
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sat Apr 13 19:23:55 2013 +0100
bug fixes in getting wireless info
commit 78554e5516
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sat Apr 13 19:07:44 2013 +0100
refactor snmp_connect to handle versions and device classes
commit ca9edd114a
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sat Apr 13 15:23:52 2013 +0100
rename discoverall to discovernew
commit 1b897e4aee
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sat Apr 13 14:51:06 2013 +0100
change debug log tag for store_device
commit 8a5306e056
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sat Apr 13 14:50:10 2013 +0100
rename Discover.pm to Device.pm
commit 3197e38819
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sat Apr 13 14:48:31 2013 +0100
allow netdisco-do to do all acton
2013-04-14 10:51:55 +01:00
Oliver Gorwits
d21f9e8e19
add discover/refresh, scheduler jobs, netdisco-do
...
New Poller daemon worker can discover and refresh devices.
New Scheduler daemon worker replaces the cron jobs with config.
New netdisco-do script allows running a job one-off from CLI.
Squashed commit of the following:
commit fa25f36e14
Author: Oliver Gorwits <oliver@cpan.org >
Date: Wed Apr 10 22:43:47 2013 +0100
fix HTTP port at 5000
commit 202ea4a84c
Author: Oliver Gorwits <oliver@cpan.org >
Date: Wed Apr 10 22:33:03 2013 +0100
bug fixes in discover
commit 925d9e4d6b
Author: Oliver Gorwits <oliver@cpan.org >
Date: Wed Apr 10 21:51:44 2013 +0100
add mini app for one-time jobs
commit d3a6c08a9d
Author: Oliver Gorwits <oliver@cpan.org >
Date: Wed Apr 10 21:46:55 2013 +0100
better name for subaction
commit 4adf473b20
Author: Oliver Gorwits <oliver@cpan.org >
Date: Wed Apr 10 20:15:18 2013 +0100
add logging of db add/del
commit 8aacafedaa
Author: Oliver Gorwits <oliver@cpan.org >
Date: Wed Apr 10 19:49:00 2013 +0100
copy all remaining messages from netdisco 1
commit 3e1156df1f
Author: Oliver Gorwits <oliver@cpan.org >
Date: Mon Apr 8 22:09:40 2013 +0100
alter some log levels and messages
commit e7ea92920f
Author: Oliver Gorwits <oliver@cpan.org >
Date: Mon Apr 8 20:32:33 2013 +0100
store wireless ssid and port info to DB
commit d1d16938a1
Author: Oliver Gorwits <oliver@cpan.org >
Date: Fri Apr 5 08:52:59 2013 +0100
update packaging for new files and deps
commit 965990786f
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 22:22:50 2013 +0100
implementation of find_neighbors
commit 03c4d8ef09
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 20:42:11 2013 +0100
add discoverall and discover_neighbors poller jobs
commit df68ff0890
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 19:52:37 2013 +0100
implementation of store_modules
commit c2ac19e647
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 19:32:14 2013 +0100
implementation of store_power
commit b7fb8c64a0
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 18:48:09 2013 +0100
implementation of store_vlans
commit b8ddbd1eca
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 17:08:06 2013 +0100
implementation of store_wireless (without storing, yet)
commit 2a14057481
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 16:47:21 2013 +0100
implementation of store_interfaces (without wireless)
commit d5b2b71d34
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 15:12:19 2013 +0100
only start Manager if there are pollers or interactives
commit f4a3dac760
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 15:03:10 2013 +0100
change sub names so as not to collide with Dancer
commit a8f0894986
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 14:47:28 2013 +0100
implementation of refresh, discover, and store_device
commit 4c2e3cf82d
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 11:38:15 2013 +0100
make get_device return a new result object
commit e6ac131658
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 10:38:22 2013 +0100
better POD section name
commit 6c5b6bbbee
Author: Oliver Gorwits <oliver@cpan.org >
Date: Thu Apr 4 10:37:46 2013 +0100
implement separate snmp_connect and snmp_connect_rw methods
commit 62c8e19063
Author: Oliver Gorwits <oliver@cpan.org >
Date: Mon Apr 1 20:06:29 2013 +0100
fix for unique constraint on job queue for locally queued jobs
commit ebb65996e6
Author: Oliver Gorwits <oliver@cpan.org >
Date: Mon Apr 1 20:00:36 2013 +0100
add refresh poller job
commit 05928e8cf6
Author: Oliver Gorwits <oliver@cpan.org >
Date: Mon Apr 1 19:31:39 2013 +0100
Refactor Util namespace
Squashed commit of the following:
commit 789c528fcf
Author: Oliver Gorwits <oliver@cpan.org >
Date: Mon Apr 1 19:31:07 2013 +0100
update manifest and fix typo
commit b95d0951f2
Author: Oliver Gorwits <oliver@cpan.org >
Date: Mon Apr 1 19:22:41 2013 +0100
refactor ::Util namespace
commit a8dde50343
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sun Mar 31 13:45:27 2013 +0100
no need to search for device - IP should already be exact
commit b42daee4c1
Merge: 6e52762 95bb8fc
Author: Oliver Gorwits <oliver@cpan.org >
Date: Wed Mar 27 21:00:09 2013 +0000
Merge branch 'master' into og-poller
commit 6e527629a2
Author: Oliver Gorwits <oliver@cpan.org >
Date: Tue Mar 26 23:39:23 2013 +0000
fixes and log messages
commit cfcb7a956f
Author: Oliver Gorwits <oliver@cpan.org >
Date: Tue Mar 26 22:57:06 2013 +0000
bug fixes
commit 48f779a8d0
Author: Oliver Gorwits <oliver@cpan.org >
Date: Tue Mar 26 22:42:16 2013 +0000
add config for scheduled tasks
commit 2f6efcb312
Author: Oliver Gorwits <oliver@cpan.org >
Date: Tue Mar 26 22:15:04 2013 +0000
create poller worker and add poller type stubs
commit 52b28b0ab8
Author: Oliver Gorwits <oliver@cpan.org >
Date: Tue Mar 26 22:04:00 2013 +0000
code tidy
commit 96db66739f
Author: Oliver Gorwits <oliver@cpan.org >
Date: Mon Mar 25 22:35:11 2013 +0000
more insane but more working version of the job queue constraint
commit cb25216f40
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sun Mar 24 20:22:11 2013 +0000
make scheduler start automatic based on housekeeping setting existing
commit 0acbe8abd3
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sun Mar 24 19:45:24 2013 +0000
add scheduler based on Algorithm::Cron
commit 49d136b57a
Author: Oliver Gorwits <oliver@cpan.org >
Date: Sun Mar 24 18:48:10 2013 +0000
add unique constraint on admin/job queue
2013-04-10 22:55:49 +01:00
Oliver Gorwits
ae307f30b3
documentation fixups
2013-03-05 23:20:40 +00:00
Oliver Gorwits
66d0b25af3
moar documentation
2013-03-05 22:54:31 +00:00
Oliver Gorwits
5390b99a12
many small fixes to packaging and daemons after testing
2013-03-05 21:38:18 +00:00
Oliver Gorwits
c94e890bb9
DB Schema upgrades are now all single-step in case user has applied any already
2013-03-04 23:45:36 +00:00
Oliver Gorwits
b7ae4dfc57
add cache headers for static content
2013-03-04 23:01:31 +00:00
Oliver Gorwits
c4b60e47a2
allow netdisco-deploy to work from git and without localenv
2013-03-04 20:47:11 +00:00
Oliver Gorwits
376b1cf9dd
support for running from git or build dir
2013-03-04 20:31:32 +00:00
Oliver Gorwits
c4e6e4c8eb
try really hard to find a localenv if one isn't already in place
2013-03-04 20:31:00 +00:00
Oliver Gorwits
a02a325dcc
remove unecessary PATH extension
2013-03-04 19:32:35 +00:00
Oliver Gorwits
d82fe1e2b0
refactor web start scripts to be more portable
2013-03-04 00:19:18 +00:00
Oliver Gorwits
981383c307
Use Path::Class for path and file name construction consistently
2013-02-24 23:02:23 +00:00
Oliver Gorwits
13c7ee81ec
add log messages to the Daemon
2013-02-24 20:20:22 +00:00
Oliver Gorwits
e752befa78
fix bug in assuming num_workers included manager
2013-02-24 01:14:18 +00:00
Oliver Gorwits
6507ac22a6
random() and LIMIT the number of daemon jobs requested from Netdisco queue
2013-02-23 23:53:59 +00:00
Oliver Gorwits
3a73b42860
upstream sql changes
2013-01-29 22:52:38 +00:00
Oliver Gorwits
bfa65fc164
first indexed release to cpan
2013-01-06 02:01:06 +00:00
Oliver Gorwits
b99b1faba5
remove fixes for MCE
2013-01-06 01:12:24 +00:00
Oliver Gorwits
16ffbd455e
Daemons now log to ~/logs/netdisco-{web,daemon}.log
2013-01-05 20:34:21 +00:00
Oliver Gorwits
43ca40e28c
new scripts which self-localenv, and a daemon web server
2013-01-05 20:14:26 +00:00
Oliver Gorwits
6ee703d5c8
more tweaks to cope with MCE running inside Daemon::Control
2013-01-05 15:39:11 +00:00
Oliver Gorwits
ed16a535f9
add daemon daemonizer
2013-01-02 20:08:59 +00:00
Oliver Gorwits
5dbe78fbe4
renamed daemon to foreground version
2013-01-02 19:52:41 +00:00
Oliver Gorwits
b3cd1a55e5
first pass at Interactive worker
2013-01-02 19:38:28 +00:00
Oliver Gorwits
6f5be5948b
better version of the __DIE__ workaround
2013-01-02 18:20:58 +00:00
Oliver Gorwits
9cb897c385
forgot to update the config templates
2013-01-02 16:38:43 +00:00
Oliver Gorwits
244033449d
code tidy and create tmpdir if not exists
2013-01-02 16:28:24 +00:00
Oliver Gorwits
8d9ede6717
insert hack for MCE __DIE__ problem
2013-01-02 16:04:10 +00:00
Oliver Gorwits
9e1bc7d6d7
bug fixes
2013-01-02 12:28:56 +00:00
Oliver Gorwits
61a3542834
first pass at Manager worker
2013-01-01 23:45:56 +00:00
Oliver Gorwits
e2b9fd3430
start mce port
2013-01-01 19:16:59 +00:00
Oliver Gorwits
cd6a89b2c6
confirm db schema deployed
2012-12-20 20:55:33 +00:00
Oliver Gorwits
26e6263613
upgrade db incrementally
2012-12-20 13:29:54 +00:00
Oliver Gorwits
935bba9070
unlink downloadad mibs file
2012-12-20 13:27:57 +00:00
Oliver Gorwits
b4f7fbcdbe
fix wrong method call
2012-12-20 13:27:17 +00:00
Oliver Gorwits
b3c3897cb4
fix for older Perl which warns about a bug in File::Slurp
2012-12-20 13:22:14 +00:00
Oliver Gorwits
a5d2848cef
fix version strings for platform warning
2012-12-20 13:20:23 +00:00
Oliver Gorwits
df54d5e4f9
new netdisco-deploy script to do all deployment tasks at once
2012-12-19 22:23:04 +00:00
Oliver Gorwits
05086e8b78
make an App::Netdisco dist using Module::Install
2012-12-17 18:31:16 +00:00
Oliver Gorwits
6a0aa7864e
add precond check to db deploy script
2012-12-17 14:45:24 +00:00
Oliver Gorwits
563f2ded89
fix bug in END with undefined $pp
2012-12-17 14:28:05 +00:00
Oliver Gorwits
626f8d6b6d
move netdisco config (defaults) to global config.yml
2012-12-17 12:20:33 +00:00
Oliver Gorwits
bf79b10664
update OUI data when DB schema is updated
2012-12-16 17:17:31 +00:00
Oliver Gorwits
369a235ff8
rename db management scripts
2012-12-16 16:44:28 +00:00
Oliver Gorwits
07aed68ae4
implement begin/end for workers
2012-12-16 16:08:27 +00:00
Oliver Gorwits
a852b9c093
clean old jobs on startup
2012-12-16 15:37:08 +00:00
Oliver Gorwits
eef74656c3
fix poller count and refactor for clarity
2012-12-16 15:19:03 +00:00
Oliver Gorwits
7d303b60cf
refactor for next_role
2012-12-16 14:36:41 +00:00
Oliver Gorwits
afc0f3b4bc
better checking of schema in daemon db
2012-12-16 14:18:11 +00:00