Commit eb23facd authored by Michal Nowikowski's avatar Michal Nowikowski

fixed hooks location from lib/hooks to lib/kea/hooks

parent 6a95d51e
......@@ -235,7 +235,7 @@
"hooks-libraries": [
{
// Location of the hooks library to be loaded.
"library": "/opt/lib/hooks/libdhcp_lease_cmds.so",
"library": "/opt/lib/kea/hooks/libdhcp_lease_cmds.so",
// Hook library specific configuration parameters.
"parameters": { }
......
......@@ -235,7 +235,7 @@
"hooks-libraries": [
{
// Location of the hooks library to be loaded.
"library": "/opt/lib/hooks/libdhcp_lease_cmds.so",
"library": "/opt/lib/kea/hooks/libdhcp_lease_cmds.so",
// Hook library specific configuration parameters.
"parameters": { }
......
......@@ -83,12 +83,12 @@
// deliver lease updates to the server as well as synchronize the
// lease database after failure.
{
"library": "/opt/lib/hooks/libdhcp_lease_cmds.so",
"library": "/opt/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
// The HA hooks library should be loaded.
"library": "/opt/lib/hooks/libdhcp_ha.so",
"library": "/opt/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
// High Availability configuration is specified for the HA hook library.
// Each server should have the same HA configuration, except for the
......
......@@ -125,7 +125,7 @@
"hooks-libraries": [
{
// Load the flex-id hook library.
"library": "/usr/local/lib/hooks/libdhcp_flex_id.so",
"library": "/usr/local/lib/kea/hooks/libdhcp_flex_id.so",
"parameters": {
// Take the ID from the AOP option.
......@@ -141,11 +141,11 @@
// Load the host cache hook library. It is needed by the RADIUS
// library to keep the attributes from authorization to later user
// for accounting.
"library": "/usr/local/lib/hooks/libdhcp_host_cache.so"
"library": "/usr/local/lib/kea/hooks/libdhcp_host_cache.so"
},
{
// Load the RADIUS hook library.
"library": "/usr/local/lib/hooks/libdhcp_radius.so",
"library": "/usr/local/lib/kea/hooks/libdhcp_radius.so",
"parameters": {
// If do not use RFC 4361
......
......@@ -191,7 +191,7 @@
"hooks-libraries": [
{
// Location of the hooks library to be loaded.
"library": "/opt/lib/hooks/libdhcp_lease_cmds.so",
"library": "/opt/lib/kea/hooks/libdhcp_lease_cmds.so",
// Hook library specific configuration parameters.
"parameters": { }
......
......@@ -191,7 +191,7 @@
"hooks-libraries": [
{
// Location of the hooks library to be loaded.
"library": "/opt/lib/hooks/libdhcp_lease_cmds.so",
"library": "/opt/lib/kea/hooks/libdhcp_lease_cmds.so",
// Hook library specific configuration parameters.
"parameters": { }
......
......@@ -40,12 +40,12 @@
// The latter implements high availability feature for Kea.
"hooks-libraries": [
{
"library": "/opt/lib/hooks/libdhcp_lease_cmds.so",
"library": "/opt/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
// The HA hooks library should be loaded.
"library": "/opt/lib/hooks/libdhcp_ha.so",
"library": "/opt/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
// High Availability configuration is specified for the HA hook library.
// Each server should have the same HA configuration, except for the
......@@ -148,4 +148,3 @@
}
}
......@@ -420,11 +420,11 @@
"hooks-libraries": [
{
"library": "/usr/lib/hooks/libdhcp_lease_cmds.so",
"library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
"library": "/usr/lib/hooks/libdhcp_ha.so",
"library": "/usr/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [ {
"this-server-name": "server1",
......@@ -703,11 +703,11 @@
"hooks-libraries": [
{
"library": "/usr/lib/hooks/libdhcp_lease_cmds.so",
"library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
"library": "/usr/lib/hooks/libdhcp_ha.so",
"library": "/usr/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [ {
......@@ -790,11 +790,11 @@
"hooks-libraries": [
{
"library": "/usr/lib/hooks/libdhcp_lease_cmds.so",
"library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
"library": "/usr/lib/hooks/libdhcp_ha.so",
"library": "/usr/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [ {
"this-server-name": "server1",
......@@ -916,11 +916,11 @@
"hooks-libraries": [
{
"library": "/usr/lib/hooks/libdhcp_lease_cmds.so",
"library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
"library": "/usr/lib/hooks/libdhcp_ha.so",
"library": "/usr/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [ {
"this-server-name": "server1",
......@@ -1023,11 +1023,11 @@
"hooks-libraries": [
{
"library": "/usr/lib/hooks/libdhcp_lease_cmds.so",
"library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
"library": "/usr/lib/hooks/libdhcp_ha.so",
"library": "/usr/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [ {
"this-server-name": "server1",
......@@ -1118,11 +1118,11 @@
"hooks-libraries": [
{
"library": "/usr/lib/hooks/libdhcp_lease_cmds.so",
"library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
"library": "/usr/lib/hooks/libdhcp_ha.so",
"library": "/usr/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [ {
"this-server-name": "server1",
......@@ -1182,11 +1182,11 @@
"hooks-libraries": [
{
"library": "/usr/lib/hooks/libdhcp_lease_cmds.so",
"library": "/usr/lib/kea/hooks/libdhcp_lease_cmds.so",
"parameters": { }
},
{
"library": "/usr/lib/hooks/libdhcp_ha.so",
"library": "/usr/lib/kea/hooks/libdhcp_ha.so",
"parameters": {
"high-availability": [ {
"this-server-name": "server1",
......
......@@ -41,7 +41,7 @@
"hooks-libraries": [
{
"library": "/usr/local/lib/hooks/libdhc_host_cache.so",
"library": "/usr/local/lib/kea/hooks/libdhc_host_cache.so",
"parameters": {
// Tells Kea to never cache more than 1000 hosts.
......
......@@ -229,7 +229,7 @@ Package:
Extended version: &keaversion; (tarball)
OS Family: Linux
Hooks directory: /usr/local/lib/hooks
Hooks directory: /usr/local/lib/kea/hooks
Premium hooks: yes
Included Hooks: forensic_log flex_id host_cmds subnet_cmds radius host_cache
......@@ -342,10 +342,10 @@ Please make sure that your compilation has the following:
{
// Note that RADIUS requires host-cache for proper operation,
// so that library is loaded as well.
"library": "/usr/local/lib/hooks/libdhcp_host_cache.so"
"library": "/usr/local/lib/kea/hooks/libdhcp_host_cache.so"
},
{
"library": "/usr/local/lib/hooks/libdhc_radius.so",
"library": "/usr/local/lib/kea/hooks/libdhc_radius.so",
"parameters": {
// Specify where FreeRADIUS dictionary could be located
......@@ -499,7 +499,7 @@ Please make sure that your compilation has the following:
<itemizedlist>
<listitem><simpara><command>name</command> of the
attribute.</simpara></listitem>
<listitem><simpara><command>type</command> of the attribute. Either the type
or the name must be provided, and the attribute must be defined in the dictionary.</simpara></listitem>
......
......@@ -178,20 +178,20 @@ $ <userinput>sudo make install</userinput>
<para>
The installation location of the hooks libraries depends whether you
specified --prefix parameter to the configure script. If you did not,
the default location will be /usr/local/lib/hooks. You can verify the
the default location will be /usr/local/lib/kea/hooks. You can verify the
libraries are installed properly with this command:
<screen>
$ <userinput>ls -l /usr/local/lib/hooks/*.so</userinput>
/usr/local/lib/hooks/libdhcp_class_cmds.so
/usr/local/lib/hooks/libdhcp_flex_id.so
/usr/local/lib/hooks/libdhcp_host_cmds.so
/usr/local/lib/hooks/libdhcp_lease_cmds.so
/usr/local/lib/hooks/libdhcp_legal_log.so
/usr/local/lib/hooks/libdhcp_subnet_cmds.so
$ <userinput>ls -l /usr/local/lib/kea/hooks/*.so</userinput>
/usr/local/lib/kea/hooks/libdhcp_class_cmds.so
/usr/local/lib/kea/hooks/libdhcp_flex_id.so
/usr/local/lib/kea/hooks/libdhcp_host_cmds.so
/usr/local/lib/kea/hooks/libdhcp_lease_cmds.so
/usr/local/lib/kea/hooks/libdhcp_legal_log.so
/usr/local/lib/kea/hooks/libdhcp_subnet_cmds.so
</screen>
The exact list you see will depend on the packages you have.
If you specified directory via --prefix, the hooks libraries
will be located in {prefix directory}/lib/hooks.
will be located in {prefix directory}/lib/kea/hooks.
</para>
</section>
......
......@@ -55,7 +55,7 @@
</listitem>
<listitem>
<simpara>
<filename>lib/hooks</filename>
<filename>lib/kea/hooks</filename>
additional hooks libraries.
</simpara>
</listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment