Skip to content

Commit b6a5a3e

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "reduce default lease time to 5 minutes"
2 parents 2f2ede5 + 61aa0e9 commit b6a5a3e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/nova

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,8 @@ function create_nova_conf_nova_network {
689689
iniset $NOVA_CONF DEFAULT public_interface "$PUBLIC_INTERFACE"
690690
iniset $NOVA_CONF DEFAULT vlan_interface "$VLAN_INTERFACE"
691691
iniset $NOVA_CONF DEFAULT flat_network_bridge "$FLAT_NETWORK_BRIDGE"
692+
# force down dhcp leases to 5 minutes, which lets us expire faster
693+
iniset $NOVA_CONF DEFAULT dhcp_lease_time 300
692694
if [ -n "$FLAT_INTERFACE" ]; then
693695
iniset $NOVA_CONF DEFAULT flat_interface "$FLAT_INTERFACE"
694696
fi

0 commit comments

Comments
 (0)