NAME

WebService::ProfitBricks::IpBlock - Manage IP blocks

DESCRIPTION

Manage the IP blocks.

SYNOPSIS

my $block = IpBlock->new(blockSize => 2);
$block->save;

METHODS

list
find($ip)

Search the ip block to which $ip belongs to.

save

Reserves the amount of IPs given to the constructor.

reserve

Alias for save().

release

Releases the current IP block.

removePublicIpFromNic($ip, $nicId)

Remove the given public ip ($ip) from the nic represented by $nicId.