]> git.proxmox.com Git - pve-network.git/blob - test/ipams/netbox/expected.update_ip
tests: add ipams tests
[pve-network.git] / test / ipams / netbox / expected.update_ip
1 bless( {
2 '_content' => '{"address":"10.0.0.1/24","description":"mydescription mac:da:65:8f:18:9b:6f","dns_name":"myhostname"}',
3 '_headers' => bless( {
4 'authorization' => 'token 0123456789abcdef0123456789abcdef01234567',
5 'content-type' => 'application/json; charset=UTF-8'
6 }, 'HTTP::Headers' ),
7 '_method' => 'PATCH',
8 '_uri' => bless( do{\(my $o = 'http://localhost:8000/api/ipam/ip-addresses/1/')}, 'URI::http' )
9 }, 'HTTP::Request' );