|
@@ -34,6 +34,7 @@ class DHCPOptionsService
|
|
|
|
|
|
/**
|
|
|
* @param OutputInterface $output
|
|
|
+ * @param string $class Host|SubNet
|
|
|
*
|
|
|
* @return int
|
|
|
*/
|
|
@@ -50,6 +51,7 @@ class DHCPOptionsService
|
|
|
$progressBar = new ProgressBar($output, count($hosts));
|
|
|
$progressBar->setFormat('custom');
|
|
|
$progressBar->start();
|
|
|
+ $progressBar->setMessage('Start...');
|
|
|
foreach ($hosts as $host) {
|
|
|
$mtaOptions = $cpeOptions = '';
|
|
|
$options = $host->getOptions();
|
|
@@ -94,6 +96,7 @@ class DHCPOptionsService
|
|
|
}
|
|
|
$progressBar->advance();
|
|
|
}
|
|
|
+ $progressBar->setMessage('Finished...');
|
|
|
$progressBar->finish();
|
|
|
|
|
|
$this->em->flush();
|