Jan Gehring

NAME

WebService::ProfitBricks::Nic - Manage nics.

DESCRIPTION

Manage the nics of a server.

SYNOPSIS

 my $nic = $srv->eth->new(nicName => "intern", lanId => 2);
 $nic->save;
    
 my $nic2 = $srv->eth->new(nicName => "public", lanId => 3);
 $nic2->setInternetAccess(1);

METHODS

setInternetAccess($has_access)

Set the internetAccess flags. 1 for true, 0 for false.