Send kea-dev mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/kea-dev
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of kea-dev digest..."


Today's Topics:

   1.  Config-write hook is not writing all info (s k)


----------------------------------------------------------------------

Message: 1
Date: Tue, 12 Apr 2022 04:29:50 +0000
From: s k <[email protected]>
To: "[email protected]" <[email protected]>, kea-users
        <[email protected]>
Subject: [kea-dev] Config-write hook is not writing all info
Message-ID:
        
<yt2pr01mb627253e32ced9ba13ea76833a8...@yt2pr01mb6272.canprd01.prod.outlook.com>
        
Content-Type: text/plain; charset="iso-8859-1"

Hi

  I tried following steps to add new subnet6 using subnet6-add Hook


  1.  Add subnet6-add command to add new subnet6 dynamically using control agent
  2.     Message says "[ { "arguments": { "subnets": [ { "id": 1, "subnet": 
"fda4:110:0:10::8053:370/64" } ] }, "result": 0, "text": "IPv6 subnet added" } 
] "

       2. To confirm added the same subnet again
               Message Says "[ { "result": 1, "text": "subnet with the prefix 
of 'fda4:110:0:10::8053:370/64' already exists" } ]"
       3. Now Try to write the config from memory to file using config_cmds hook

{
    "service": ["dhcp6"],
    "command": "config-write",
    "arguments": {
        "filename": "/tmp/config-modified-2022-04-11.json"
    }
}
Expectation is the newly added subnet should exists in the file 
"/tmp/config-modified-2022-04-11.json"  But it does not . am i missing any 
steps ?

    4. Now restart Kes-dhcp6 service
    5. Repeat step 1
         Message says  "[ { "arguments": { "subnets": [ { "id": 1, "subnet": 
"fda4:110:0:10::8053:370/64" } ] }, "result": 0, "text": "IPv6 subnet added" } 
] "
   Meaning the new subnet only exists only in memory.

How do i correct this ?



Thanks for all your help





  1.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/kea-dev/attachments/20220412/70786bd1/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
kea-dev mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-dev


------------------------------

End of kea-dev Digest, Vol 78, Issue 3
**************************************

Reply via email to