Commit Graph

448 Commits

Author SHA1 Message Date
Oliver Gorwits
5b1021b3b5 remove API calls for nodes and devices 2019-03-11 17:48:09 +00:00
Oliver Gorwits
6b5d2602b5 allow api params to be generated from DBIC schema spec 2019-01-01 13:36:24 +00:00
Oliver Gorwits
c045a96a47 add openapi tags to group operations 2019-01-01 12:37:19 +00:00
Oliver Gorwits
2ad803da64 make api logout work 2019-01-01 12:28:48 +00:00
Oliver Gorwits
f362b0aee3 improvements to login/logout for API 2019-01-01 12:04:26 +00:00
Oliver Gorwits
3b0a9f6310 clean up subs 2019-01-01 10:41:33 +00:00
Oliver Gorwits
f56c48b83d fixes to SQL and api spec 2018-12-31 23:21:44 +00:00
Oliver Gorwits
0151fc86a7 add more openapi defs 2018-12-31 22:59:13 +00:00
Oliver Gorwits
0866747688 update version of swagger-ui to 3.20.3 2018-12-31 19:56:10 +00:00
Oliver Gorwits
4691808fa6 add api user role and fix api auth failure response 2018-12-31 19:30:48 +00:00
Oliver Gorwits
1a038079bf initial full swagger spec for nodeip search 2018-12-31 18:43:35 +00:00
Oliver Gorwits
5a4f9d784f move api util to utils area 2018-12-31 18:22:01 +00:00
Oliver Gorwits
92f1d2eb9d code formatting only 2018-12-31 18:21:28 +00:00
Oliver Gorwits
07cf1673e1 do not autodiscover swagger routes 2018-12-31 18:17:54 +00:00
Oliver Gorwits
32ba1a6b45 workaround for Swagger plugin weird response body 2018-12-31 18:14:42 +00:00
Oliver Gorwits
1a66dcccea use RFC7235 2018-12-31 17:43:31 +00:00
Oliver Gorwits
3b7bb65387 only AuthZ header for api use, and alway regen key on login 2018-12-31 17:39:36 +00:00
Oliver Gorwits
227d0ced40 Merge branch 'master' into og-api-tokens 2018-12-31 17:27:30 +00:00
Oliver Gorwits
df769c9720 release 2.040002 2018-12-30 10:57:54 +00:00
Oliver Gorwits
22a3e8c9f6 release 2.040001 2018-12-30 10:52:40 +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
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
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
733f82c3dc 2 typos 2018-12-13 22:52:48 +01:00
nick n
2e0965033a remove reference to netdisco user in command examples. (#451) 2018-11-27 11:19:22 +00:00
Mohammad S Anwar
369590d17f Fixed pod error as reported by CPANTS. (#456) 2018-11-27 11:18:45 +00:00
Ryan Gasik
700cb73111 Add NodeIP support. 2018-10-24 21:06:43 -07:00
Ryan Gasik
acaa3b8c5c Break out utility functions into separate file, to allow other api portions to use 2018-10-24 20:53:29 -07:00
Ryan Gasik
d79411a34d Fix some error handling for API/Device.pm 2018-10-24 20:41:41 -07:00
Ryan Gasik
4d68bffeea Merge in working copy of API/Device.pm 2018-10-21 22:39:29 -07:00
Oliver Gorwits
ee8cd72ef1 basic Swagger spec support 2018-10-21 19:12:06 +01:00
Oliver Gorwits
734166fcef initial import of pyro3d api code 2018-10-21 18:07:20 +01:00
Oliver Gorwits
f01bc6a695 add token schema and validation 2018-10-21 17:46:25 +01:00
Oliver Gorwits
fb4e5c0793 initial token-based-api login handler 2018-10-21 13:37:27 +01:00
Oliver Gorwits
5c277d7944 release 2.039033 2018-10-19 21:35:50 +01:00
Oliver Gorwits
3ddc1a3c8a #446 fix typo in NodeVendor report - rflor 2018-10-19 21:33:58 +01:00
Oliver Gorwits
5ca76bfc99 release 2.039032 2018-10-19 15:36:03 +01:00
Oliver Gorwits
847d7e16e3 #443 attempt to handle IPs and Names in show arp output - darknicht66 2018-10-19 15:31:31 +01:00
Oliver Gorwits
ffa2aefd8d Revert "#432 fix regexp for arp display - stromsoe"
This reverts commit 75507ed521.
2018-10-19 15:29:32 +01:00
Oliver Gorwits
75507ed521 #432 fix regexp for arp display - stromsoe 2018-10-19 15:25:36 +01:00
Oliver Gorwits
ea2fde1e56 #439 add expire_userlog with default 365 days 2018-10-19 15:11:26 +01:00
Oliver Gorwits
fb3ef12854 in fact localtime is correct if server admin runs server in GMT
Revert "#441 change localtime to gmtime"

This reverts commit 779e0a618d.
2018-10-19 15:08:38 +01:00
Oliver Gorwits
2818591462 #431 sshcollector calls die() even if all the work is not done - stromsoe 2018-10-19 14:59:32 +01:00
Oliver Gorwits
779e0a618d #441 change localtime to gmtime 2018-10-19 14:49:03 +01:00
slofunk
00ac3cff4a update NodeVendor.pm (#427)
It would seem like we'd want for this to be distinct mac addresses here right? Otherwise you'd could get duplicate counters. In our environment where things move around this makes for repeat lines in the nodes table. To get a true inventory count I'd think this should only count unique macs. Apologies if this is NOT the desired output for this module.
2018-10-19 14:42:37 +01:00
Oliver Gorwits
9781006249 release 2.039031 2018-06-17 21:56:35 +01:00
Oliver Gorwits
e39cf197bf further tune job picker 2018-06-17 21:55:18 +01:00
Oliver Gorwits
13d5f04465 #419 "neigh - discrepancy in IP" due to differences in IPv6 formatting 2018-06-08 10:56:16 +01:00