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: commitfa25f36e14Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Apr 10 22:43:47 2013 +0100 fix HTTP port at 5000 commit202ea4a84cAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Apr 10 22:33:03 2013 +0100 bug fixes in discover commit925d9e4d6bAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Apr 10 21:51:44 2013 +0100 add mini app for one-time jobs commitd3a6c08a9dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Apr 10 21:46:55 2013 +0100 better name for subaction commit4adf473b20Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Apr 10 20:15:18 2013 +0100 add logging of db add/del commit8aacafedaaAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Apr 10 19:49:00 2013 +0100 copy all remaining messages from netdisco 1 commit3e1156df1fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Apr 8 22:09:40 2013 +0100 alter some log levels and messages commite7ea92920fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Apr 8 20:32:33 2013 +0100 store wireless ssid and port info to DB commitd1d16938a1Author: Oliver Gorwits <oliver@cpan.org> Date: Fri Apr 5 08:52:59 2013 +0100 update packaging for new files and deps commit965990786fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 22:22:50 2013 +0100 implementation of find_neighbors commit03c4d8ef09Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 20:42:11 2013 +0100 add discoverall and discover_neighbors poller jobs commitdf68ff0890Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 19:52:37 2013 +0100 implementation of store_modules commitc2ac19e647Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 19:32:14 2013 +0100 implementation of store_power commitb7fb8c64a0Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 18:48:09 2013 +0100 implementation of store_vlans commitb8ddbd1ecaAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 17:08:06 2013 +0100 implementation of store_wireless (without storing, yet) commit2a14057481Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 16:47:21 2013 +0100 implementation of store_interfaces (without wireless) commitd5b2b71d34Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 15:12:19 2013 +0100 only start Manager if there are pollers or interactives commitf4a3dac760Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 15:03:10 2013 +0100 change sub names so as not to collide with Dancer commita8f0894986Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 14:47:28 2013 +0100 implementation of refresh, discover, and store_device commit4c2e3cf82dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 11:38:15 2013 +0100 make get_device return a new result object commite6ac131658Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 10:38:22 2013 +0100 better POD section name commit6c5b6bbbeeAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Apr 4 10:37:46 2013 +0100 implement separate snmp_connect and snmp_connect_rw methods commit62c8e19063Author: 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 commitebb65996e6Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Apr 1 20:00:36 2013 +0100 add refresh poller job commit05928e8cf6Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Apr 1 19:31:39 2013 +0100 Refactor Util namespace Squashed commit of the following: commit789c528fcfAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Apr 1 19:31:07 2013 +0100 update manifest and fix typo commitb95d0951f2Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Apr 1 19:22:41 2013 +0100 refactor ::Util namespace commita8dde50343Author: 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 commitb42daee4c1Merge:6e5276295bb8fcAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Mar 27 21:00:09 2013 +0000 Merge branch 'master' into og-poller commit6e527629a2Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Mar 26 23:39:23 2013 +0000 fixes and log messages commitcfcb7a956fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Tue Mar 26 22:57:06 2013 +0000 bug fixes commit48f779a8d0Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Mar 26 22:42:16 2013 +0000 add config for scheduled tasks commit2f6efcb312Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Mar 26 22:15:04 2013 +0000 create poller worker and add poller type stubs commit52b28b0ab8Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Mar 26 22:04:00 2013 +0000 code tidy commit96db66739fAuthor: 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 commitcb25216f40Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Mar 24 20:22:11 2013 +0000 make scheduler start automatic based on housekeeping setting existing commit0acbe8abd3Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Mar 24 19:45:24 2013 +0000 add scheduler based on Algorithm::Cron commit49d136b57aAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Mar 24 18:48:10 2013 +0000 add unique constraint on admin/job queue
		
			
				
	
	
		
			350 lines
		
	
	
		
			9.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			350 lines
		
	
	
		
			9.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 2.007000_002 - 
 | |
| 
 | |
|   * NOTE this version requires SNMP::Info 3.x
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Finally we have a discover/refresh daemon job :)
 | |
|   * Also... a Scheduler which removes need for crontab installation
 | |
|   * The netdisco-do script can run a one-off discover for a device
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Rename plugins developer doc to .pod
 | |
|   * Update to latest Bootstrap and JQuery, and temp. fix #7326 in Bootstrap
 | |
| 
 | |
| 2.007000_001 - 2013-03-17
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Reports are implemented (as plugins) - new Duplex Mismatch plugin
 | |
|   * Plugins can now 'register_template_path' and supply their own HTML templates
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Upgraded to Twitter Bootstrap 2.3.1 - customized for 13px font 18px line
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Convert useless die to error+return in Plugin.pm
 | |
|   * Documentation fixups
 | |
| 
 | |
| 2.006000 - 2013-03-07
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Documentation fixups
 | |
| 
 | |
| 2.005000_004 - 2013-03-05
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Documentation fixups
 | |
| 
 | |
| 2.005000_003 - 2013-03-05
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Partial Match option when searching on device port name
 | |
|   * web,daemon,deploy scripts will try to find "localenv" automatically
 | |
|   * Scripts can be run from a git clone
 | |
|   * New NETDISCO_HOME env var to override Netdisco's HOME
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * random() and LIMIT the number of daemon jobs requested from Netdisco queue
 | |
|   * Remove Daemon's job queue DBIC schema from user config
 | |
|   * Add log messages to the Daemon
 | |
|   * Use Path::Class for path and file name construction consistently
 | |
|   * All links and redirects are now relative
 | |
|   * More documentation on developing and deployment
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Avoid use of DNS when looking up devices in DB by IP
 | |
|   * Search by device port MAC no longer fatal
 | |
|   * URI and HTML escape template variables
 | |
|   * Prevent duplicate requets caused by favicon.ico link
 | |
|   * DB Schema upgrades are now all single-step in case user has applied any already
 | |
| 
 | |
| 2.005000_002 - 2013-02-10
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * When linking to devices, use the DNS name in preference to the IP
 | |
|     (makes for more attractive navigation search bar, but need to watch for aliases)
 | |
|   * In general, device names do not have domain_suffix trimmed, but nodes do
 | |
|   * Search on device interface alias now works for typeahead and device redirect
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Updated the print CSS
 | |
|   * Minor fixes to POD
 | |
| 
 | |
| 2.005000_001 - 2013-02-09
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Support for Web Plugins (see App::Netdisco::Web::Plugin)
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Do not include inventory items which don't have full OS details
 | |
|   * Hide Legend item relating to port control if not an admin
 | |
|   * No-Wrap on port name column
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Change port ordering for Arista and Foundry platforms
 | |
| 
 | |
| 2.004002 - 2013-01-30
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Typo in one of the schema migration files
 | |
| 
 | |
| 2.004001 - 2013-01-29
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Device Port filter by vlan includes both tagging and untagged (closes #37)
 | |
|   * Change colour and name of Port Control toggle option in Device Port View
 | |
|   * Incorporate latest DB schema changes from upstream
 | |
|   * Add some doc clarifcations
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * No longer prompt for demo/demo credentials (closes #38) (J. Binks)
 | |
|   * Display IP in Vlan search if device has no DNS (closes #36) (J. Binks)
 | |
| 
 | |
| 2.004000 - 2013-01-14
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Very naughty typo in netmap code, which I forgot to merge a fix for.
 | |
|   * Typo in installation docs (S. Gupta)
 | |
| 
 | |
| 2.002000 - 2013-01-06
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Syntax error in netdisco-daemon-fg
 | |
|   * Missing installation of netdisco-web-fg
 | |
| 
 | |
| 2.001000_001 - 2013-01-06
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Added daemonized version of the web-app server also using Daemon::Control
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Daemons now log to ~/logs/netdisco-{web,daemon}.log
 | |
|   * Finally wrote the DEVELOPING.pod documentation
 | |
|   * Removed the MCE workarounds as upstream merged fixes
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Fix sloppy schema calls which broke netmap
 | |
| 
 | |
| 2.01_001 - 2013-01-05
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Rewrite of the daemon to use Daemon::Control and MCE (cleaner netdisco
 | |
|     code and fewer deps)
 | |
|   * Version bump so that we'll be releasing odd numbered beta dists
 | |
| 
 | |
| 2.00_012 - 2012-12-21
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Move Changes file to be in CPAN Dist
 | |
|   * Update install docs to use URL for package until we are CPAN-indexed
 | |
| 
 | |
| 2.00_011 - 2012-12-20
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * store daemon db in the netdisco home area
 | |
|   * confirm db schema deployed
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * fix mistake in docs for schema file name
 | |
|   * bug with using last inside try{}
 | |
|   * bug with txn_do in Manager worker
 | |
| 
 | |
| 2.00_010 - 2012-12-20
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * new netdisco-deploy script to do all deployment tasks at once
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * update README with full deployment instructions
 | |
|   * add SNMP settings for daemon to environment
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * upgrade db incrementally
 | |
|   * rename schema files to be App-*
 | |
|   * fix for older Perl which warns about a bug in File::Slurp
 | |
|   * fix bug with empty DANCER_APPDIR
 | |
|   * fix version strings for platform warning
 | |
|   * add missing JSON dependency
 | |
|   * fix sharedir to use dist dir not module dir
 | |
|   * remove redundant lines in Makefile.PL
 | |
| 
 | |
| 2.00_009 - 2012-12-17
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Relocate into App::Netdisco namespace
 | |
|   * Make a proper CPAN-ready dist using Module::Install
 | |
|   * Update OUI data when the DB schema is deployed/upgraded
 | |
| 
 | |
| 2.00_008 - 2012-12-16
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Refactor to make less webby and more suitable to be a complete Netdisco app
 | |
|   * Network Map now shows all device neighbors and allows click-through nav
 | |
|   * Add new netdisco-daemon to handle port_control actions
 | |
|   * Add PoE control to port_control (+ up/down,vlan,name,location,contact)
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * eradicate checks for dns column in node_ip table - now assumed to be there
 | |
|   * remove .pl from script names
 | |
|   * no longer deploy FK constraints with DB schema as they upset legacy netdisco.pm
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * port cotrol user log check now looks for all actions
 | |
|   * node search switchport link shows connected nodes again
 | |
|   * show device IP in search results when DNS is not available
 | |
| 
 | |
| 0.7 - 2012-11-25
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Add Port Control (admin table) features to web
 | |
|   * Implement DBIx::Class::Schema::Versioned support - DB schema is now versioned
 | |
|   * Navbar query for device with single hit redirects to Device details page
 | |
|   * Show device name on device details views (closes #30)
 | |
|   * Migrated to Font Awesome for a wider range of icon fonts
 | |
|   * Simple network map showing *some* links between devices
 | |
|   * Individual column selections for connected nodes and devices
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Move DBIC virtual tables into Virtual:: namespace (closes #19)
 | |
|   * Maintain node search options when changing navbar query (closes #27)
 | |
|   * Device port connected devices now off, Display Cols shown by default
 | |
|   * Remove various dummy <a> tags that were encouraged by Bootstrap
 | |
|   * Node search link enables connected devices column (closes #31)
 | |
|   * Better layout of sidebar pinning
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Fix netgear port ordering (closes #26)
 | |
|   * Fix Foundry 10GE port ordering
 | |
| 
 | |
| 0.6 2012-08-28
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Icon to copy Navbar search text to Device Search Options field (closes #11)
 | |
|   * Typeahead on the main navbar search (for devices only)
 | |
|   * Support for have_nodeip_dns_col setting (closes #14)
 | |
|   * Set focus to navbar search on initial login or when changing to home (closes #24)
 | |
|   * Port filter supports basic */?/%/_ wildcards (closes #25)
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Native copy of the Netdisco sort_port routine (#17)
 | |
|   * Refactor begin hooks (closes #16)
 | |
|   * Re-engineer link generation to ensure sane defaults and remembered options.
 | |
|     This came as a side-effect of removing JS-only links (closes #21)
 | |
|   * Replace jquery-collapser with Bootstrap's collapser
 | |
|   * Upgraded to Twitter Bootstrap 2.1.0 - customized for 13px font 18px line
 | |
|   * Factor out inventory queries to the Device ResultSet (closes #20)
 | |
|   * Clicking on a port to restrict search now uses AJAX instead of page get
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Fix sidebar hiding not making main content reflow to full window width (#15)
 | |
| 
 | |
| 0.5 2012-03-09
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Inventory page
 | |
|   * Migrate to Twtitter Bootstrap v2.x (thanks Eric Miller!)
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Device Ports table port name is clickable to limit to that port only
 | |
|   * Tidy up display of Device Port Neighbors
 | |
|   * Refactor all SQL/DBIC to be smarter and more efficient
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Fix Net::MAC explosion (#8)
 | |
|   * Fix partial IP Addr explosion (#7)
 | |
|   * Set distinct on device search (#12)
 | |
|   * Fix strikethrough on tab change (#9)
 | |
| 
 | |
| 0.4 2012-02-19
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Sidebar can be pinned in place to keep it visible when scrolling.
 | |
| 
 | |
| 0.3  2011-02-03
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * Browser History is updated with each tab change (HTML5 State). Also
 | |
|     the browser url is updated, meaning the Bookmark icon is no longer
 | |
|     necessary.
 | |
| 
 | |
|   * Sidebar is now on the right hand side of the window, and is only
 | |
|     displayed when there are options for the current tab.
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Refactor Javascript to place most in a static file, speed templating.
 | |
|   * Refactor Stylsheets to better organise and comment the settings.
 | |
|   * When Device Search sidebar is in use, strikethrough the navbar search.
 | |
| 
 | |
| 0.2  2011-01-22
 | |
| 
 | |
|   [NEW FEATURES]
 | |
| 
 | |
|   * "Show All Ports" in Device Ports view:
 | |
|     A little sweeping brush icon appears when the ports view is filtered.
 | |
|     Clicking the icon will clear the filter and resubmit the form.
 | |
| 
 | |
|   * Sidebar can be hidden and unhidden to assist viewing of wide tables.
 | |
| 
 | |
|   * Added Print Stylesheet (hides navbar and sidebar).
 | |
| 
 | |
|   [ENHANCEMENTS]
 | |
| 
 | |
|   * Added this Changes file.
 | |
|   * Reorganised TT template file names and locations.
 | |
|   * Connected device Age is now rounded to the minute.
 | |
| 
 | |
|   [BUG FIXES]
 | |
| 
 | |
|   * Join type to OUI table is now "LEFT" to allow empty OUI table.
 | |
|   * Device Ports Legend show/hide arrow was pointing the wrong way.
 | |
|   * Increase TT WHILE_MAX to allow very long lists of ports.
 | |
| 
 | |
| 0.1  2011-01-18
 | |
| 
 | |
|   * Initial release on an unsuspecting world.
 |