diff --git a/Changes b/Changes index 4f29f214..2d68984a 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,13 @@ +2.041000 - 2019-03-12 + + [NEW FEATURES] + + * netdisco-sshcollector no longer required - the functionality (arpnip via + ssh) will be run within netdisco's core schedule + + * get_credentials replaces get_community and accepts any device_auth stanza + in JSON format + 2.040007 - 2019-03-06 [BUG FIXES] diff --git a/MANIFEST b/MANIFEST index 32b20851..0994605d 100644 --- a/MANIFEST +++ b/MANIFEST @@ -109,8 +109,10 @@ lib/App/Netdisco/SSHCollector/Platform/IOSXR.pm lib/App/Netdisco/SSHCollector/Platform/Linux.pm lib/App/Netdisco/SSHCollector/Platform/NXOS.pm lib/App/Netdisco/SSHCollector/Platform/PaloAlto.pm +lib/App/Netdisco/Transport/CLI.pm lib/App/Netdisco/Transport/SNMP.pm lib/App/Netdisco/Util/Device.pm +lib/App/Netdisco/Util/DeviceAuth.pm lib/App/Netdisco/Util/DNS.pm lib/App/Netdisco/Util/ExpandParams.pm lib/App/Netdisco/Util/FastResolver.pm @@ -485,6 +487,7 @@ share/views/sidebar/report/subnets.tt share/views/sidebar/search/device.tt share/views/sidebar/search/node.tt share/views/sidebar/search/port.tt +xt/00-compile.t xt/10-sort_port.t xt/11-portsort.t xt/20-checkacl.t diff --git a/META.json b/META.json index c19aca81..b528a7cf 100644 --- a/META.json +++ b/META.json @@ -29,10 +29,8 @@ }, "runtime" : { "recommends" : { - "Expect" : "0", "Graph" : "0", - "GraphViz" : "0", - "Net::OpenSSH" : "0" + "GraphViz" : "0" }, "requires" : { "Algorithm::Cron" : "0.07", @@ -52,6 +50,7 @@ "Dancer::Plugin::Passphrase" : "v2.0.1", "Dancer::Session::Cookie" : "0.27", "Data::Printer" : "0", + "Expect" : "0", "File::ShareDir" : "1.03", "File::Slurper" : "0.009", "Guard" : "1.022", @@ -69,6 +68,7 @@ "Net::DNS" : "0.72", "Net::Domain" : "1.23", "Net::LDAP" : "0", + "Net::OpenSSH" : "0", "NetAddr::IP" : "4.068", "NetAddr::MAC" : "0.93", "Opcode" : "1.07", @@ -110,6 +110,7 @@ "test" : { "requires" : { "Env::Path" : "0", + "Test::Compile" : "0", "Test::File::ShareDir::Dist" : "0", "Test::More" : "1.302083" } @@ -118,7 +119,7 @@ "provides" : { "App::Netdisco" : { "file" : "lib/App/Netdisco.pm", - "version" : "2.040007" + "version" : "2.041000" }, "App::Netdisco::AnyEvent::Nbtstat" : { "file" : "lib/App/Netdisco/AnyEvent/Nbtstat.pm" @@ -406,6 +407,9 @@ "App::Netdisco::SSHCollector::Platform::PaloAlto" : { "file" : "lib/App/Netdisco/SSHCollector/Platform/PaloAlto.pm" }, + "App::Netdisco::Transport::CLI" : { + "file" : "lib/App/Netdisco/Transport/CLI.pm" + }, "App::Netdisco::Transport::SNMP" : { "file" : "lib/App/Netdisco/Transport/SNMP.pm" }, @@ -415,6 +419,9 @@ "App::Netdisco::Util::Device" : { "file" : "lib/App/Netdisco/Util/Device.pm" }, + "App::Netdisco::Util::DeviceAuth" : { + "file" : "lib/App/Netdisco/Util/DeviceAuth.pm" + }, "App::Netdisco::Util::ExpandParams" : { "file" : "lib/App/Netdisco/Util/ExpandParams.pm" }, @@ -783,6 +790,9 @@ }, "Dancer::Template::NetdiscoTemplateToolkit" : { "file" : "lib/Dancer/Template/NetdiscoTemplateToolkit.pm" + }, + "MySession" : { + "file" : "lib/App/Netdisco/Transport/CLI.pm" } }, "release_status" : "stable", @@ -792,7 +802,7 @@ }, "homepage" : "http://netdisco.org/", "license" : [ - "http://opensource.org/licenses/bsd-license.php" + "http://opensource.org/licenses/BSD-3-Clause" ], "repository" : { "url" : "https://github.com/netdisco/netdisco" @@ -800,6 +810,6 @@ "x_IRC" : "irc://irc.freenode.org/#netdisco", "x_MailingList" : "https://lists.sourceforge.net/lists/listinfo/netdisco-users" }, - "version" : "2.040007", + "version" : "2.041000", "x_serialization_backend" : "JSON::PP version 2.97001" } diff --git a/META.yml b/META.yml index f7cb0c94..f7914fae 100644 --- a/META.yml +++ b/META.yml @@ -7,6 +7,7 @@ build_requires: ExtUtils::Config: '0' ExtUtils::Helpers: '0' ExtUtils::InstallPaths: '0' + Test::Compile: '0' Test::File::ShareDir::Dist: '0' Test::More: '1.302083' configure_requires: @@ -22,7 +23,7 @@ name: App-Netdisco provides: App::Netdisco: file: lib/App/Netdisco.pm - version: '2.040007' + version: '2.041000' App::Netdisco::AnyEvent::Nbtstat: file: lib/App/Netdisco/AnyEvent/Nbtstat.pm App::Netdisco::Backend::Job: @@ -214,12 +215,16 @@ provides: file: lib/App/Netdisco/SSHCollector/Platform/NXOS.pm App::Netdisco::SSHCollector::Platform::PaloAlto: file: lib/App/Netdisco/SSHCollector/Platform/PaloAlto.pm + App::Netdisco::Transport::CLI: + file: lib/App/Netdisco/Transport/CLI.pm App::Netdisco::Transport::SNMP: file: lib/App/Netdisco/Transport/SNMP.pm App::Netdisco::Util::DNS: file: lib/App/Netdisco/Util/DNS.pm App::Netdisco::Util::Device: file: lib/App/Netdisco/Util/Device.pm + App::Netdisco::Util::DeviceAuth: + file: lib/App/Netdisco/Util/DeviceAuth.pm App::Netdisco::Util::ExpandParams: file: lib/App/Netdisco/Util/ExpandParams.pm App::Netdisco::Util::FastResolver: @@ -466,11 +471,11 @@ provides: file: lib/App/Netdisco/Worker/Status.pm Dancer::Template::NetdiscoTemplateToolkit: file: lib/Dancer/Template/NetdiscoTemplateToolkit.pm + MySession: + file: lib/App/Netdisco/Transport/CLI.pm recommends: - Expect: '0' Graph: '0' GraphViz: '0' - Net::OpenSSH: '0' requires: Algorithm::Cron: '0.07' AnyEvent: '7.05' @@ -489,6 +494,7 @@ requires: Dancer::Plugin::Passphrase: v2.0.1 Dancer::Session::Cookie: '0.27' Data::Printer: '0' + Expect: '0' File::ShareDir: '1.03' File::Slurper: '0.009' Guard: '1.022' @@ -506,6 +512,7 @@ requires: Net::DNS: '0.72' Net::Domain: '1.23' Net::LDAP: '0' + Net::OpenSSH: '0' NetAddr::IP: '4.068' NetAddr::MAC: '0.93' Opcode: '1.07' @@ -547,7 +554,7 @@ resources: MailingList: https://lists.sourceforge.net/lists/listinfo/netdisco-users bugtracker: https://github.com/netdisco/netdisco/issues homepage: http://netdisco.org/ - license: http://opensource.org/licenses/bsd-license.php + license: http://opensource.org/licenses/BSD-3-Clause repository: https://github.com/netdisco/netdisco -version: '2.040007' +version: '2.041000' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/lib/App/Netdisco.pm b/lib/App/Netdisco.pm index cecfe6ae..8f53e14e 100644 --- a/lib/App/Netdisco.pm +++ b/lib/App/Netdisco.pm @@ -4,7 +4,7 @@ use strict; use warnings; use 5.010_000; -our $VERSION = '2.040007'; +our $VERSION = '2.041000'; use App::Netdisco::Configuration; =head1 NAME