Commit f14a9975 authored by Mike Hibler's avatar Mike Hibler

Reconsider 10G interfaces if we don't come up with anything better.

We initially filter out 10G interface types (to reduce the number of
interfaces we DHCP on) since no one has a 10G control network.
Well, now Clemson has 10G control net interfaces.
parent 3c776137
#!/bin/sh
#
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -175,6 +175,23 @@ cnet_start()
esac
done
#
# XXX yow! If we don't come up with anything, we have to reconsider
# some of those interface types we skipped. For now, just ix interfaces
# because Clemson has an ix control network.
#
if [ -z "$_ifs" ]; then
for _if in $network_interfaces; do
case $_if in
ix[0-9])
_ifs="$_ifs $_if"
;;
*)
;;
esac
done
fi
#
# For the widearea case: decide if we want static or dynamic
# network configuration based on a config file.
......
......@@ -175,6 +175,23 @@ cnet_start()
esac
done
#
# XXX yow! If we don't come up with anything, we have to reconsider
# some of those interface types we skipped. For now, just ix interfaces
# because Clemson has an ix control network.
#
if [ -z "$_ifs" ]; then
for _if in $network_interfaces; do
case $_if in
ix[0-9])
_ifs="$_ifs $_if"
;;
*)
;;
esac
done
fi
#
# For the widearea case: decide if we want static or dynamic
# network configuration based on a config file.
......
#!/bin/sh
#
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -190,6 +190,23 @@ cnet_start()
esac
done
#
# XXX yow! If we don't come up with anything, we have to reconsider
# some of those interface types we skipped. For now, just ix interfaces
# because Clemson has an ix control network.
#
if [ -z "$_ifs" ]; then
for _if in $network_interfaces; do
case $_if in
ix[0-9])
_ifs="$_ifs $_if"
;;
*)
;;
esac
done
fi
#
# For the widearea case: decide if we want static or dynamic
# network configuration based on a config file.
......
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