|
@@ -3,7 +3,7 @@
|
|
|
namespace HostBundle\Command;
|
|
|
|
|
|
use Buzz\Message\RequestInterface as HttpRequestInterface;
|
|
|
-use HostBundle\Entity\Host;
|
|
|
+use IPv4Bundle\Entity\SubNet;
|
|
|
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
|
|
|
use Symfony\Component\Console\Input\InputArgument;
|
|
|
use Symfony\Component\Console\Input\InputOption;
|
|
@@ -45,6 +45,14 @@ EOT
|
|
|
$io->success('Total entities updated: ' . $result);
|
|
|
$io->newLine(2);
|
|
|
|
|
|
+ $io->section("Updating SubNet entities:");
|
|
|
+
|
|
|
+ $result = $dhcpService->formatDhcpOptions($output, SubNet::class);
|
|
|
+
|
|
|
+ $io->newLine(2);
|
|
|
+ $io->success('Total entities updated: ' . $result);
|
|
|
+ $io->newLine(2);
|
|
|
+
|
|
|
$output->writeln(['', 'Done!']);
|
|
|
}
|
|
|
|