fix #180 support CiscoConfig on Nexus (#209)

* fix #180 support CiscoConfig on Nexus

* Update ChangeLog
This commit is contained in:
Oliver Gorwits
2017-02-04 18:15:23 +00:00
committed by GitHub
parent 7d19ad401b
commit c35d5814b4
2 changed files with 11 additions and 1 deletions

View File

@@ -97,6 +97,10 @@ sub copy_run_tftp {
print "Using new method, row iid: $rand\n" if $ciscoconfig->debug();
#Check each set, delete created row if any fail
unless ( $ciscoconfig->set_config_row_status( 5, $rand ) ) {
$ciscoconfig->error_throw("Initializing config copy instruction failed");
return;
}
unless ( $ciscoconfig->set_config_source_type( 4, $rand ) ) {
$ciscoconfig->error_throw("Setting source type failed");
unless ( $ciscoconfig->set_config_row_status( 6, $rand ) ) {