Commit Graph

202 Commits

Author SHA1 Message Date
Oliver Gorwits
8d01a415e7 strip whitespace from model on HP 2018-03-05 22:55:36 +00:00
Oliver Gorwits
66ecb203a7 #370 Missing Map Links due to inability to parse port speeds 2018-03-05 21:42:02 +00:00
Oliver Gorwits
0229d46f86 fix typo in log 2018-03-02 20:20:17 +00:00
Oliver Gorwits
e1b9f2225e move wap and phone detection into portproperties worker 2018-03-01 04:56:07 +00:00
Oliver Gorwits
94da566184 gather lldp remote capabilities and info 2018-02-28 21:41:34 +00:00
Oliver Gorwits
7191a1cd00 implement port properties table and error disable gathering to it 2018-02-20 22:45:53 +00:00
Oliver Gorwits
3e7ffe8045 handle malformed IPs in c_ip results 2018-02-20 22:15:22 +00:00
Oliver Gorwits
fb193b7f83 #374 fix renumber cli command (earendilfr) 2018-02-15 08:28:42 +00:00
Oliver Gorwits
c1f9033125 routed neighbors only queue if not also l2 neighbor 2018-02-11 21:54:28 +00:00
Oliver Gorwits
e31cb803eb split device properties and alias discovery and allow cancel after properties 2018-02-11 12:31:16 +00:00
Oliver Gorwits
b213d0b9af cancel early if we can 2018-02-11 12:07:12 +00:00
Oliver Gorwits
d3c83c395d cancel jobs when it is known fresh device is already discovered 2018-02-11 11:16:56 +00:00
Oliver Gorwits
147c02a956 fix renumber when running at cli 2018-02-10 23:14:31 +00:00
Oliver Gorwits
4acad9932e better names for timeout settings 2018-02-10 22:27:29 +00:00
Oliver Gorwits
748ebba7c0 watch for dupe IPs 2018-02-10 16:38:38 +00:00
Jeroen van Ingen
51bd5dc21f Be more liberal and extendable in accepting psql options 2018-02-05 18:23:58 +01:00
Oliver Gorwits
403ab48157 #47 gather IPv6 Interface Addresses 2018-02-02 18:32:06 +00:00
Oliver Gorwits
f4623c47bf Allow netdisco-do show to run when no func is available to handle request 2018-02-02 14:50:55 +00:00
Oliver Gorwits
60b8705496 better log messages during worker running 2018-02-01 20:38:32 +00:00
Oliver Gorwits
35980ba0cd improve logging on routed peers worker 2018-02-01 18:46:18 +00:00
Oliver Gorwits
a78f3b8e5d remove unnecessary snmp reindex 2018-02-01 18:32:40 +00:00
Oliver Gorwits
8b372bc9fb skip devices in makerancidconf that have no real vendor 2018-02-01 18:07:25 +00:00
Oliver Gorwits
e5e2fc4ac4 fix very wrong rancid conf parser 2018-02-01 18:02:34 +00:00
Oliver Gorwits
1f1af381fb Do not attempt Canonical IP change to non-discoverable IP [skip ci] 2018-02-01 15:32:35 +00:00
Oliver Gorwits
dec681a2d5 #332 Autodiscovery via BGP and OSPF peers [skip ci] 2018-02-01 11:24:40 +00:00
Oliver Gorwits
3bb11c426b New MakeRancidConf worker (and makerancidconf action) 2018-01-31 19:59:17 +00:00
Oliver Gorwits
7b1ef2b0c1 minor tidying [skip ci] 2018-01-31 15:53:33 +00:00
Oliver Gorwits
01d795c381 #368 ND2_DB_ROLLBACK environment variable to roll back job updates to DB [skip ci] 2018-01-31 14:54:31 +00:00
Oliver Gorwits
2c0d0b3cc7 #228 timeout setting (default 10min) for backend jobs 2018-01-31 14:13:16 +00:00
Oliver Gorwits
afeac23fba #364 expire_nodeip_freshness setting to revert expire to ND1 behavior [skip ci] 2018-01-31 11:49:08 +00:00
Oliver Gorwits
382022d3eb tidy up reindex call 2018-01-28 18:33:17 +00:00
Ambroise
0bc5c68ed8 Retrieve vrf interfaces (#366)
Allow to retrieve the VRF interface for some devices (used for Nexus devices).
The SNMP::Info::Layer3::Nexus module should have the patch to retrieve the VRF context.
And the context should have been created on Nexus device
2018-01-28 18:28:07 +00:00
Oliver Gorwits
880d5b6951 add NETDISCO_DB_* 2018-01-19 01:17:11 +00:00
Oliver Gorwits
f4930f9582 Fix for PoE setting missing a variable declaration (R. Lewis) 2018-01-15 08:17:28 +00:00
Oliver Gorwits
60b279928d Fix for VLAN setting missing a variable declaration 2018-01-10 01:14:45 +00:00
Oliver Gorwits
f84d71a817 Fix for VLAN setting missing a variable declaration 2018-01-09 09:56:02 +00:00
Oliver Gorwits
4716be4c2f more useful to log the ID than the type (esp in homogeneous networks) 2018-01-05 17:41:02 +00:00
Oliver Gorwits
9f3ccb43db always debug log the phases running 2018-01-04 22:36:07 +00:00
dgeo
d397aa1744 fix #361 (#362) 2018-01-04 20:53:23 +00:00
Oliver Gorwits
94f80f3c70 Make expire_nodes and expire_nodes_archive behave correctly 2018-01-04 20:17:47 +00:00
Oliver Gorwits
9c60727c9f Allow default schedule items to be skipped by setting to 'null' 2017-12-21 20:05:46 +00:00
Oliver Gorwits
fc4bfa8628 fix sshcollector 2017-12-14 21:42:01 +00:00
Oliver Gorwits
45a0a75d96 change from settings to vars for tracking param defaults 2017-12-11 23:51:01 +00:00
Oliver Gorwits
629b046a94 add log for skipping when duplicate lldpRemChassisId seen 2017-11-28 21:05:51 +00:00
Oliver Gorwits
b47a22e3da add better logging of plugins 2017-11-28 20:50:09 +00:00
Oliver Gorwits
38110c2868 update docs in Status 2017-11-26 15:13:37 +00:00
Oliver Gorwits
26b4bdb907 change noop to info, and some fixes 2017-11-25 12:29:08 +00:00
Oliver Gorwits
3db242cbe8 support action::namespace for netdisco-do 2017-11-23 22:16:50 +00:00
Oliver Gorwits
0bb15f36b9 fixes for race conditions and dupes in job queue
we had situations where the manager would start workers on the same job,
either because of race conditions or because at the time of queueing it wasn't
known that the jobs were targeting the same device (due to device aliases).

this commit removes duplicate jobs, reduces the need for locking on the job
queue, and makes use of lldpRemChassisId to try to deduplicate jobs before
they are started. in effect we have several goes to prevent duplicate jobs:

1. at neighbor discovery time we try to skip queueing same lldpRemChassisId
2. at job selection we 'error out' jobs with same profile as job selected
3. at job selection we check for running job with same profile as selected
4. the job manager process also checks for duplicate job profiles
5. at job lock we abort if the job was 'errored out'

all together this seems to work well. a test on a large university network of
303 devices (four core routers and the rest edge routers, runing VRF with many
duplicate identities), ~1200 subnets, ~50k hosts, resulted in no DB deadlock
or contention and a complete discover+arpnip+macsuck (909 jobs) in ~3 minutes
(with ~150 duplicate jobs identified and skipped).
2017-11-23 19:55:34 +00:00
Oliver Gorwits
c576a755af tweak log message 2017-11-21 10:00:53 +00:00