adding support for ibgp interfaces and feth/up/ibgp support for up to 4 nics
This commit is contained in:
parent
a343ade9c4
commit
460ee34f03
|
@ -37,7 +37,7 @@ case "$1" in
|
|||
fi
|
||||
|
||||
declare -A MACS
|
||||
for if in mgmt feth1 feth2 up1 up2
|
||||
for if in mgmt feth1 feth2 feth3 fet4 up1 up2 up3 up4 ibgp1 ibgp2 ibgp3 ibgp4
|
||||
do
|
||||
MACS["$if"]=$(dig txt +short mac.$if.$HOSTNAME) ## careful mac will be wrapped in quotes, but we don't care since we'll need it again wrapped in quotes (so far)
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue