Commit Graph

533 Commits

Author SHA1 Message Date
Oliver Gorwits
88788534ba #589 only show link with highest agg speed if map links between two devices are asymmetric 2019-05-27 15:36:17 +01:00
Oliver Gorwits
087ca8e33c #586 do not show poller performance rows for still running jobs 2019-05-27 14:23:09 +01:00
Oliver Gorwits
902ab6c5f8 #584 fix for case where port has no corresponding properties row 2019-05-27 13:39:54 +01:00
Oliver Gorwits
416cffe52a #577 fix bug related to hostnames comprised a-f only 2019-05-27 13:25:58 +01:00
Oliver Gorwits
b59043d0ca #590 remove DBIx::Class::Schema::Loader remnants 2019-05-27 12:49:56 +01:00
Oliver Gorwits
35b13723eb Merge branch 'master' of github.com:netdisco/netdisco 2019-05-27 12:45:40 +01:00
Oliver Gorwits
655d2518f4 #596 fix default value on actionset field 2019-05-27 12:42:50 +01:00
nick n
e65f7b84c8 dbic sync between actual db & our functions/docs (#595) 2019-05-27 12:39:07 +01:00
nick n
f2ddf175b7 device_auth
also untested
2019-05-27 02:42:47 +02:00
nick n
4514855b03 device_auth
uhhu, untested
2019-05-27 02:39:59 +02:00
nick n
496a3719c0 device_auth usage
untested, who would have guessed?
2019-05-27 02:37:55 +02:00
nick n
0a20f68859 device_auth config
totally untested, but old one was worse
2019-05-27 02:35:58 +02:00
nick n
04eb4d9801 change to device_auth config
totally untested, but old config should be bad too.

also, change devicetype from ios to asa.
2019-05-27 02:32:43 +02:00
nick n
cd2a4b9362 html template fixups (#576)
* none is not a valid value for min-width, so set it to zero

* these 2 "checked" if statements need a space in front of them,
else they will attach to the previous element

id="nd_showspeed"checked="checked"

* multiple tag has no options according to
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

also, don't close select before we've gotten to the option tags

* multiple tag has no options according to
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

also, don't close select before we've gotten to the option tags

* just to be sure put a space in front of these optional tags as well,

* $a is technically allowed but is considered not best practice
2019-05-12 08:32:42 +01:00
nick n
90a7ee6b56 configuration has moved to the wiki (#574)
found with intellij idea
2019-05-02 21:19:06 +02:00
nick n
3ec136aea3 allow setting some speudo device info (#572)
* allow port name to be changed on pseudo devices, was once added in commit 1f020e07ee

* also allow this for location and contact
2019-05-02 13:19:46 +01:00
nick n
389e460878 show some opensuse love
at least for opensuse leap 15.0
2019-04-30 16:27:01 +02:00
Oliver Gorwits
c81328d7a3 release 2.042008 2019-04-30 11:50:15 +01:00
Oliver Gorwits
e3648cda37 minor amendments to previous commit 2019-04-30 06:55:38 +01:00
Oliver Gorwits
ee9f79c95c improve check_acl performance for basic IP string compare 2019-04-30 06:53:18 +01:00
Oliver Gorwits
5cc3eaebee release 2.042007 2019-04-28 20:56:37 +01:00
Oliver Gorwits
ca74f32e35 improve check_acl performance for basic IP string compare 2019-04-28 20:42:07 +01:00
Oliver Gorwits
59918364f5 release 2.042006 2019-04-16 17:47:35 +01:00
Oliver Gorwits
5452eaa539 do not show ignored dupe jobs in job queue 2019-04-16 17:27:03 +01:00
Oliver Gorwits
d369814b17 #549 redux - fix for changing pseudo device ports 2019-04-05 14:50:58 +01:00
nick n
fd4752897d netdisco rancid updates (#558)
* typo

* make this a link

* netdisco-rancid-export has been replaced

* rancid worker config

* netdisco-rancid-export now a no-op

* note debugging option
2019-04-05 01:28:30 +02:00
Oliver Gorwits
f25352b747 release 2.042005 2019-04-03 14:55:49 +01:00
Oliver Gorwits
731eb765b1 fix strange interaction between CORE::sort and List::MoreUtils::uniq 2019-04-03 14:34:09 +01:00
Oliver Gorwits
db71fffe54 refactor to try device port vlan update again 2019-04-02 15:31:20 +01:00
Oliver Gorwits
223c616cb0 better var names and change logic to skip port 2019-04-01 23:15:44 +01:00
Oliver Gorwits
b22c32a578 better sql update, fixed worker return, better logic on vlans 2019-04-01 22:36:35 +01:00
Oliver Gorwits
a6e7943c03 #528 record egress untagged vlans in device_port_vlan table 2019-04-01 14:38:27 +01:00
Oliver Gorwits
8c974fd256 #549 clean manual topology after device ports change 2019-04-01 13:23:51 +01:00
Oliver Gorwits
e2ca54b3c0 #551 better error message for both device_auth and snmp_auth 2019-04-01 12:59:42 +01:00
Oliver Gorwits
3e1541071c #552 device addresses report has broken column data 2019-04-01 12:56:36 +01:00
Oliver Gorwits
8c1f366050 release 2.042004 2019-03-28 22:59:36 +00:00
pyro3d
7be03b6882 Add IS-IS Support (#548)
* Add IS-IS Support

* closing brace for unless needs to be moved i think

* Remove isis_routers from Routed.pm

* bump snmp::info to 3.66

which is needed for isis support.
2019-03-25 14:42:58 +00:00
nick n
3e5e7d36cc whitespace cleanup (#547)
* whitespace

* start tbody correctly
2019-03-23 09:28:43 +00:00
Oliver Gorwits
764bbfe3fb release 2.042003 2019-03-21 16:18:19 +00:00
Oliver Gorwits
107a65404c even better fix for dclone _auth 2019-03-21 15:09:24 +00:00
Oliver Gorwits
d106d4cf22 tread more carefully when loading device_auth and snmp_auth 2019-03-21 15:03:07 +00:00
Oliver Gorwits
456e3502a1 release 2.042002 2019-03-20 12:26:00 +00:00
Oliver Gorwits
c4f9810e7d allow store() to pick the best status of any connecting worker 2019-03-20 12:15:09 +00:00
Oliver Gorwits
39805adf69 avoid defer in more cases so that devices do not become skipped from all jobs 2019-03-19 19:13:02 +00:00
Oliver Gorwits
4ef5691bb5 allow pseudo devices to arpnip 2019-03-19 13:05:47 +00:00
Oliver Gorwits
dafed30742 release 2.042001 2019-03-18 21:27:46 +00:00
Oliver Gorwits
9fa4086088 do not clobber sshcollector config 2019-03-18 21:26:10 +00:00
Oliver Gorwits
0ae705c6a8 release 2.042000 2019-03-17 20:30:29 +00:00
Oliver Gorwits
46d8c52a08 Implement changes for API authentication and Swagger UI (#541)
* initial token-based-api login handler

* add token schema and validation

* initial import of pyro3d api code

* basic Swagger spec support

* Merge in working copy of API/Device.pm

* Fix some error handling for API/Device.pm

* Break out utility functions into separate file, to allow other api portions to use

* Add NodeIP support.

* Add nodeip plugin to config

* remove double define of "plugin:" (#448)

disclaimer: i did not test this is any way, came across it when looking for something else.

* only AuthZ header for api use, and alway regen key on login

* use RFC7235

* workaround for Swagger plugin weird response body

* do not autodiscover swagger routes

* code formatting only

* move api util to utils area

* initial full swagger spec for nodeip search

* add api user role and fix api auth failure response

* update version of swagger-ui to 3.20.3

* add more openapi defs

* fixes to SQL and api spec

* clean up subs

* improvements to login/logout for API

* make api logout work

* add openapi tags to group operations

* allow api params to be generated from DBIC schema spec

* remove API calls for nodes and devices

* remove some poor assumptions about api calls

* tidy up

* remove DDP

* make login and logout similar

* example of api call being handled by ajax call

* make the branch authonly
2019-03-17 20:27:19 +00:00
Oliver Gorwits
df1a150f0c release 2.041002 2019-03-17 09:36:48 +00:00