mirror of
git://git.proxmox.com/git/pve-network.git
synced 2025-04-30 11:27:11 +02:00
fix tests for bookworm
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
f048b81513
commit
cbf906daae
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
}, 'HTTP::Request' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
|
@ -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' );
|
||||
|
|
Loading…
Reference in a new issue