Commit Graph

384 Commits

Author SHA1 Message Date
Oliver Gorwits
8228e73f5b better name for util package 2013-04-13 19:47:23 +01:00
Oliver Gorwits
4546036f4f bug fixes in getting wireless info 2013-04-13 19:23:55 +01:00
Oliver Gorwits
78554e5516 refactor snmp_connect to handle versions and device classes 2013-04-13 19:07:44 +01:00
Oliver Gorwits
ca9edd114a rename discoverall to discovernew 2013-04-13 15:23:52 +01:00
Oliver Gorwits
1b897e4aee change debug log tag for store_device 2013-04-13 14:51:06 +01:00
Oliver Gorwits
8a5306e056 rename Discover.pm to Device.pm 2013-04-13 14:50:10 +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
bb3f706a8f rename plugins doc .pm to .pod 2013-03-17 15:29:01 +00:00
Oliver Gorwits
cbb1e8074a bump version for release 2013-03-17 14:48:23 +00:00
Oliver Gorwits
65d01be38c Squashed commit of the following:
commit b054119d9c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 14:29:58 2013 +0000

    hide Reports menu if there are no reports

commit d86e670600
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 14:23:59 2013 +0000

    add Report docs for developers

commit ee8351eb30
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 14:06:39 2013 +0000

    split Plugin docs into user and developer pages

commit 5e4b8f3063
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 12:59:47 2013 +0000

    add duplex report into default config

commit 8fd622f50c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 12:56:51 2013 +0000

    update query for duplex mismatch to check left and right are both not DOWN

commit 6d9170598c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Mar 11 23:10:38 2013 +0000

    use the new duplex mismatch query in a template

commit 786977354b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Mar 11 22:54:21 2013 +0000

    add VIEW for duplex mismatches

commit f37ae8568e
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Mar 11 22:54:01 2013 +0000

    remove unecessary assign

commit 13af853582
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 23:40:53 2013 +0000

    fixes to main app to support reports

commit 55a0f3d8dc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 22:18:48 2013 +0000

    also update fontawesome to match bootstrap version

commit 83a2c74242
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 22:07:23 2013 +0000

    update bootstrap again, to include glyphicons with correct path

commit 25be8bfa92
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 19:27:37 2013 +0000

    implement first report - duplex mismatch - as a placeholder only

commit 00265a9323
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 18:41:40 2013 +0000

    report error on failure to load a plugin

commit af8f124bb2
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 18:37:19 2013 +0000

    change id for tag in device and search tab plugins

commit b818d4156f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 18:29:57 2013 +0000

    change id for tag in navbar plugins

commit f513000f08
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 17:21:23 2013 +0000

    implement register_report() and replace More menu with Reports menu

commit 4a16e3fde3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 17:00:44 2013 +0000

    Upgraded to Twitter Bootstrap 2.3.1 - customized for 13px font 18px line
2013-03-17 14:37:21 +00:00
Oliver Gorwits
a67478dd5c Convert useless die to error+return in Plugin.pm 2013-03-10 15:00:43 +00:00
Oliver Gorwits
b9e8e86148 fix broken doc links 2013-03-10 14:50:25 +00:00
Oliver Gorwits
a950ce533e Plugins can now 'register_template_path' and supply their own HTML templates 2013-03-10 00:50:39 +00:00
Oliver Gorwits
02c46e2275 bump version for release 2013-03-07 21:49:58 +00: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
5511005a23 update install doc to remove config which is now implicit 2013-03-05 19:26:26 +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
e3c0ae3554 All links and redirects are now relative
WARNING - this might break. We'll revert this commit if so.
The rationale is for those using proxies where the host name is not proxied
on, as in Apache's ProxyPreserveHost.
RFC2161 does not permit relative Location: header, but an upcoming revision
stil in-draft will apparently allow relative spec. I believe all browsers to
support relative Location: headers already.
2013-03-04 21:40:43 +00:00
Oliver Gorwits
d82fe1e2b0 refactor web start scripts to be more portable 2013-03-04 00:19:18 +00:00
Oliver Gorwits
5d33591903 Search by device port MAC no longer fatal 2013-03-02 15:56:13 +00:00
Oliver Gorwits
26c5014479 Partial Match option when searching on device port name 2013-03-02 15:25:01 +00:00
Oliver Gorwits
a94b5a913d avoid use of DNS when looking up devices in DB by IP 2013-02-24 23:15:49 +00:00
Oliver Gorwits
8a0311d4c5 eliminate unecessary COUNT check on available local jobs 2013-02-24 23:02:28 +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
edfb0f3e24 clarify some log msgs and set web session_dir 2013-02-24 21:08:26 +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
4b7543b945 Remove Daemon's job queue DBIC schema from user config 2013-02-24 01:00:34 +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
3829254fc8 fix search by device interface IP 2013-02-17 11:03:50 +00:00
Oliver Gorwits
e03b649b50 fix for wrong col used in query 2013-02-15 08:35:45 +00:00
Oliver Gorwits
6efe52b3ae use simple find for device ip or name 2013-02-13 16:23:02 +00:00
Oliver Gorwits
5f339c6ec6 new device search method to avoid DNS 2013-02-13 16:16:22 +00:00
Oliver Gorwits
f2ad03fdc5 bump version 2013-02-10 21:32:04 +00:00
Oliver Gorwits
4d832cb2a5 When linking to devices, use the DNS name in preference to the IP 2013-02-10 15:31:55 +00:00
Oliver Gorwits
b7e971074f minor fixes to POD 2013-02-09 23:01:39 +00:00
Oliver Gorwits
76c32e1669 add Plugin POD and knock back version to beta release 2013-02-09 22:31:43 +00:00
Oliver Gorwits
6756e3ff6e version bump 2013-02-09 19:48:28 +00:00
Oliver Gorwits
10e94aa138 migrate all tabs to be plugins 2013-02-09 18:40:07 +00:00
Oliver Gorwits
a684570fbd tabs now must be plugins also 2013-02-09 17:49:44 +00:00
Oliver Gorwits
eafa039bbd support for plugins for navbar items 2013-02-09 17:24:15 +00:00
Oliver Gorwits
367bd6f858 more appropriate usage of vars and template tokens in before and before_template 2013-02-09 16:11:12 +00:00
Oliver Gorwits
6671032952 Change port ordering for Arista and Foundry platforms 2013-02-02 19:51:31 +00:00
Oliver Gorwits
1e1b1f8f5d version bump - 2.004002 2013-01-30 13:19:45 +00:00
Oliver Gorwits
d71a78d408 add link to demo to docs 2013-01-30 13:13:04 +00:00
Oliver Gorwits
de03da8714 fix typo in schema diff 2013-01-30 13:10:57 +00:00
Oliver Gorwits
8775844a19 bump version 2013-01-29 22:59:15 +00:00
Oliver Gorwits
3a73b42860 upstream sql changes 2013-01-29 22:52:38 +00:00