Commit e581b70c authored by Leigh B Stoller's avatar Leigh B Stoller

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.
parent bd265b07
#!/usr/bin/perl -w #!/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 # {{{EMULAB-LGPL
# #
...@@ -33,6 +33,7 @@ my $TESTMODE = @TESTMODE@; ...@@ -33,6 +33,7 @@ my $TESTMODE = @TESTMODE@;
my $ELABINELAB = @ELABINELAB@; my $ELABINELAB = @ELABINELAB@;
my $NOSTACKMIB = @NOSTACKMIB@; my $NOSTACKMIB = @NOSTACKMIB@;
my $MAINSITE = @TBMAINSITE@; my $MAINSITE = @TBMAINSITE@;
my $GENIRACK = @PROTOGENI_GENIRACK@;
my $TB = '@prefix@'; my $TB = '@prefix@';
use lib '@prefix@/lib'; use lib '@prefix@/lib';
...@@ -3951,6 +3952,10 @@ sub doSetOpenflowController($$$;$) { ...@@ -3951,6 +3952,10 @@ sub doSetOpenflowController($$$;$) {
my $option = shift if (@_); my $option = shift if (@_);
my $errors = 0; my $errors = 0;
# Always enable this on geniracks for now.
$option = "fail-secure"
if ($GENIRACK && !defined($option));
# #
# Set controller on each stack # Set controller on each stack
# #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment