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
This commit is contained in:
@@ -383,6 +383,13 @@ Set the PoE on/off status on a device port. Requires the C<-d> parameter
|
||||
~/bin/netdisco-do power -d 192.0.2.1 -p FastEthernet0/1 -e on
|
||||
~/bin/netdisco-do power -d 192.0.2.1 -p FastEthernet0/1 -e off
|
||||
|
||||
=head2 makerancidconf
|
||||
|
||||
Generates rancid configuration for known devices. See
|
||||
L<App::Netdisco::Worker::Plugin::MakeRancidConf> for configuration needs.
|
||||
|
||||
~/bin/netdisco-do makerancidconf
|
||||
|
||||
=head2 dumpconfig
|
||||
|
||||
Will dump the loaded and parsed configuration for the application. Pass a
|
||||
|
||||
@@ -42,6 +42,9 @@ use Dancer::Plugin::DBIC 'schema';
|
||||
|
||||
use App::Netdisco::Util::Permission ':all';
|
||||
|
||||
# silent exit unless explicitly requested
|
||||
exit(0) unless setting('use_legacy_rancidexport');
|
||||
|
||||
my $settings = setting( 'rancid' );
|
||||
my $domain_suffix = setting( 'domain_suffix' ) || '';
|
||||
my $delimiter = $settings->{ 'delimiter' } || ':';
|
||||
@@ -117,7 +120,7 @@ foreach my $group (keys %$list) {
|
||||
|
||||
=head1 NAME
|
||||
|
||||
netdisco-rancid-export - Generate RANCID Group Configuration
|
||||
netdisco-rancid-export - DEPRECATED!
|
||||
|
||||
=head1 DEPRECATED!
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@ Please read the deprecation notice if you are using C<netdisco-sshcollector>:
|
||||
|
||||
=item *
|
||||
|
||||
https://github.com/netdisco/netdisco/wiki/sshcollector-Deprecation
|
||||
L<https://github.com/netdisco/netdisco/wiki/sshcollector-Deprecation>
|
||||
|
||||
=back
|
||||
|
||||
|
||||
Reference in New Issue
Block a user