[Kea-users] reservation-add command not supported

Michael Schwartzkopff ms at sys4.de
Sat Jan 2 12:35:40 UTC 2021


Hi,


I wanted to add a reservation through the API. So I have a test python
script based on
https://kea.readthedocs.io/en/kea-1.9.0/api.html#reservation-add


DATA = { 'command': 'reservation-add', 'service': [ 'dhcp4' ],
'arguments': { 'reservation': { 'subnet-id': 1, 'hw-address':
'1a:1b:1c:1d:1e:1f', 'ip-address': '192.0.18.202' } } }
response = requests.post ( API_URL, json=DATA)


The kea server tells me: 'reservation-add' command not supported


Ideas?

Mit freundlichen Grüßen,

-- 

[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210102/74d8eb71/attachment.bin>


More information about the Kea-users mailing list