mirror of
git://git.proxmox.com/git/pve-network.git
synced 2025-02-08 09:57:28 +03:00
sdn: powerdns: remove priority from tests
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
This commit is contained in:
parent
e92b11a2e5
commit
2ca78c7556
@ -1,5 +1,5 @@
|
||||
bless( {
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"127.0.0.1","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"A"},{"content":"10.0.0.1","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"A"}],"ttl":"3600","type":"A"}]}',
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"127.0.0.1","disabled":false,"name":"myhostname.domain.com.","type":"A"},{"content":"10.0.0.1","disabled":false,"name":"myhostname.domain.com.","type":"A"}],"ttl":"3600","type":"A"}]}',
|
||||
'_headers' => bless( {
|
||||
'::std_case' => {
|
||||
'x-api-key' => 'X-API-Key'
|
||||
|
@ -1,5 +1,5 @@
|
||||
bless( {
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"2001:4860:4860::8844","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"AAAA"},{"content":"2001:4860:4860::8888","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"AAAA"}],"ttl":"3600","type":"AAAA"}]}',
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"2001:4860:4860::8844","disabled":false,"name":"myhostname.domain.com.","type":"AAAA"},{"content":"2001:4860:4860::8888","disabled":false,"name":"myhostname.domain.com.","type":"AAAA"}],"ttl":"3600","type":"AAAA"}]}',
|
||||
'_headers' => bless( {
|
||||
'::std_case' => {
|
||||
'x-api-key' => 'X-API-Key'
|
||||
|
@ -1,5 +1,5 @@
|
||||
bless( {
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"10.0.0.1","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"A"}],"ttl":"3600","type":"A"}]}',
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"10.0.0.1","disabled":false,"name":"myhostname.domain.com.","type":"A"}],"ttl":"3600","type":"A"}]}',
|
||||
'_headers' => bless( {
|
||||
'::std_case' => {
|
||||
'x-api-key' => 'X-API-Key'
|
||||
|
@ -1,5 +1,5 @@
|
||||
bless( {
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"2001:4860:4860::8888","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"AAAA"}],"ttl":"3600","type":"AAAA"}]}',
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"2001:4860:4860::8888","disabled":false,"name":"myhostname.domain.com.","type":"AAAA"}],"ttl":"3600","type":"AAAA"}]}',
|
||||
'_headers' => bless( {
|
||||
'::std_case' => {
|
||||
'x-api-key' => 'X-API-Key'
|
||||
|
@ -1,5 +1,5 @@
|
||||
bless( {
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"1.0.0.10.in-addr.arpa.","records":[{"content":"myhostname.","disabled":false,"name":"1.0.0.10.in-addr.arpa.","priority":0,"type":"PTR"}],"ttl":"3600","type":"PTR"}]}',
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"1.0.0.10.in-addr.arpa.","records":[{"content":"myhostname.","disabled":false,"name":"1.0.0.10.in-addr.arpa.","type":"PTR"}],"ttl":"3600","type":"PTR"}]}',
|
||||
'_headers' => bless( {
|
||||
'::std_case' => {
|
||||
'x-api-key' => 'X-API-Key'
|
||||
|
@ -1,5 +1,5 @@
|
||||
bless( {
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"8.8.8.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.8.4.0.6.8.4.1.0.0.2.ip6.arpa.","records":[{"content":"myhostname.","disabled":false,"name":"8.8.8.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.8.4.0.6.8.4.1.0.0.2.ip6.arpa.","priority":0,"type":"PTR"}],"ttl":"3600","type":"PTR"}]}',
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"8.8.8.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.8.4.0.6.8.4.1.0.0.2.ip6.arpa.","records":[{"content":"myhostname.","disabled":false,"name":"8.8.8.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.8.4.0.6.8.4.1.0.0.2.ip6.arpa.","type":"PTR"}],"ttl":"3600","type":"PTR"}]}',
|
||||
'_headers' => bless( {
|
||||
'::std_case' => {
|
||||
'x-api-key' => 'X-API-Key'
|
||||
|
@ -1,5 +1,5 @@
|
||||
bless( {
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"127.0.0.1","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"A"}],"ttl":"3600","type":"A"}]}',
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"127.0.0.1","disabled":false,"name":"myhostname.domain.com.","type":"A"}],"ttl":"3600","type":"A"}]}',
|
||||
'_headers' => bless( {
|
||||
'::std_case' => {
|
||||
'x-api-key' => 'X-API-Key'
|
||||
|
@ -1,5 +1,5 @@
|
||||
bless( {
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"2001:4860:4860::8844","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"AAAA"}],"ttl":"3600","type":"AAAA"}]}',
|
||||
'_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"2001:4860:4860::8844","disabled":false,"name":"myhostname.domain.com.","type":"AAAA"}],"ttl":"3600","type":"AAAA"}]}',
|
||||
'_headers' => bless( {
|
||||
'::std_case' => {
|
||||
'x-api-key' => 'X-API-Key'
|
||||
|
@ -151,8 +151,7 @@ foreach my $path (@plugins) {
|
||||
my $record = { content => $ip,
|
||||
disabled => JSON::false,
|
||||
name => $fqdn,
|
||||
type => $type,
|
||||
priority => 0 };
|
||||
type => $type };
|
||||
|
||||
my $rrset = { name => $fqdn,
|
||||
type => $type,
|
||||
@ -186,14 +185,12 @@ foreach my $path (@plugins) {
|
||||
my $record = { content => $ip,
|
||||
disabled => JSON::false,
|
||||
name => $fqdn,
|
||||
type => $type,
|
||||
priority => 0 };
|
||||
type => $type };
|
||||
|
||||
my $record2 = { content => $ip2,
|
||||
disabled => JSON::false,
|
||||
name => $fqdn,
|
||||
type => $type,
|
||||
priority => 0 };
|
||||
type => $type };
|
||||
|
||||
my $rrset = { name => $fqdn,
|
||||
type => $type,
|
||||
@ -227,8 +224,7 @@ foreach my $path (@plugins) {
|
||||
my $record2 = { content => $ip2,
|
||||
disabled => JSON::false,
|
||||
name => $fqdn,
|
||||
type => $type,
|
||||
priority => 0 };
|
||||
type => $type };
|
||||
|
||||
my $rrset = { name => $fqdn,
|
||||
type => $type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user