Revision 4bda656e snf-network-hook
b/snf-network-hook | ||
---|---|---|
28 | 28 |
case $tag in |
29 | 29 |
$IP_LESS_ROUTED_TAG) |
30 | 30 |
if [ "$GANETI_OLD_PRIMARY" == "$host.$domain" ]; then |
31 |
# This runs on the source node |
|
32 |
get_uplink $LINK "-6" |
|
33 |
get_eui64 $MAC $SUBNET6 |
|
34 |
$SNF_NETWORK_LOG $0 "ip -6 neigh del proxy $EUI64 dev $UPLINK" |
|
35 |
ip -6 neigh del proxy $EUI64 dev $UPLINK >/dev/null 2>&1 |
|
31 |
$SNF_NETWORK_LOG $0 "Do nothing in old primary. All done by if-down script" |
|
36 | 32 |
elif [ "$GANETI_NEW_PRIMARY" == "$host.$domain" ]; then |
37 | 33 |
$SNF_NETWORK_LOG $0 "Do nothing in new primary. All done by if-up script" |
38 | 34 |
fi |
Also available in: Unified diff