Commit Graph

2098 Commits

Author SHA1 Message Date
nick n
c416e2505b more changes for 4.020003 2019-01-14 02:36:37 +01:00
nick n
0205a11f01 makerancidconf overhaul
* Use the Fullname in top bar of Web interface and not the login

* Implement the following parameters:
 - add a rancid_conf parameter to retrieve the existing type for RANCID devices
 - add the default_group parameter to add devices in this group if they doesn't match the other parameters
 - add the hability to work with the RANCID version in https://github.com/earendilfr/rancid with subdirectory for the configuration files

* Fix following issues:
- Problem during the check of ACL when we have a negate character. The begate character is deleted during the first check
- The renumber function doesn't want to start

* Revert "Fix following issues:"

This reverts commit a8d9e8200a925b1a4d24374827d3fd5146f85b40.

* Revert "Implement the following parameters:"

This reverts commit aa29ca924cd92943490e4a2420a3972054e81e41.

* Add the following parameters to the MakeRancidConf:

 + Change the default delimiter character from ':' to ';' that is the default RANCID delimiter since
   RANCID 3.x
 + Add an option to define the rancid config directory.
   This directory will be used to extract the vendor defined in the RANCID configuration to avoid to extract
   unexisting vendor devices in RANCID configuration (by example, Ubiquiti AirOS devices).
 + Add an option to define a default_group.
   If a device doesn't match the defined group, it will add to this group
 + Add an option to defined a manually excluded ACL
   To permit to not export devices from Netdisco to RANCID based on an ACL.

* New version of the pull request to merge the makerancid improvment.
I have fixe some errors that have impact the revert for the PR #408

I have manually check on my instance and didn't see any warning on the result of the command netdisco-do makerancidconf

* Fix an issue if the by_ip group not exist in the RANCiD part of configuration

* Print the entry sorted in the router.db file

* testing if the sql in #436 can be integrated

* a bit of documentation cleanup

* a few more doc fixes

* minor docs changes

* rename rancid_home to rancid_cvsroot, which is how the setting is defined in rancid. this should make things clearer

* a bit more in-depth examples. allow for more device types (allow - in their name). use strict & warnings

* just to many caps
2019-01-14 01:56:32 +01:00
Oliver Gorwits
562d525b78 #420 allow sidebar default to be overridden 2019-01-08 21:27:15 +00:00
Oliver Gorwits
cf93219b42 #420 change to better column name 2019-01-08 21:19:08 +00:00
nick n
8f952ce2e3 option to fix #457 (#481)
* move things to debug logging instead of info

* use message which was discussed

* fix for address table sorting
2019-01-08 20:53:46 +00:00
nick n
40df018ead also make os a link in device details (#482) 2019-01-08 20:53:17 +00:00
nick n
98a5e2c407 #479 part 2, use debug logging instead of info (#480)
#479 part 2, use debug instead of info logging.

2 whitespace cleanups also included, as well as rewording props -> properties like in the rest of portproperties.pm
2019-01-08 01:50:21 +01:00
Oliver Gorwits
1b2592321d address https://metacpan.org/pod/distribution/perl/pod/perldelta.pod#Removal-of-use-vars 2019-01-07 22:51:05 +00:00
Oliver Gorwits
7f1074ff84 #479 attempt better cache control for device ports 2019-01-07 22:47:13 +00:00
Oliver Gorwits
23a87f19fd be less strict about finding the IP for logging 2019-01-03 23:29:14 +00:00
Oliver Gorwits
b3f6ffe0d7 #424 column name is "Connected Nodes & Devices" when both are shown 2019-01-03 23:12:52 +00:00
Oliver Gorwits
1dc3e70e37 fix to hopefully catch txrate and rate being scalar not list, as reported by inphobia 2019-01-03 22:59:33 +00:00
Oliver Gorwits
7811c32147 fix cached ports list which needs to be complete rows for Neighbors.pm to work 2019-01-03 22:56:17 +00:00
nick n
272901204b remote stray </th>
firefox said:

XML Parsing Error: mismatched tag. Expected: </tr>.
Location: http://xxx/ajax/content/statistics
Line Number 59, Column 17:

you know what, it was right.
2019-01-03 20:45:43 +01:00
nick n
a8b88220e7 perhaps i can sneak my name in here too :) 2019-01-03 01:20:49 +01:00
nick n
879237ff62 getting a head start on 2.040003 changes
since things are moving fast, alrdy add what has been done.
2019-01-03 01:19:09 +01:00
Oliver Gorwits
ccb0f0c78a #475 fix discover plugins do not respect ignore* config 2019-01-02 22:36:59 +00:00
Oliver Gorwits
de27866077 update Build.PL to include autovivification dependency 2019-01-02 21:55:19 +00:00
Oliver Gorwits
5bc0afa2f5 #476 log on delete for rows from related tables 2019-01-02 21:44:36 +00:00
Oliver Gorwits
3769b7b66b fix to the fix for ospf_routers discovery 2019-01-02 20:56:41 +00:00
Oliver Gorwits
6a986783e4 fix to the fix for ospf_routers discovery 2019-01-02 20:54:50 +00:00
Oliver Gorwits
d614382fcd #436 new SQL query for neigbor map to allow mismatched/one-way links (Linwood-F) 2019-01-02 20:37:19 +00:00
Oliver Gorwits
505b7b5625 #471 fix bug in checking if there are OSPF router IDs to poll 2019-01-02 20:21:34 +00:00
nick n
ddb2456a4a netdisco-sshcollector doc cleanup
passed travis build, podchecker, proofreading & running netdisco-sshcollector.
2019-01-01 17:55:53 +01:00
inphobia
1ff34c39e6 correct public key documentation
whitespace cleanup (now passes podchecker)
openssh is also required
reference config file with F<>
2019-01-01 17:37:52 +01:00
Oliver Gorwits
df769c9720 release 2.040002 2018-12-30 10:57:54 +00:00
Oliver Gorwits
6eb098955a Merge branch 'master' of github.com:netdisco/netdisco 2018-12-30 10:53:13 +00:00
Oliver Gorwits
22a3e8c9f6 release 2.040001 2018-12-30 10:52:40 +00:00
nick n
485abbc9bd trailing whitespace 2018-12-30 07:52:27 +01:00
nick n
5fb9d52278 reference wiki, not nonexisting manual 2018-12-30 00:26:07 +01:00
Oliver Gorwits
9022e3ee8b updates to work with PhantomJS 2.x 2018-12-29 13:26:54 +00:00
Oliver Gorwits
6ed29f85ea update changes 2018-12-28 22:56:51 +00:00
Oliver Gorwits
e4dabe525c Always notify from Travis to IRC and email on any code commit 2018-12-28 18:34:29 +00:00
Oliver Gorwits
5cc99cf20f Update .travis.yml
Send git commit emails to the mail list from Travis, instead of from GitHub (they are retiring the option for that).
2018-12-28 18:24:05 +00:00
Oliver Gorwits
b4e5dc7af7 #422 Network map positions will not save (onlinehupe) 2018-12-28 17:56:12 +00:00
Oliver Gorwits
b445d237e4 #471 OSPF Neighbor Discovery by router ID 2018-12-28 17:32:40 +00:00
Oliver Gorwits
097bad6c48 release 2.040000 2018-12-28 17:02:56 +00:00
Oliver Gorwits
b0f17db700 Revert "workaround for #457 (#465)"
This reverts commit 08589ebf96.
2018-12-28 16:50:22 +00:00
Oliver Gorwits
7f8db7b00d build helpers for Mojave 2018-12-28 16:43:08 +00:00
nick n
8aed736925 ignore notpresent interfaces, with type filtering config item (set to [] to not filter). work done by postilion/nic bernstein, filter by me. also includes trailing space fix by nic. (#464) 2018-12-28 16:08:40 +00:00
nick n
86c38c9466 make job queue list in webinterface configurable (#469)
* add an option so you can define the amount of jobs returned in the webinterface jobq

* and now the actually working version
2018-12-28 16:01:40 +00:00
nick n
08589ebf96 workaround for #457 (#465)
i'm not in anyway versed in javascript, but this hack fixes #457 for me.
2018-12-28 16:00:13 +00:00
Christian Ramseyer
b1ca1b968d Improve netdisco-sshcollector CLI experience (#460)
* Improve netdisco-sshcollector CLI experience

 * add -d <device>
 * add -O debug option to toggle Net::OpenSSH::debug
 * add -w MCE::Loop max_workers
 * updated POD for all of the above

* Fix -Q documentation

 * Specifying -Q multiple times has no effect, removed part talking about that.

* Emit Net::OpenSSH connection failures as warnings
2018-12-28 15:58:32 +00:00
Christian Ramseyer
f5622929e0 Provide stdin to IOSXR.pm when none available (#462)
* See issue #461 for a detailed description
2018-12-28 14:33:02 +00:00
nick n
9f8dd0039b docs are maintained in wiki (#470)
per @ollyg:
"the manual files were all converted into GitHub wiki pages"
2018-12-28 14:32:05 +00:00
Jeroen van Ingen Schenau
f9e7550ca7 Merge pull request #468 from inphobia/patch-3
Fix two typos in PoD
2018-12-17 09:28:48 +01:00
Jeroen van Ingen Schenau
62bed4e2ca Merge pull request #467 from inphobia/patch-2
typo (paramter instead of parameter)
2018-12-17 09:27:38 +01:00
nick n
733f82c3dc 2 typos 2018-12-13 22:52:48 +01:00
nick n
e94f15dc8a typo (paramter instead of parameter)
typo (paramter instead of parameter)
2018-12-13 22:42:52 +01:00
Jeroen van Ingen Schenau
da23cb9bab Merge pull request #459 from inphobia/patch-2
1 more isdn interface to ignore
2018-11-28 09:50:12 +01:00