Commit Graph

699 Commits

Author SHA1 Message Date
Oliver Gorwits
2c4f56b1d9 remove OO notation from jobqueue calls 2014-06-20 20:21:54 +01:00
Oliver Gorwits
869f35ec31 add missing imports for jobqueue 2014-06-20 20:08:58 +01:00
Eric A. Miller
6389783174 Eliminate a database call in device module inventory report when options are used 2014-06-19 19:22:18 -04:00
Eric A. Miller
2324ae14d3 Use with_poestats in device details 2014-06-19 19:05:19 -04:00
Eric A. Miller
3c2b9a3ee3 Remove unused port_tree() 2014-06-19 19:04:13 -04:00
Eric A. Miller
184f320299 Change node vendor report by vendor to use server-side processing 2014-06-19 19:03:09 -04:00
Eric A. Miller
89de64b20d Change node netbios report by domain to use server-side processing 2014-06-19 19:02:28 -04:00
Eric A. Miller
f136332833 DataTables for device PoE status report 2014-06-19 19:00:37 -04:00
Eric A. Miller
d79c011bf0 Add DevicePoeStatus virtual view to support device PoE Status report
Add with_poestats to DevicePower ResultSet to support power report in device detail tab
Remove with_poestats_as_hashref from Device  ResultSet as DevicePoeStatus view and with_poestats are more efficient
2014-06-19 18:58:28 -04:00
Oliver Gorwits
82b5c9c485 Merge branch 'master' of ssh://git.code.sf.net/p/netdisco/netdisco-ng 2014-06-12 14:53:43 +01:00
Eric A. Miller
e60b5f8ff9 DataTables for Access Point Radios Channel and Power report
Optimize SQL for ap_radio_channel_power virtual table
Convert mW to dBm via the database query
2014-06-11 19:33:36 -04:00
Eric A. Miller
86d02cc088 Add oui abbrev field to node search results for linking 2014-06-11 18:26:14 -04:00
Oliver Gorwits
3b94eafe00 get rid of horrid OO jobqueue interface 2014-06-11 22:34:33 +01:00
Oliver Gorwits
8e0be7d489 do not quote Pg after all 2014-06-11 22:26:49 +01:00
Oliver Gorwits
c10095939b Set UTF-8 mode and DBIC quoting on Pg database connection 2014-06-11 09:12:40 +01:00
Oliver Gorwits
5988302a65 fix for perl 5.10 not auto-dereferncing 2014-06-11 06:58:37 +00:00
Eric A. Miller
f00ebf9ecc Convert device module inventory web report to DataTables server-side processing 2014-06-08 22:42:07 -04:00
Eric A. Miller
56e1bd9911 Use current_source_alias on unqualified columns in DataTables server-side where clause construction 2014-06-08 22:39:16 -04:00
Eric A. Miller
40091673b4 DataTables for admin user log report 2014-06-08 22:27:17 -04:00
Eric A. Miller
e05c79bdbc Add methods to App::Netdisco::DB::ResultSet to support DataTables Server-side processing 2014-06-08 22:26:02 -04:00
Eric A. Miller
ecc30e4944 Add App::Netdisco::Util::ExpandParams a CGI::Expand subclass with Rails like tokenization for parameters passed during DataTables server-side processing. 2014-06-08 21:59:00 -04:00
Eric A. Miller
c8b05263e6 Eliminate one db call in IP subnet utilization report. Limit clause is not applied until after all rows to be returned are calculated so calling has_rows provides no optimization versus calling ->all in controller and checking for results before sending to template. Also use HashRefInflator. 2014-06-07 14:52:26 -04:00
Eric A. Miller
9fa54f3fae DataTables for device addresses tab 2014-06-04 23:14:21 -04:00
Eric A. Miller
3ce40b1191 DataTables for node search results tab 2014-06-03 20:16:22 -04:00
Eric A. Miller
b5a7836f79 Add oui relationship to NodeWireless result class 2014-06-03 19:46:55 -04:00
Eric A. Miller
e5f157aa21 Add net_mac column to DevicePort, NodeNbt, and NodeWirless Result classes to enable consistent MAC formatting 2014-06-03 19:45:03 -04:00
Oliver Gorwits
6a18a3d65b Store started timestamp on job completion 2014-06-03 22:18:47 +01:00
Oliver Gorwits
37dbb9527c Forward port housekeeping/schedule and expiry/expire legacy config 2014-06-03 15:21:43 +00:00
Eric A. Miller
1258049483 DataTables for VLAN search results tab
Modify carrying_vlan and carrying_vlan_name searches to use device_vlan table to capture devices carrying a VLAN but no port members
2014-06-02 23:27:40 -04:00
Eric A. Miller
4f7a2097fc DataTables for port search results tab
Use device_port_vlan table to search for VLANs rather than the device_port table
2014-06-02 22:47:34 -04:00
Eric A. Miller
a34094cc6c DataTables for device search results tab 2014-06-02 22:41:47 -04:00
Eric A. Miller
592307dd32 Fix for device counts in VLAN Inventory report 2014-06-02 22:38:54 -04:00
Eric A. Miller
8ddd5c3d2d some older cisco devices report a numeric value for class, ignore null as a class 2014-05-29 23:02:16 -04:00
Eric A. Miller
669333d490 Datatables for IP Phones discovered through LLDP/CDP report 2014-05-29 23:00:28 -04:00
Eric A. Miller
14e401813b Merge branch 'master' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into em-datatables-v1_10_0 2014-05-29 20:45:24 -04:00
Eric A. Miller
0288f3be24 remove limit from module inventory options 2014-05-29 20:33:58 -04:00
Eric A. Miller
8590b6781f DataTables for IP inventory report 2014-05-29 20:32:44 -04:00
Eric A. Miller
7d5c3f3191 DataTables for nodes with multiple active IP addresses report 2014-05-29 20:30:28 -04:00
Eric A. Miller
9a11ab08b1 DataTables for node vendor inventory report 2014-05-29 20:28:18 -04:00
Eric A. Miller
2111a4079b standardize variable names 2014-05-28 23:52:08 -04:00
Eric A. Miller
cff24e4834 DataTables for NetBIOS inventory report 2014-05-28 23:44:33 -04:00
Eric A. Miller
fa1f928c09 DataTables for access point client count report 2014-05-28 23:43:55 -04:00
Eric A. Miller
0e2c006efb DataTables for VLAN inventory report 2014-05-28 23:43:13 -04:00
Eric A. Miller
998ca5a92a DataTables for port SSID and SSID inventory reports 2014-05-28 23:42:43 -04:00
Eric A. Miller
f7a3ed2bed DataTables for access point channel distribution report 2014-05-28 23:41:05 -04:00
Eric A. Miller
0a5686b454 DataTables for ports in half duplex mode report 2014-05-28 23:40:07 -04:00
Eric A. Miller
4df2b5d216 DataTables for duplex mismatches between devices report 2014-05-28 23:39:06 -04:00
Oliver Gorwits
ba38f9e93d Revert "[#23] Move to NetAddr::MAC for better handling of MACs"
This reverts commit 562b3d26db.

Discovered a few unpolished bits of NetAddr::MAC, unfortunately. For example
$NetAddr::MAC::errstr is not reset when new instances are created.
2014-05-28 23:23:08 +01:00
Eric A. Miller
27e5343335 DataTables for ports with multiple nodes attached report 2014-05-27 23:27:05 -04:00
Eric A. Miller
4105319987 DataTables for ports that are blocking report 2014-05-27 23:27:05 -04:00