summaryrefslogtreecommitdiffstats
path: root/src/bin/dhcp6/dhcp6_parser.yy
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/dhcp6/dhcp6_parser.yy')
-rw-r--r--src/bin/dhcp6/dhcp6_parser.yy8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/dhcp6/dhcp6_parser.yy b/src/bin/dhcp6/dhcp6_parser.yy
index 11e9ad4568..7a5fe969c9 100644
--- a/src/bin/dhcp6/dhcp6_parser.yy
+++ b/src/bin/dhcp6/dhcp6_parser.yy
@@ -80,6 +80,7 @@ using namespace std;
MAX_RECONNECT_TRIES "max-reconnect-tries"
RECONNECT_WAIT_TIME "reconnect-wait-time"
DISABLE_DHCP_ON_DB_LOSS "disable-dhcp-on-db-loss"
+ ENABLE_CONNECTION_RECOVERY "enable-connection-recovery"
KEYSPACE "keyspace"
CONSISTENCY "consistency"
SERIAL_CONSISTENCY "serial-consistency"
@@ -864,6 +865,7 @@ database_map_param: database_type
| max_reconnect_tries
| reconnect_wait_time
| disable_dhcp_on_db_loss
+ | enable_connection_recovery
| request_timeout
| tcp_keepalive
| tcp_nodelay
@@ -966,6 +968,12 @@ disable_dhcp_on_db_loss: DISABLE_DHCP_ON_DB_LOSS COLON BOOLEAN {
ctx.stack_.back()->set("disable-dhcp-on-db-loss", n);
};
+enable_connection_recovery: ENABLE_CONNECTION_RECOVERY COLON BOOLEAN {
+ ctx.unique("enable-connection-recovery", ctx.loc2pos(@1));
+ ElementPtr n(new BoolElement($3, ctx.loc2pos(@3)));
+ ctx.stack_.back()->set("enable-connection-recovery", n);
+};
+
max_row_errors: MAX_ROW_ERRORS COLON INTEGER {
ctx.unique("max-row-errors", ctx.loc2pos(@1));
ElementPtr n(new IntElement($3, ctx.loc2pos(@3)));