Commit 13c82baa authored by Francis Dupont's avatar Francis Dupont

[116-interface-id-dhcpv4] Removed rapid commit

parent e0689af0
...@@ -721,15 +721,6 @@ ControlCharacterFill [^"\\]|\\{JSONEscapeSequence} ...@@ -721,15 +721,6 @@ ControlCharacterFill [^"\\]|\\{JSONEscapeSequence}
} }
} }
\"rapid-commit\" {
switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4:
return isc::dhcp::Dhcp4Parser::make_RAPID_COMMIT(driver.loc_);
default:
return isc::dhcp::Dhcp4Parser::make_STRING("rapid-commit", driver.loc_);
}
}
\"reservation-mode\" { \"reservation-mode\" {
switch(driver.ctx_) { switch(driver.ctx_) {
case isc::dhcp::Parser4Context::SUBNET4: case isc::dhcp::Parser4Context::SUBNET4:
......
...@@ -123,7 +123,6 @@ using namespace std; ...@@ -123,7 +123,6 @@ using namespace std;
SUBNET "subnet" SUBNET "subnet"
INTERFACE "interface" INTERFACE "interface"
ID "id" ID "id"
RAPID_COMMIT "rapid-commit"
RESERVATION_MODE "reservation-mode" RESERVATION_MODE "reservation-mode"
DISABLED "disabled" DISABLED "disabled"
OUT_OF_POOL "out-of-pool" OUT_OF_POOL "out-of-pool"
...@@ -1021,7 +1020,6 @@ subnet4_param: valid_lifetime ...@@ -1021,7 +1020,6 @@ subnet4_param: valid_lifetime
| subnet | subnet
| interface | interface
| id | id
| rapid_commit
| client_class | client_class
| require_client_classes | require_client_classes
| reservations | reservations
...@@ -1115,11 +1113,6 @@ id: ID COLON INTEGER { ...@@ -1115,11 +1113,6 @@ id: ID COLON INTEGER {
ctx.stack_.back()->set("id", id); ctx.stack_.back()->set("id", id);
}; };
rapid_commit: RAPID_COMMIT COLON BOOLEAN {
ElementPtr rc(new BoolElement($3, ctx.loc2pos(@3)));
ctx.stack_.back()->set("rapid-commit", rc);
};
// ---- shared-networks --------------------- // ---- shared-networks ---------------------
shared_networks: SHARED_NETWORKS { shared_networks: SHARED_NETWORKS {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment