3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test
"1 IP configured, ipreallocated, less routes, reconfigure"
8 setup_ctdb_policy_routing
10 create_policy_routing_config
1 default
12 # no takeip, but ipreallocated should add any missing routes
14 simple_test_event
"ipreallocated"
16 # rewrite the configuration to take out the default routes, as per the
17 # above change to $args
18 create_policy_routing_config
1
20 # reconfigure should update routes even though rules are unchanged
21 ok
"Reconfiguring service \""${service_name}\""..."
22 simple_test_event
"reconfigure"