Debian Codegraph @

ctdb/tests/UNIT/eventscripts/13.per_ip_routing.011.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "__auto_link_local__, takeip all on node"
6
7 setup
8
9 # do link local fu instead of creating configuration
10 setup_script_options <<EOF
11 CTDB_PER_IP_ROUTING_CONF="__auto_link_local__"
12 EOF
13
14 # add routes for all addresses
15 ctdb_get_my_public_addresses |
16 while read dev ip bits ; do
17 ok_null
18 simple_test_event "takeip" $dev $ip $bits
19 done
20
21 check_routes all