]> git.proxmox.com Git - pve-network.git/commitdiff
fix tests for bookworm
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 7 Jun 2023 11:25:02 +0000 (13:25 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 7 Jun 2023 11:25:02 +0000 (13:25 +0200)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
27 files changed:
src/test/dns/powerdns/expected.add_a_multiple_record.ipv4
src/test/dns/powerdns/expected.add_a_multiple_record.ipv6
src/test/dns/powerdns/expected.add_a_record.ipv4
src/test/dns/powerdns/expected.add_a_record.ipv6
src/test/dns/powerdns/expected.add_ptr_record.ipv4
src/test/dns/powerdns/expected.add_ptr_record.ipv6
src/test/dns/powerdns/expected.del_a_multiple_record.ipv4
src/test/dns/powerdns/expected.del_a_multiple_record.ipv6
src/test/dns/powerdns/expected.del_a_record.ipv4
src/test/dns/powerdns/expected.del_a_record.ipv6
src/test/dns/powerdns/expected.del_ptr_record.ipv4
src/test/dns/powerdns/expected.del_ptr_record.ipv6
src/test/dns/powerdns/expected.verify_zone
src/test/ipams/netbox/expected.add_ip
src/test/ipams/netbox/expected.add_ip_notgateway
src/test/ipams/netbox/expected.add_next_freeip
src/test/ipams/netbox/expected.add_subnet
src/test/ipams/netbox/expected.del_ip
src/test/ipams/netbox/expected.del_subnet
src/test/ipams/netbox/expected.update_ip
src/test/ipams/phpipam/expected.add_ip
src/test/ipams/phpipam/expected.add_ip_notgateway
src/test/ipams/phpipam/expected.add_next_freeip
src/test/ipams/phpipam/expected.add_subnet
src/test/ipams/phpipam/expected.del_ip
src/test/ipams/phpipam/expected.del_subnet
src/test/ipams/phpipam/expected.update_ip

index 0e5539f7050aaa02e1cfae1149f41752526ed96f..846391a1fdd32868669143341512c5a41eb1c34d 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index e432e7be7778ce888e269ccc9e0b97123d9817b4..7642dbb5b3f7b580f14570b1c00ec10b436560fb 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 888d67f390639e1737181fda8dda51e09af42169..c4bb573bb482657207ea14efa17e5582d1f41ad3 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                         'content-type' => 'application/json; charset=UTF-8',
                                         'x-api-key' => '1234'
                                       }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                  '_method' => 'PATCH',
                  '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
-               }, 'HTTP::Request' );
\ No newline at end of file
+               }, 'HTTP::Request' );
index bfeeab7fc8c82137af6a32ca995f62d629217e54..55706bf5321cd8ebc566499b259e3e893a9d58eb 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 69239711e56fb806c36e95349ddc2e19ce7d9e68..45b78e37dd339dd17e75b1ba6b07869984d5c468 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 1d8049f243e9e1218aaa1bc74f96142c104c5ffa..d507c27085586517877d6baa28fabbd5ed761f49 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 45d76c6c53704164a092890c3f94fc54d44fa8fb..7aec8ed30537671146432aba92f5f137b0501115 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 9b56abdf9267e42912f92533ef0e7f3b5c0a1be3..33637dcc8f17d8ed79598471ced01dabaaac64f6 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 7c0cf45000b93bb545c0ef186c16d463ee6578fd..0933d9a99765ad596b499990e0d8135a441369af 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                  }, 'HTTP::Request' );
index 9494c83897c14ca03eebfd7d5f24bec262ce7372..0b718a23fec1d83bb5cdba8a267097a78b463bca 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 120485b59ea495d9108209d5230e5cce1a70881f..05007ee69c45562b6b0b376a65a8df61f1741cb8 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 7948e783390222ae6fa0735e3c7ca5cad596573f..c8604ccb2ede83bb46ff21d351add534ca2cf3b9 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
                 }, 'HTTP::Request' );
index b476875da1f039e4f85c175f3c1b1bbfdab1182d..107feaa966685c9d53ddca3e824ed3d8c6e1250a 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'x-api-key' => '1234'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'GET',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com?rrsets=false')}, 'URI::http' )
                 }, 'HTTP::Request' );
index ae876f2ac134b7c86d75d4ff8ea208e69181da52..e9323ca75429828edd37ceb2b61925da82023ab8 100644 (file)
@@ -4,6 +4,7 @@ bless( {
                                          'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
                                          'content-type' => 'application/json; charset=UTF-8'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/')}, 'URI::http' )
                 }, 'HTTP::Request' );
index ae876f2ac134b7c86d75d4ff8ea208e69181da52..e9323ca75429828edd37ceb2b61925da82023ab8 100644 (file)
@@ -4,6 +4,7 @@ bless( {
                                          'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
                                          'content-type' => 'application/json; charset=UTF-8'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 7f80f4c55b31b02c8a9967dd7d71e1c859b18697..86840ebc221e589e38ab0b5b3dcfa3bbf47c3951 100644 (file)
@@ -4,6 +4,7 @@ bless( {
                                          'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
                                          'content-type' => 'application/json; charset=UTF-8'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/prefixes/1/available-ips/')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 62ca823c9f3dc9363584f3afe53d0f25d4792928..6f21265a2a18ae95ec6b202e437bf6ca1d615676 100644 (file)
@@ -4,6 +4,7 @@ bless( {
                                          'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
                                          'content-type' => 'application/json; charset=UTF-8'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/prefixes/')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 3c41de49d6781c8076c968a668052c8b49976548..522b30f167e539124e4631111a9f6885a91ba23d 100644 (file)
@@ -4,6 +4,7 @@ bless( {
                                          'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
                                          'content-type' => 'application/json; charset=UTF-8'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'DELETE',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/1/')}, 'URI::http' )
                 }, 'HTTP::Request' );
index bdadb71966faf93cc9cd74ff32eb7f7dd6f400e3..527c3d6b475d1cb152b0b7944be3ed6b246266b8 100644 (file)
@@ -4,6 +4,7 @@ bless( {
                                          'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
                                          'content-type' => 'application/json; charset=UTF-8'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/')}, 'URI::http' )
                 }, 'HTTP::Request' );
index a1202adb1888adc8483864df454fe2e3c929130d..5679e8d4ee8b4494180ec629009d31ecd8a3b82c 100644 (file)
@@ -4,6 +4,7 @@ bless( {
                                          'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
                                          'content-type' => 'application/json; charset=UTF-8'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/1/')}, 'URI::http' )
                 }, 'HTTP::Request' );
index 50af46026fb3d00c06b57cdad02e15dbe38d7375..961592ecbfd43982f0c667163cd5234ace869470 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/')}, 'URI::https' )
                 }, 'HTTP::Request' );
index 7a91359a9e4c25b6d0b9a6e02ed7d6f7becb0eec..fb6d35f9ede462aca431a28339496d10523cb805 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/')}, 'URI::https' )
                 }, 'HTTP::Request' );
index d72f94f606521bad9a1970b71409349976dfd9b2..b513aaca9662f4e61e376da2e9d08a4d202d2851 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/first_free/1/')}, 'URI::https' )
                 }, 'HTTP::Request' );
index b10cc5a3bc3cff2fd9e09dc9b0474f2a13931be1..00e4049ea0911a0b883e1b075ff3885689066f5f 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/subnets/')}, 'URI::https' )
                 }, 'HTTP::Request' );
index 72e83cba9ec9612c9ef8ff8d32e98a6f9afd4a60..40e3fcd9f851ddaf27ec086c5a22b489a307440a 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'DELETE',
                   '_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/1')}, 'URI::https' )
                 }, 'HTTP::Request' );
index 349a34f5219aafe6d371c38e0212af011cce5f33..3e30b97042e89554447c484f11ca8e86ea55ff79 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'POST',
                   '_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/')}, 'URI::https' )
                 }, 'HTTP::Request' );
index 96c219b0eb385516ad77b03ec0825891039c6959..a3cc70c735f79692bc17d91bc903ad4cd36004f4 100644 (file)
@@ -7,6 +7,7 @@ bless( {
                                          'content-type' => 'application/json; charset=UTF-8',
                                          'token' => 'JPHkPSLB4O_XL-GQz4qtEFmNpx-99Htw'
                                        }, 'HTTP::Headers' ),
+                  '_max_body_size' => undef,
                   '_method' => 'PATCH',
                   '_uri' => bless( do{\(my $o = 'https://localhost/api/apiadmin/addresses/1')}, 'URI::https' )
                 }, 'HTTP::Request' );