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.
--
ISC funds the development of this software with paid support subscriptions.
Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users