Commit 9f396039 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[#129,!55] Regenerated parser/lexer for dhcp6

parent f6f85dfd
This diff is collapsed.
This diff is collapsed.
......@@ -355,165 +355,169 @@ namespace isc { namespace dhcp {
TOKEN_RCURLY_BRACKET = 263,
TOKEN_NULL_TYPE = 264,
TOKEN_DHCP6 = 265,
TOKEN_INTERFACES_CONFIG = 266,
TOKEN_INTERFACES = 267,
TOKEN_RE_DETECT = 268,
TOKEN_LEASE_DATABASE = 269,
TOKEN_HOSTS_DATABASE = 270,
TOKEN_HOSTS_DATABASES = 271,
TOKEN_TYPE = 272,
TOKEN_MEMFILE = 273,
TOKEN_MYSQL = 274,
TOKEN_POSTGRESQL = 275,
TOKEN_CQL = 276,
TOKEN_USER = 277,
TOKEN_PASSWORD = 278,
TOKEN_HOST = 279,
TOKEN_PORT = 280,
TOKEN_PERSIST = 281,
TOKEN_LFC_INTERVAL = 282,
TOKEN_READONLY = 283,
TOKEN_CONNECT_TIMEOUT = 284,
TOKEN_CONTACT_POINTS = 285,
TOKEN_MAX_RECONNECT_TRIES = 286,
TOKEN_RECONNECT_WAIT_TIME = 287,
TOKEN_KEYSPACE = 288,
TOKEN_REQUEST_TIMEOUT = 289,
TOKEN_TCP_KEEPALIVE = 290,
TOKEN_TCP_NODELAY = 291,
TOKEN_PREFERRED_LIFETIME = 292,
TOKEN_VALID_LIFETIME = 293,
TOKEN_RENEW_TIMER = 294,
TOKEN_REBIND_TIMER = 295,
TOKEN_DECLINE_PROBATION_PERIOD = 296,
TOKEN_SUBNET6 = 297,
TOKEN_OPTION_DEF = 298,
TOKEN_OPTION_DATA = 299,
TOKEN_NAME = 300,
TOKEN_DATA = 301,
TOKEN_CODE = 302,
TOKEN_SPACE = 303,
TOKEN_CSV_FORMAT = 304,
TOKEN_ALWAYS_SEND = 305,
TOKEN_RECORD_TYPES = 306,
TOKEN_ENCAPSULATE = 307,
TOKEN_ARRAY = 308,
TOKEN_POOLS = 309,
TOKEN_POOL = 310,
TOKEN_PD_POOLS = 311,
TOKEN_PREFIX = 312,
TOKEN_PREFIX_LEN = 313,
TOKEN_EXCLUDED_PREFIX = 314,
TOKEN_EXCLUDED_PREFIX_LEN = 315,
TOKEN_DELEGATED_LEN = 316,
TOKEN_USER_CONTEXT = 317,
TOKEN_COMMENT = 318,
TOKEN_SUBNET = 319,
TOKEN_INTERFACE = 320,
TOKEN_INTERFACE_ID = 321,
TOKEN_ID = 322,
TOKEN_RAPID_COMMIT = 323,
TOKEN_RESERVATION_MODE = 324,
TOKEN_DISABLED = 325,
TOKEN_OUT_OF_POOL = 326,
TOKEN_GLOBAL = 327,
TOKEN_ALL = 328,
TOKEN_SHARED_NETWORKS = 329,
TOKEN_MAC_SOURCES = 330,
TOKEN_RELAY_SUPPLIED_OPTIONS = 331,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 332,
TOKEN_SANITY_CHECKS = 333,
TOKEN_LEASE_CHECKS = 334,
TOKEN_CLIENT_CLASSES = 335,
TOKEN_REQUIRE_CLIENT_CLASSES = 336,
TOKEN_TEST = 337,
TOKEN_ONLY_IF_REQUIRED = 338,
TOKEN_CLIENT_CLASS = 339,
TOKEN_RESERVATIONS = 340,
TOKEN_IP_ADDRESSES = 341,
TOKEN_PREFIXES = 342,
TOKEN_DUID = 343,
TOKEN_HW_ADDRESS = 344,
TOKEN_HOSTNAME = 345,
TOKEN_FLEX_ID = 346,
TOKEN_RELAY = 347,
TOKEN_IP_ADDRESS = 348,
TOKEN_HOOKS_LIBRARIES = 349,
TOKEN_LIBRARY = 350,
TOKEN_PARAMETERS = 351,
TOKEN_EXPIRED_LEASES_PROCESSING = 352,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 353,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 354,
TOKEN_HOLD_RECLAIMED_TIME = 355,
TOKEN_MAX_RECLAIM_LEASES = 356,
TOKEN_MAX_RECLAIM_TIME = 357,
TOKEN_UNWARNED_RECLAIM_CYCLES = 358,
TOKEN_SERVER_ID = 359,
TOKEN_LLT = 360,
TOKEN_EN = 361,
TOKEN_LL = 362,
TOKEN_IDENTIFIER = 363,
TOKEN_HTYPE = 364,
TOKEN_TIME = 365,
TOKEN_ENTERPRISE_ID = 366,
TOKEN_DHCP4O6_PORT = 367,
TOKEN_CONTROL_SOCKET = 368,
TOKEN_SOCKET_TYPE = 369,
TOKEN_SOCKET_NAME = 370,
TOKEN_DHCP_DDNS = 371,
TOKEN_ENABLE_UPDATES = 372,
TOKEN_QUALIFYING_SUFFIX = 373,
TOKEN_SERVER_IP = 374,
TOKEN_SERVER_PORT = 375,
TOKEN_SENDER_IP = 376,
TOKEN_SENDER_PORT = 377,
TOKEN_MAX_QUEUE_SIZE = 378,
TOKEN_NCR_PROTOCOL = 379,
TOKEN_NCR_FORMAT = 380,
TOKEN_ALWAYS_INCLUDE_FQDN = 381,
TOKEN_OVERRIDE_NO_UPDATE = 382,
TOKEN_OVERRIDE_CLIENT_UPDATE = 383,
TOKEN_REPLACE_CLIENT_NAME = 384,
TOKEN_GENERATED_PREFIX = 385,
TOKEN_UDP = 386,
TOKEN_TCP = 387,
TOKEN_JSON = 388,
TOKEN_WHEN_PRESENT = 389,
TOKEN_NEVER = 390,
TOKEN_ALWAYS = 391,
TOKEN_WHEN_NOT_PRESENT = 392,
TOKEN_HOSTNAME_CHAR_SET = 393,
TOKEN_HOSTNAME_CHAR_REPLACEMENT = 394,
TOKEN_LOGGING = 395,
TOKEN_LOGGERS = 396,
TOKEN_OUTPUT_OPTIONS = 397,
TOKEN_OUTPUT = 398,
TOKEN_DEBUGLEVEL = 399,
TOKEN_SEVERITY = 400,
TOKEN_FLUSH = 401,
TOKEN_MAXSIZE = 402,
TOKEN_MAXVER = 403,
TOKEN_DHCP4 = 404,
TOKEN_DHCPDDNS = 405,
TOKEN_CONTROL_AGENT = 406,
TOKEN_TOPLEVEL_JSON = 407,
TOKEN_TOPLEVEL_DHCP6 = 408,
TOKEN_SUB_DHCP6 = 409,
TOKEN_SUB_INTERFACES6 = 410,
TOKEN_SUB_SUBNET6 = 411,
TOKEN_SUB_POOL6 = 412,
TOKEN_SUB_PD_POOL = 413,
TOKEN_SUB_RESERVATION = 414,
TOKEN_SUB_OPTION_DEFS = 415,
TOKEN_SUB_OPTION_DEF = 416,
TOKEN_SUB_OPTION_DATA = 417,
TOKEN_SUB_HOOKS_LIBRARY = 418,
TOKEN_SUB_DHCP_DDNS = 419,
TOKEN_SUB_LOGGING = 420,
TOKEN_STRING = 421,
TOKEN_INTEGER = 422,
TOKEN_FLOAT = 423,
TOKEN_BOOLEAN = 424
TOKEN_CONFIG_CONTROL = 266,
TOKEN_CONFIG_DATABASES = 267,
TOKEN_INTERFACES_CONFIG = 268,
TOKEN_INTERFACES = 269,
TOKEN_RE_DETECT = 270,
TOKEN_LEASE_DATABASE = 271,
TOKEN_HOSTS_DATABASE = 272,
TOKEN_HOSTS_DATABASES = 273,
TOKEN_TYPE = 274,
TOKEN_MEMFILE = 275,
TOKEN_MYSQL = 276,
TOKEN_POSTGRESQL = 277,
TOKEN_CQL = 278,
TOKEN_USER = 279,
TOKEN_PASSWORD = 280,
TOKEN_HOST = 281,
TOKEN_PORT = 282,
TOKEN_PERSIST = 283,
TOKEN_LFC_INTERVAL = 284,
TOKEN_READONLY = 285,
TOKEN_CONNECT_TIMEOUT = 286,
TOKEN_CONTACT_POINTS = 287,
TOKEN_MAX_RECONNECT_TRIES = 288,
TOKEN_RECONNECT_WAIT_TIME = 289,
TOKEN_KEYSPACE = 290,
TOKEN_REQUEST_TIMEOUT = 291,
TOKEN_TCP_KEEPALIVE = 292,
TOKEN_TCP_NODELAY = 293,
TOKEN_PREFERRED_LIFETIME = 294,
TOKEN_VALID_LIFETIME = 295,
TOKEN_RENEW_TIMER = 296,
TOKEN_REBIND_TIMER = 297,
TOKEN_DECLINE_PROBATION_PERIOD = 298,
TOKEN_SERVER_TAG = 299,
TOKEN_SUBNET6 = 300,
TOKEN_OPTION_DEF = 301,
TOKEN_OPTION_DATA = 302,
TOKEN_NAME = 303,
TOKEN_DATA = 304,
TOKEN_CODE = 305,
TOKEN_SPACE = 306,
TOKEN_CSV_FORMAT = 307,
TOKEN_ALWAYS_SEND = 308,
TOKEN_RECORD_TYPES = 309,
TOKEN_ENCAPSULATE = 310,
TOKEN_ARRAY = 311,
TOKEN_POOLS = 312,
TOKEN_POOL = 313,
TOKEN_PD_POOLS = 314,
TOKEN_PREFIX = 315,
TOKEN_PREFIX_LEN = 316,
TOKEN_EXCLUDED_PREFIX = 317,
TOKEN_EXCLUDED_PREFIX_LEN = 318,
TOKEN_DELEGATED_LEN = 319,
TOKEN_USER_CONTEXT = 320,
TOKEN_COMMENT = 321,
TOKEN_SUBNET = 322,
TOKEN_INTERFACE = 323,
TOKEN_INTERFACE_ID = 324,
TOKEN_ID = 325,
TOKEN_RAPID_COMMIT = 326,
TOKEN_RESERVATION_MODE = 327,
TOKEN_DISABLED = 328,
TOKEN_OUT_OF_POOL = 329,
TOKEN_GLOBAL = 330,
TOKEN_ALL = 331,
TOKEN_SHARED_NETWORKS = 332,
TOKEN_MAC_SOURCES = 333,
TOKEN_RELAY_SUPPLIED_OPTIONS = 334,
TOKEN_HOST_RESERVATION_IDENTIFIERS = 335,
TOKEN_SANITY_CHECKS = 336,
TOKEN_LEASE_CHECKS = 337,
TOKEN_CLIENT_CLASSES = 338,
TOKEN_REQUIRE_CLIENT_CLASSES = 339,
TOKEN_TEST = 340,
TOKEN_ONLY_IF_REQUIRED = 341,
TOKEN_CLIENT_CLASS = 342,
TOKEN_RESERVATIONS = 343,
TOKEN_IP_ADDRESSES = 344,
TOKEN_PREFIXES = 345,
TOKEN_DUID = 346,
TOKEN_HW_ADDRESS = 347,
TOKEN_HOSTNAME = 348,
TOKEN_FLEX_ID = 349,
TOKEN_RELAY = 350,
TOKEN_IP_ADDRESS = 351,
TOKEN_HOOKS_LIBRARIES = 352,
TOKEN_LIBRARY = 353,
TOKEN_PARAMETERS = 354,
TOKEN_EXPIRED_LEASES_PROCESSING = 355,
TOKEN_RECLAIM_TIMER_WAIT_TIME = 356,
TOKEN_FLUSH_RECLAIMED_TIMER_WAIT_TIME = 357,
TOKEN_HOLD_RECLAIMED_TIME = 358,
TOKEN_MAX_RECLAIM_LEASES = 359,
TOKEN_MAX_RECLAIM_TIME = 360,
TOKEN_UNWARNED_RECLAIM_CYCLES = 361,
TOKEN_SERVER_ID = 362,
TOKEN_LLT = 363,
TOKEN_EN = 364,
TOKEN_LL = 365,
TOKEN_IDENTIFIER = 366,
TOKEN_HTYPE = 367,
TOKEN_TIME = 368,
TOKEN_ENTERPRISE_ID = 369,
TOKEN_DHCP4O6_PORT = 370,
TOKEN_CONTROL_SOCKET = 371,
TOKEN_SOCKET_TYPE = 372,
TOKEN_SOCKET_NAME = 373,
TOKEN_DHCP_DDNS = 374,
TOKEN_ENABLE_UPDATES = 375,
TOKEN_QUALIFYING_SUFFIX = 376,
TOKEN_SERVER_IP = 377,
TOKEN_SERVER_PORT = 378,
TOKEN_SENDER_IP = 379,
TOKEN_SENDER_PORT = 380,
TOKEN_MAX_QUEUE_SIZE = 381,
TOKEN_NCR_PROTOCOL = 382,
TOKEN_NCR_FORMAT = 383,
TOKEN_ALWAYS_INCLUDE_FQDN = 384,
TOKEN_OVERRIDE_NO_UPDATE = 385,
TOKEN_OVERRIDE_CLIENT_UPDATE = 386,
TOKEN_REPLACE_CLIENT_NAME = 387,
TOKEN_GENERATED_PREFIX = 388,
TOKEN_UDP = 389,
TOKEN_TCP = 390,
TOKEN_JSON = 391,
TOKEN_WHEN_PRESENT = 392,
TOKEN_NEVER = 393,
TOKEN_ALWAYS = 394,
TOKEN_WHEN_NOT_PRESENT = 395,
TOKEN_HOSTNAME_CHAR_SET = 396,
TOKEN_HOSTNAME_CHAR_REPLACEMENT = 397,
TOKEN_LOGGING = 398,
TOKEN_LOGGERS = 399,
TOKEN_OUTPUT_OPTIONS = 400,
TOKEN_OUTPUT = 401,
TOKEN_DEBUGLEVEL = 402,
TOKEN_SEVERITY = 403,
TOKEN_FLUSH = 404,
TOKEN_MAXSIZE = 405,
TOKEN_MAXVER = 406,
TOKEN_DHCP4 = 407,
TOKEN_DHCPDDNS = 408,
TOKEN_CONTROL_AGENT = 409,
TOKEN_TOPLEVEL_JSON = 410,
TOKEN_TOPLEVEL_DHCP6 = 411,
TOKEN_SUB_DHCP6 = 412,
TOKEN_SUB_INTERFACES6 = 413,
TOKEN_SUB_SUBNET6 = 414,
TOKEN_SUB_POOL6 = 415,
TOKEN_SUB_PD_POOL = 416,
TOKEN_SUB_RESERVATION = 417,
TOKEN_SUB_OPTION_DEFS = 418,
TOKEN_SUB_OPTION_DEF = 419,
TOKEN_SUB_OPTION_DATA = 420,
TOKEN_SUB_HOOKS_LIBRARY = 421,
TOKEN_SUB_DHCP_DDNS = 422,
TOKEN_SUB_LOGGING = 423,
TOKEN_SUB_CONFIG_CONTROL = 424,
TOKEN_STRING = 425,
TOKEN_INTEGER = 426,
TOKEN_FLOAT = 427,
TOKEN_BOOLEAN = 428
};
};
......@@ -664,6 +668,14 @@ namespace isc { namespace dhcp {
symbol_type
make_DHCP6 (const location_type& l);
static inline
symbol_type
make_CONFIG_CONTROL (const location_type& l);
static inline
symbol_type
make_CONFIG_DATABASES (const location_type& l);
static inline
symbol_type
make_INTERFACES_CONFIG (const location_type& l);
......@@ -788,6 +800,10 @@ namespace isc { namespace dhcp {
symbol_type
make_DECLINE_PROBATION_PERIOD (const location_type& l);
static inline
symbol_type
make_SERVER_TAG (const location_type& l);
static inline
symbol_type
make_SUBNET6 (const location_type& l);
......@@ -1284,6 +1300,10 @@ namespace isc { namespace dhcp {
symbol_type
make_SUB_LOGGING (const location_type& l);
static inline
symbol_type
make_SUB_CONFIG_CONTROL (const location_type& l);
static inline
symbol_type
make_STRING (const std::string& v, const location_type& l);
......@@ -1505,12 +1525,12 @@ namespace isc { namespace dhcp {
enum
{
yyeof_ = 0,
yylast_ = 988, ///< Last index in yytable_.
yynnts_ = 377, ///< Number of nonterminal symbols.
yyfinal_ = 30, ///< Termination state number.
yylast_ = 1018, ///< Last index in yytable_.
yynnts_ = 389, ///< Number of nonterminal symbols.
yyfinal_ = 32, ///< Termination state number.
yyterror_ = 1,
yyerrcode_ = 256,
yyntokens_ = 170 ///< Number of tokens.
yyntokens_ = 174 ///< Number of tokens.
};
......@@ -1569,9 +1589,9 @@ namespace isc { namespace dhcp {
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
165, 166, 167, 168, 169
165, 166, 167, 168, 169, 170, 171, 172, 173
};
const unsigned int user_token_number_max_ = 424;
const unsigned int user_token_number_max_ = 428;
const token_number_type undef_token_ = 2;
if (static_cast<int>(t) <= yyeof_)
......@@ -1604,29 +1624,29 @@ namespace isc { namespace dhcp {
{
switch (other.type_get ())
{
case 186: // value
case 190: // map_value
case 240: // db_type
case 329: // hr_mode
case 465: // duid_type
case 498: // ncr_protocol_value
case 506: // replace_client_name_value
case 191: // value
case 195: // map_value
case 247: // db_type
case 336: // hr_mode
case 472: // duid_type
case 505: // ncr_protocol_value
case 513: // replace_client_name_value
value.copy< ElementPtr > (other.value);
break;
case 169: // "boolean"
case 173: // "boolean"
value.copy< bool > (other.value);
break;
case 168: // "floating point"
case 172: // "floating point"
value.copy< double > (other.value);
break;
case 167: // "integer"
case 171: // "integer"
value.copy< int64_t > (other.value);
break;
case 166: // "constant string"
case 170: // "constant string"
value.copy< std::string > (other.value);
break;
......@@ -1647,29 +1667,29 @@ namespace isc { namespace dhcp {
(void) v;
switch (this->type_get ())
{
case 186: // value
case 190: // map_value
case 240: // db_type
case 329: // hr_mode
case 465: // duid_type
case 498: // ncr_protocol_value
case 506: // replace_client_name_value
case 191: // value
case 195: // map_value
case 247: // db_type
case 336: // hr_mode
case 472: // duid_type
case 505: // ncr_protocol_value
case 513: // replace_client_name_value
value.copy< ElementPtr > (v);
break;
case 169: // "boolean"
case 173: // "boolean"
value.copy< bool > (v);
break;
case 168: // "floating point"
case 172: // "floating point"
value.copy< double > (v);
break;
case 167: // "integer"
case 171: // "integer"
value.copy< int64_t > (v);
break;
case 166: // "constant string"
case 170: // "constant string"
value.copy< std::string > (v);
break;
......@@ -1749,29 +1769,29 @@ namespace isc { namespace dhcp {
// Type destructor.
switch (yytype)
{
case 186: // value
case 190: // map_value
case 240: // db_type
case 329: // hr_mode
case 465: // duid_type
case 498: // ncr_protocol_value
case 506: // replace_client_name_value
case 191: // value
case 195: // map_value
case 247: // db_type
case 336: // hr_mode
case 472: // duid_type
case 505: // ncr_protocol_value
case 513: // replace_client_name_value
value.template destroy< ElementPtr > ();
break;
case 169: // "boolean"
case 173: // "boolean"
value.template destroy< bool > ();
break;
case 168: // "floating point"
case 172: // "floating point"
value.template destroy< double > ();
break;
case 167: // "integer"
case 171: // "integer"
value.template destroy< int64_t > ();
break;
case 166: // "constant string"
case 170: // "constant string"
value.template destroy< std::string > ();
break;
......@@ -1798,29 +1818,29 @@ namespace isc { namespace dhcp {
super_type::move(s);
switch (this->type_get ())
{
case 186: // value
case 190: // map_value
case 240: // db_type
case 329: // hr_mode
case 465: // duid_type
case 498: // ncr_protocol_value
case 506: // replace_client_name_value
case 191: // value
case 195: // map_value
case 247: // db_type
case 336: // hr_mode
case 472: // duid_type
case 505: // ncr_protocol_value
case 513: // replace_client_name_value
value.move< ElementPtr > (s.value);
break;
case 169: // "boolean"
case 173: // "boolean"
value.move< bool > (s.value);
break;
case 168: // "floating point"
case 172: // "floating point"
value.move< double > (s.value);
break;
case 167: // "integer"
case 171: // "integer"
value.move< int64_t > (s.value);
break;
case 166: // "constant string"
case 170: // "constant string"
value.move< std::string > (s.value);
break;
......@@ -1895,7 +1915,8 @@ namespace isc { namespace dhcp {
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
395, 396, 397, 398, 399, 400, 401, 402, 403, 404,
405, 406, 407, 408, 409, 410, 411, 412, 413, 414,
415, 416, 417, 418, 419, 420, 421, 422, 423, 424
415, 416, 417, 418, 419, 420, 421, 422, 423, 424,
425, 426, 427, 428
};
return static_cast<token_type> (yytoken_number_[type]);
}
......@@ -1954,6 +1975,18 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_DHCP6, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_CONFIG_CONTROL (const location_type& l)
{
return symbol_type (token::TOKEN_CONFIG_CONTROL, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_CONFIG_DATABASES (const location_type& l)
{
return symbol_type (token::TOKEN_CONFIG_DATABASES, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_INTERFACES_CONFIG (const location_type& l)
{
......@@ -2140,6 +2173,12 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_DECLINE_PROBATION_PERIOD, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_SERVER_TAG (const location_type& l)
{
return symbol_type (token::TOKEN_SERVER_TAG, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_SUBNET6 (const location_type& l)
{
......@@ -2884,6 +2923,12 @@ namespace isc { namespace dhcp {
return symbol_type (token::TOKEN_SUB_LOGGING, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_SUB_CONFIG_CONTROL (const location_type& l)
{
return symbol_type (token::TOKEN_SUB_CONFIG_CONTROL, l);
}
Dhcp6Parser::symbol_type
Dhcp6Parser::make_STRING (const std::string& v, const location_type& l)
{
......@@ -2911,7 +2956,7 @@ namespace isc { namespace dhcp {
#line 14 "dhcp6_parser.yy" // lalr1.cc:377
} } // isc::dhcp
#line 2915 "dhcp6_parser.h" // lalr1.cc:377
#line 2960 "dhcp6_parser.h" // lalr1.cc:377
......
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