diff options
author | Tomek Mrugalski <tomek@isc.org> | 2020-08-13 12:18:30 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomek@isc.org> | 2020-08-13 12:26:29 +0200 |
commit | a54f500452a3a904253fccd28aba9cac6bd180bf (patch) | |
tree | 45a21cbed70b3166b2358786f74a49fe183eac42 /src/bin/dhcp6/tests | |
parent | [#285] ConfigGet unit-tests regenerated (diff) | |
download | kea-a54f500452a3a904253fccd28aba9cac6bd180bf.tar.xz kea-a54f500452a3a904253fccd28aba9cac6bd180bf.zip |
[#285] get-config tests for dhcp6 regenerated
Diffstat (limited to 'src/bin/dhcp6/tests')
-rw-r--r-- | src/bin/dhcp6/tests/get_config_unittest.cc | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/src/bin/dhcp6/tests/get_config_unittest.cc b/src/bin/dhcp6/tests/get_config_unittest.cc index bc13a2953c..985151c494 100644 --- a/src/bin/dhcp6/tests/get_config_unittest.cc +++ b/src/bin/dhcp6/tests/get_config_unittest.cc @@ -2006,7 +2006,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -2085,7 +2085,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -2198,7 +2198,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -2378,7 +2378,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -2558,7 +2558,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -2738,7 +2738,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -2851,7 +2851,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -2957,7 +2957,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3063,7 +3063,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3201,7 +3201,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3306,7 +3306,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3413,7 +3413,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3522,7 +3522,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3646,7 +3646,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3753,7 +3753,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3840,7 +3840,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -3927,7 +3927,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4023,7 +4023,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4110,7 +4110,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4197,7 +4197,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4319,7 +4319,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4441,7 +4441,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4573,7 +4573,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4688,7 +4688,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4846,7 +4846,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -4994,7 +4994,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -5152,7 +5152,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -5272,7 +5272,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -5396,7 +5396,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -5475,7 +5475,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -5554,7 +5554,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -5659,7 +5659,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -5764,7 +5764,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -5947,7 +5947,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -6067,7 +6067,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -6195,7 +6195,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 777\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -6300,7 +6300,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 777\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -6405,7 +6405,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 777\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -6510,7 +6510,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -6740,7 +6740,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -6868,7 +6868,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -6947,7 +6947,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7026,7 +7026,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7235,7 +7235,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7366,7 +7366,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7445,7 +7445,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7522,7 +7522,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7599,7 +7599,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7676,7 +7676,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7767,7 +7767,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7872,7 +7872,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -7977,7 +7977,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -8083,7 +8083,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -8194,7 +8194,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -8305,7 +8305,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -8412,7 +8412,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -8520,7 +8520,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -8633,7 +8633,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -8758,7 +8758,7 @@ const char* UNPARSED_CONFIGS[] = { " }\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -8951,7 +8951,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -9148,7 +9148,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -9227,7 +9227,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" @@ -9304,7 +9304,7 @@ const char* UNPARSED_CONFIGS[] = { " \"server-port\": 53001\n" " },\n" " \"dhcp-queue-control\": {\n" -" \"capacity\": 500,\n" +" \"capacity\": 64,\n" " \"enable-queue\": false,\n" " \"queue-type\": \"kea-ring6\"\n" " },\n" |