Commit Graph

43 Commits

Author SHA1 Message Date
Oliver Gorwits
b51edbccd2 only abort lock if action matches badactions 2017-05-23 16:11:29 +01:00
Oliver Gorwits
415559b24f set skipover true when adding to actionset 2017-05-23 13:56:42 +01:00
Oliver Gorwits
1086f2c467 fix empty actionset 2017-05-23 13:50:56 +01:00
Oliver Gorwits
31962580b8 Merge branch 'og-device_skip' of github.com:netdisco/netdisco into og-device_skip 2017-05-23 13:25:08 +01:00
Oliver Gorwits
6808133bdb in-job checks for acls are required for netdisco-do foreground actions 2017-05-23 13:19:54 +01:00
Oliver Gorwits
3944dd7813 avoid extra device lookup 2017-05-23 13:18:30 +01:00
Oliver Gorwits
9b2e993e0f also delete device_skip rows when deleting device 2017-05-23 12:31:36 +01:00
Oliver Gorwits
b55854e91d actions in device_skip table are now an array/set 2017-05-23 11:34:27 +01:00
Oliver Gorwits
5e126eef07 typo 2017-05-23 09:36:33 +01:00
Oliver Gorwits
44266f2767 *able checks within jobs should not be necessary with skiplist 2017-05-23 09:14:25 +01:00
Oliver Gorwits
e7c22e7d11 increment deferrals field when job is deferred 2017-05-23 08:58:57 +01:00
Oliver Gorwits
88ae9c00ba turn connect fail into defer 2017-05-23 08:40:27 +01:00
Oliver Gorwits
eac1857043 rename failures column to be deferrals 2017-05-23 08:26:59 +01:00
Oliver Gorwits
96ed444bbb set up list of jobs the backend instance should skip 2017-05-22 22:52:51 +01:00
Oliver Gorwits
3a0019296d separate out is_*able last_* checks 2017-05-22 22:01:50 +01:00
Oliver Gorwits
cf8589aba2 change from ignore to skip name 2017-05-21 22:35:38 +01:00
Oliver Gorwits
ed193356f8 device_ignore table to track devices to skip in polling 2017-05-21 14:52:37 +01:00
Oliver Gorwits
47a5f40efe bug fix 2017-05-20 16:15:56 +01:00
Oliver Gorwits
da04522199 add site_local_files feature for easy lib/template override 2017-05-14 21:12:19 +01:00
Oliver Gorwits
824ec751e2 efficiency gains in set_canonical_ip 2017-05-14 20:50:03 +01:00
Oliver Gorwits
3816aad829 support for device identity steering via device_identity 2017-05-12 20:19:04 +01:00
Oliver Gorwits
849e0ddfd9 support Netdisco device_ip instances in match thing 2017-05-12 19:22:58 +01:00
Oliver Gorwits
5e55c60ee8 fail safe on _no acl matching 2017-05-12 18:25:57 +01:00
Oliver Gorwits
4df2bc45ea use check_acl for dns->no acl 2017-05-10 21:13:03 +01:00
Oliver Gorwits
156f2abfa7 docs fixes for new acl handling 2017-05-10 20:58:33 +01:00
Oliver Gorwits
762ce952d1 tidy up calls to check_{node|device}_{no|only} to use only check_acl* 2017-05-10 18:54:38 +01:00
Oliver Gorwits
95598b5468 basic implementation of named acls (need to tidy up calls to check_acl) 2017-05-07 13:34:21 +01:00
Oliver Gorwits
2c41b2925d template_paths config to allow easier override of web templates 2017-05-06 17:59:50 +01:00
Oliver Gorwits
d0472a9ddf #309 missing Device Port VLAN Mismatch CSV template 2017-05-06 16:50:34 +01:00
Oliver Gorwits
d74ccac4f6 rename *-daemon apps to be *-backend
Squashed commit of the following:

commit 39b438aa4b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 16:40:11 2017 +0100

    add release notes

commit ca4ea90d35
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 16:32:06 2017 +0100

    update distmeta

commit 4e35b904b0
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 16:30:22 2017 +0100

    rename files from Daemon to Backend

commit 86a605ba68
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 16:26:43 2017 +0100

    rename daemon to backend in code

commit ffe8fc180f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 16:15:57 2017 +0100

    add daemon files which exec to backend equivalents

commit 53e041594e
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 15:32:49 2017 +0100

    rename netdisco-daemon to netdisco-backend
2017-05-06 16:40:48 +01:00
Oliver Gorwits
03f41f1177 Enhance the ACL options to include AND and negation
Squashed commit of the following:

commit 7673f3ee1e
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 14:19:19 2017 +0100

    allow check_acl to accept Device or NetAddr::IP instance

commit c31059bc01
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 14:19:00 2017 +0100

    update docs

commit deaeab2670
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat May 6 14:18:27 2017 +0100

    SNMP only stanza has access to full check_acl features

commit 4a44fa5863
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon May 1 18:49:38 2017 +0100

    add AND operator and negation support to ACLs
2017-05-06 15:16:04 +01:00
Oliver Gorwits
3654468913 Add SSL development library to Release Notes 2017-04-29 16:28:19 +01:00
Oliver Gorwits
67f067fdb2 Add SSL development library to OS base requirements install doc 2017-04-29 09:28:50 +01:00
Oliver Gorwits
645289248e Add note to docs about reinstall after OS upgrade 2017-04-29 09:08:44 +01:00
Oliver Gorwits
c182beeebf update docs for new oui and mib urls 2017-04-27 07:53:21 +01:00
Oliver Gorwits
3ec84161ae New report for Port VLAN Mismatches (M. Bernstein) 2017-04-25 12:26:09 +01:00
Oliver Gorwits
ff4c999836 Fix for relocated DB schema files 2017-04-25 10:36:18 +01:00
Oliver Gorwits
48cb6dd4c1 Fix DB schema files location with Module::Build 2017-04-24 12:41:15 +01:00
Christian Ramseyer
0737914af5 Fix potential Postgres insert failure (#306)
Some devices can contain random non-utf8 data in syscontact and syslocation,
making the insert fail with "ERROR:  invalid byte sequence for encoding "UTF8"
on discovery. Work around this with Encode::decode.
2017-04-21 20:20:36 +01:00
Oliver Gorwits
a9f01aaa54 reindex DB (I did not realise this was being indexed! oof.) 2017-04-19 22:16:13 +01:00
Oliver Gorwits
608d1b86b2 #298 NXOS SSHCollector and note in docs about VRFs 2017-04-19 21:48:45 +01:00
Oliver Gorwits
d1a7761fda #302 Device searching now searches on module serial numbers 2017-04-19 21:30:47 +01:00
Oliver Gorwits
d23b32500f relocate repo files so ND2 is the only code 2017-04-14 23:08:55 +01:00