From e581b70cbf067cf02644040f7843a5185bd31547 Mon Sep 17 00:00:00 2001 From: Leigh B Stoller Date: Tue, 4 Mar 2014 12:00:11 -0700 Subject: [PATCH] Always add fail-secure option on geniracks. We can probably do this all the time, but what I know about openflow would not fill a thimble. --- tbsetup/snmpit_test/snmpit_test.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tbsetup/snmpit_test/snmpit_test.in b/tbsetup/snmpit_test/snmpit_test.in index 0c8d105a2..5293ae912 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 # -- GitLab