Commit Graph

110 Commits

Author SHA1 Message Date
Oliver Gorwits
e94e3cef3b remove Try::Tiny from web runtime 2013-05-08 23:06:41 +01:00
Oliver Gorwits
24c511786f display name and IP for device typeahead 2013-05-07 21:52:17 +01:00
Oliver Gorwits
5744b6845f complete the topology editor (add/delete) 2013-05-07 21:25:30 +01:00
Oliver Gorwits
11d55e0129 Manual Device Topology
Needed to add the 'autocomplete' jQuery UI component because
it can do minLength=0 properly. Used the smoothness UI theme.

Added typeahead AJAX calls to support the topology searching.

Added new plugin and template for the topology editing page.
2013-05-07 00:56:19 +01:00
Oliver Gorwits
9690a31f19 complete Manage Pseudo Devices 2013-05-06 22:03:17 +01:00
Oliver Gorwits
f75f1e5cbf add frontend update/del forms, and display port count 2013-05-06 00:45:18 +01:00
Oliver Gorwits
f0899e16b3 add frontend pseudo device add form 2013-05-05 23:53:20 +01:00
Oliver Gorwits
3271c01931 complete the code for admin tasks page loading 2013-05-05 21:45:38 +01:00
Oliver Gorwits
5c8a5754f6 also set neighbor info when discovering device interfaces 2013-05-05 16:16:20 +01:00
Oliver Gorwits
acb988b6af try to avoid duplicate execution of scheduled jobs 2013-05-05 15:34:20 +01:00
Oliver Gorwits
c6bcaf66c5 do not clobber manual topo when discovering neighbors 2013-05-05 14:23:35 +01:00
Oliver Gorwits
d9a6a1882a User icon color indicates port_control/admin ability 2013-05-05 13:05:18 +01:00
Oliver Gorwits
2cdcb9db7e add support for admin tasks as plugins 2013-04-29 23:34:27 +01:00
Oliver Gorwits
075a770c9a skip pseudo devices (vendor netdisco) 2013-04-29 22:23:20 +01:00
Oliver Gorwits
045c022d42 incorporate manual topo info from the topology db table 2013-04-29 21:58:33 +01:00
Oliver Gorwits
09285d42b4 add unique constraints to topology table 2013-04-27 18:39:12 +01:00
Oliver Gorwits
8dca426e92 select MAC Address display format on Node and Device Port search 2013-04-24 22:18:04 +01:00
Oliver Gorwits
407a3eb270 make navbar search fuzzier 2013-04-23 22:50:10 +01:00
Oliver Gorwits
9875c70f41 much better handling of mibhome 2013-04-19 23:36:06 +01:00
Oliver Gorwits
cb6f125c73 discover root_ip properly 2013-04-13 20:26:59 +01:00
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