Kea issueshttps://gitlab.isc.org/isc-projects/kea/-/issues2019-01-15T08:32:34Zhttps://gitlab.isc.org/isc-projects/kea/-/issues/105CB: Create basic config_cmds hooks library including basic management of subn...2019-01-15T08:32:34ZMarcin SiodelskiCB: Create basic config_cmds hooks library including basic management of subnets in the databaseThe Configuration Management section of the Config Backend design:
https://gitlab.isc.org/isc-projects/kea/wikis/designs/configuration-in-db-design#configuration-management
proposes to update subnet_cmds hooks library to be able to man...The Configuration Management section of the Config Backend design:
https://gitlab.isc.org/isc-projects/kea/wikis/designs/configuration-in-db-design#configuration-management
proposes to update subnet_cmds hooks library to be able to manage subnets within the database. This ticket covers such update of the subnet_cmds hooks library.Kea1.6Marcin SiodelskiMarcin Siodelskihttps://gitlab.isc.org/isc-projects/kea/-/issues/465Add subnet4-update and subnet6-update commands to subnet-cmds hook [ISC-suppo...2019-04-19T11:25:18ZVicky Riskvicky@isc.orgAdd subnet4-update and subnet6-update commands to subnet-cmds hook [ISC-support #14130]In order to update an existing subnet, you (currently) have to first delete it and then add it.
When making a small change to a large number of subnets, this can create excessive amount of traffic.
Could we please have additional comman...In order to update an existing subnet, you (currently) have to first delete it and then add it.
When making a small change to a large number of subnets, this can create excessive amount of traffic.
Could we please have additional commands to update an existing subnet?
This was part of the original design, but we didn't implement it at the time (likely ran out of time)
https://gitlab.isc.org/isc-projects/kea/wikis/designs/commands#24-subnets-management
S.7. Kea MAY support the #FF0000 subnet4-update command.
S.8. Kea MAY support the #FF0000 subnet6-update command.
From the wiki:
Those two commands allow making changes to an existing subnet: changing prefix, prefix length, T1, T2, preferred lifetime, valid lifetime timers, allowed client classes, subnet specific options, and subnet-id values. It also allows modifying pools.
Kea1.6Tomek MrugalskiTomek Mrugalskihttps://gitlab.isc.org/isc-projects/kea/-/issues/2266non-destructive subnet-update command2022-06-30T13:27:38ZPeter Daviesnon-destructive subnet-update commandincremental subnet-update command:
It may be useful to users if there were a subnetX command that could augment a subnet configuration.
If the full scope of update is not feasible, the area of interest is anything related to pool de...incremental subnet-update command:
It may be useful to users if there were a subnetX command that could augment a subnet configuration.
If the full scope of update is not feasible, the area of interest is anything related to pool definitions, in particular adding a new pool definition (that would not overwrite or delete existing ones).
[RT #19964](https://support.isc.org/Ticket/Display.html?id=19964)kea2.1.7Razvan BecheriuRazvan Becheriuhttps://gitlab.isc.org/isc-projects/kea/-/issues/2422Follow-up from "Rate Limiting"2022-06-21T15:04:54ZAndrei Pavelandrei@isc.orgFollow-up from "Rate Limiting"The following discussion from isc-private/kea-premium!272 should be addressed:
- [x] @tmark started a [discussion](https://gitlab.isc.org/isc-private/kea-premium/-/merge_requests/272#note_287870): (+1 comment)
> There is a configu...The following discussion from isc-private/kea-premium!272 should be addressed:
- [x] @tmark started a [discussion](https://gitlab.isc.org/isc-private/kea-premium/-/merge_requests/272#note_287870): (+1 comment)
> There is a configuration issue that needs to be addressed, possibly postpone until the next release
>
> Changes made to subnets via config back end or subnet_cmds would not be seen until the next reconfigure or reload
>
> DDNS-tuning addresses those as follows:
>
> 1. For CB changes, it implements cb\[46\]_update callbacks - These look at audit entries to see if any subnets have changed, and if so updates the expression cache
> 1. For subnet-cmd changes, it keeps track of the last time the expression cache was flushed, and the modification time of the subnet. If the latter is newer than it cache is flushed.kea2.1.7Andrei Pavelandrei@isc.orgAndrei Pavelandrei@isc.orghttps://gitlab.isc.org/isc-projects/kea/-/issues/2637Regular expressions in Stork2023-04-06T12:02:30ZPeter DaviesRegular expressions in StorkTo enable the use of regular expression is Stork
see: https://gitlab.isc.org/isc-projects/stork/-/issues/901
It may be necessary to change the behaviour of leaseX-get-* commandsTo enable the use of regular expression is Stork
see: https://gitlab.isc.org/isc-projects/stork/-/issues/901
It may be necessary to change the behaviour of leaseX-get-* commandsbackloghttps://gitlab.isc.org/isc-projects/kea/-/issues/2982Missing subnet4-update message2023-08-16T14:41:34ZPeter DaviesMissing subnet4-update messageMissing subnet4-update message:
In Kea 2.4.0:
The subnet commands hooks libraries generate a the following message on successfull
completion of a "subnet4-get" command:
```
SUBNET_CMDS_SUBNET_GET successfully retrieved sub...Missing subnet4-update message:
In Kea 2.4.0:
The subnet commands hooks libraries generate a the following message on successfull
completion of a "subnet4-get" command:
```
SUBNET_CMDS_SUBNET_GET successfully retrieved subnet ...
```
However no message is generated on completion of a "subnet4-update" command.
[RT #22374](https://support.isc.org/Ticket/Display.html?id=22374)kea2.5.1Piotrek ZadrogaPiotrek Zadrogahttps://gitlab.isc.org/isc-projects/kea/-/issues/3096No error message when I apply a different subnet with the same subnet id2023-10-05T20:40:41ZSandeep GagalapallyNo error message when I apply a different subnet with the same subnet idHi,
I was testing the premium hook command "remote-subnet4-set" to see if there is way to let the user know that there is an existing subnet-id , what happens is if I add a new subnet with the same subnet-id which I used before it gets...Hi,
I was testing the premium hook command "remote-subnet4-set" to see if there is way to let the user know that there is an existing subnet-id , what happens is if I add a new subnet with the same subnet-id which I used before it gets replaced instead of throwing an error or message in response. How can make these records unique ?
For example. If I send this command first and then lets say if another user uses the same id '2' , the config is getting replaced.
```
{
"command": "remote-subnet4-set",
"service": [
"dhcp4"
],
"arguments": {
"subnets": [
{
"id": 2,
"subnet": "192.0.2.0/24",
"shared-network-name": "",
"pools": [
{
"pool": "192.0.2.100 - 192.0.2.200",
}
]
}
],
"remote": {
"type": "mysql"
},
"server-tags": [
"all"
]
}
}
```
Thank You,
Sandeepnext-stable-2.6https://gitlab.isc.org/isc-projects/kea/-/issues/3195Modifying pools using the subnetX_update commands does not update statistics2024-03-27T16:11:27ZMarcin SiodelskiModifying pools using the subnetX_update commands does not update statisticsI tested the latest addition to Stork - pools management. I had a subnet without pools initially. I added some address pools to the subnet and saved the changes. It results in sending `subnet4_update` followed by `config-write`. The stat...I tested the latest addition to Stork - pools management. I had a subnet without pools initially. I added some address pools to the subnet and saved the changes. It results in sending `subnet4_update` followed by `config-write`. The statistics (in particular `total-addresses` counter) has not been changed to reflect the new pools capacity. I am able to force recounting the statistics by sending the `config-reload` command, but that's not how it is supposed to work.kea2.5.8