diff --git a/tbsetup/snmpit_test/snmpit_test.in b/tbsetup/snmpit_test/snmpit_test.in index 0c8d105a270f5c8c8e776f2ed04c72a954e04f91..5293ae91287d44d20c5a89751b11c395384ceeb6 100755 --- a/tbsetup/snmpit_test/snmpit_test.in +++ b/tbsetup/snmpit_test/snmpit_test.in @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# Copyright (c) 2000-2013 University of Utah and the Flux Group. +# Copyright (c) 2000-2014 University of Utah and the Flux Group. # # {{{EMULAB-LGPL # @@ -33,6 +33,7 @@ my $TESTMODE = @TESTMODE@; my $ELABINELAB = @ELABINELAB@; my $NOSTACKMIB = @NOSTACKMIB@; my $MAINSITE = @TBMAINSITE@; +my $GENIRACK = @PROTOGENI_GENIRACK@; my $TB = '@prefix@'; use lib '@prefix@/lib'; @@ -3951,6 +3952,10 @@ sub doSetOpenflowController($$$;$) { my $option = shift if (@_); my $errors = 0; + # Always enable this on geniracks for now. + $option = "fail-secure" + if ($GENIRACK && !defined($option)); + # # Set controller on each stack #