WebService::ProfitBricks::Nic - Manage nics.
Manage the nics of a server.
my $nic = $srv->eth->new(nicName => "intern", lanId => 2); $nic->save; my $nic2 = $srv->eth->new(nicName => "public", lanId => 3); $nic2->setInternetAccess(1);
Set the internetAccess flags. 1 for true, 0 for false.
To install WebService::ProfitBricks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::ProfitBricks
CPAN shell
perl -MCPAN -e shell install WebService::ProfitBricks
For more information on module installation, please visit the detailed CPAN module installation guide.