Revision aeaafeb9 snf-network-hook
b/snf-network-hook | ||
---|---|---|
29 | 29 |
$IP_LESS_ROUTED_TAG) |
30 | 30 |
if [ "$GANETI_OLD_PRIMARY" == "$host.$domain" ]; then |
31 | 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 |
|
32 |
delete_neighbor_proxy |
|
36 | 33 |
elif [ "$GANETI_NEW_PRIMARY" == "$host.$domain" ]; then |
37 | 34 |
$SNF_NETWORK_LOG $0 "Do nothing in new primary. All done by if-up script" |
38 | 35 |
fi |
Also available in: Unified diff