|
@@ -36,14 +36,16 @@ class BaseKea implements KeaConfigInterface
|
|
|
}
|
|
|
|
|
|
return json_encode([
|
|
|
- 'Dhcp4' => [
|
|
|
- 'control-socket' => $this->controlSocketConfig(),
|
|
|
- 'lease-database' =>$this->leaseDatabaseConfig(),
|
|
|
- 'subnet4' => $this->subnet4,
|
|
|
- 'hooks-libraries' => $this->hooks_libraries,
|
|
|
- ],
|
|
|
- 'Logging' => $this->loggingConfig(),
|
|
|
- ], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
|
|
|
+ array(
|
|
|
+ 'arguments' => array(
|
|
|
+ 'Dhcp4' => [
|
|
|
+ 'control-socket' => $this->controlSocketConfig(),
|
|
|
+ 'lease-database' =>$this->leaseDatabaseConfig(),
|
|
|
+ 'subnet4' => $this->subnet4,
|
|
|
+ 'hooks-libraries' => $this->hooks_libraries,
|
|
|
+ ],
|
|
|
+ 'Logging' => $this->loggingConfig(),
|
|
|
+ ))], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
|
|
|
}
|
|
|
|
|
|
/**
|