diff options
Diffstat (limited to 'src/bin/dhcp6/dhcp6_parser.yy')
-rw-r--r-- | src/bin/dhcp6/dhcp6_parser.yy | 80 |
1 files changed, 2 insertions, 78 deletions
diff --git a/src/bin/dhcp6/dhcp6_parser.yy b/src/bin/dhcp6/dhcp6_parser.yy index c54ed4aa60..bdf9d5aeec 100644 --- a/src/bin/dhcp6/dhcp6_parser.yy +++ b/src/bin/dhcp6/dhcp6_parser.yy @@ -240,7 +240,6 @@ using namespace std; DHCP_DDNS "dhcp-ddns" ENABLE_UPDATES "enable-updates" - QUALIFYING_SUFFIX "qualifying-suffix" SERVER_IP "server-ip" SERVER_PORT "server-port" SENDER_IP "sender-ip" @@ -248,10 +247,6 @@ using namespace std; MAX_QUEUE_SIZE "max-queue-size" NCR_PROTOCOL "ncr-protocol" NCR_FORMAT "ncr-format" - OVERRIDE_NO_UPDATE "override-no-update" - OVERRIDE_CLIENT_UPDATE "override-client-update" - REPLACE_CLIENT_NAME "replace-client-name" - GENERATED_PREFIX "generated-prefix" UDP "UDP" TCP "TCP" JSON "JSON" @@ -691,8 +686,8 @@ ddns_override_client_update: DDNS_OVERRIDE_CLIENT_UPDATE COLON BOOLEAN { }; ddns_replace_client_name: DDNS_REPLACE_CLIENT_NAME { - ctx.unique("ddns-replace-client-name", ctx.loc2pos(@1)); ctx.enter(ctx.REPLACE_CLIENT_NAME); + ctx.unique("ddns-replace-client-name", ctx.loc2pos(@1)); } COLON ddns_replace_client_name_value { ctx.stack_.back()->set("ddns-replace-client-name", $4); ctx.leave(); @@ -712,7 +707,7 @@ ddns_replace_client_name_value: $$ = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(@1))); } | BOOLEAN { - error(@1, "boolean values for the replace-client-name are " + error(@1, "boolean values for the ddns-replace-client-name are " "no longer supported"); } ; @@ -2793,13 +2788,6 @@ dhcp_ddns_param: enable_updates | max_queue_size | ncr_protocol | ncr_format - | dep_override_no_update - | dep_override_client_update - | dep_replace_client_name - | dep_generated_prefix - | dep_qualifying_suffix - | dep_hostname_char_set - | dep_hostname_char_replacement | user_context | comment | unknown_map_entry @@ -2811,16 +2799,6 @@ enable_updates: ENABLE_UPDATES COLON BOOLEAN { ctx.stack_.back()->set("enable-updates", b); }; -// Deprecated, moved to global/network scopes. Eventually it should be removed. -dep_qualifying_suffix: QUALIFYING_SUFFIX { - ctx.unique("qualifying-suffix", ctx.loc2pos(@1)); - ctx.enter(ctx.NO_KEYWORD); -} COLON STRING { - ElementPtr s(new StringElement($4, ctx.loc2pos(@4))); - ctx.stack_.back()->set("qualifying-suffix", s); - ctx.leave(); -}; - server_ip: SERVER_IP { ctx.unique("server-ip", ctx.loc2pos(@1)); ctx.enter(ctx.NO_KEYWORD); @@ -2879,60 +2857,6 @@ ncr_format: NCR_FORMAT { ctx.leave(); }; -// Deprecated, moved to global/network scopes. Eventually it should be removed. -dep_override_no_update: OVERRIDE_NO_UPDATE COLON BOOLEAN { - ctx.unique("override-no-update", ctx.loc2pos(@1)); - ElementPtr b(new BoolElement($3, ctx.loc2pos(@3))); - ctx.stack_.back()->set("override-no-update", b); -}; - -// Deprecated, moved to global/network scopes. Eventually it should be removed. -dep_override_client_update: OVERRIDE_CLIENT_UPDATE COLON BOOLEAN { - ctx.unique("override-client-update", ctx.loc2pos(@1)); - ElementPtr b(new BoolElement($3, ctx.loc2pos(@3))); - ctx.stack_.back()->set("override-client-update", b); -}; - -// Deprecated, moved to global/network scopes. Eventually it should be removed. -dep_replace_client_name: REPLACE_CLIENT_NAME { - ctx.unique("replace-client-name", ctx.loc2pos(@1)); - ctx.enter(ctx.REPLACE_CLIENT_NAME); -} COLON ddns_replace_client_name_value { - ctx.stack_.back()->set("replace-client-name", $4); - ctx.leave(); -}; - -// Deprecated, moved to global/network scopes. Eventually it should be removed. -dep_generated_prefix: GENERATED_PREFIX { - ctx.unique("generated-prefix", ctx.loc2pos(@1)); - ctx.enter(ctx.NO_KEYWORD); -} COLON STRING { - ElementPtr s(new StringElement($4, ctx.loc2pos(@4))); - ctx.stack_.back()->set("generated-prefix", s); - ctx.leave(); -}; - -// Deprecated, moved to global/network scopes. Eventually it should be removed. -dep_hostname_char_set: HOSTNAME_CHAR_SET { - ctx.unique("hostname-char-set", ctx.loc2pos(@1)); - ctx.enter(ctx.NO_KEYWORD); -} COLON STRING { - ElementPtr s(new StringElement($4, ctx.loc2pos(@4))); - ctx.stack_.back()->set("hostname-char-set", s); - ctx.leave(); -}; - -// Deprecated, moved to global/network scopes. Eventually it should be removed. -dep_hostname_char_replacement: HOSTNAME_CHAR_REPLACEMENT { - ctx.unique("hostname-char-replacement", ctx.loc2pos(@1)); - ctx.enter(ctx.NO_KEYWORD); -} COLON STRING { - ElementPtr s(new StringElement($4, ctx.loc2pos(@4))); - ctx.stack_.back()->set("hostname-char-replacement", s); - ctx.leave(); -}; - - // Config control information element config_control: CONFIG_CONTROL { |