[Kea-users] reservation-add command not supported

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] reservation-add command not supported

Michael Schwartzkopff
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



_______________________________________________
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
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

signature.asc (235 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] reservation-add command not supported

Michael Schwartzkopff
On 02.01.21 13:35, Michael Schwartzkopff wrote:

> 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,

Hi,


found out myself: this hook lib is only for paying customers.


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



_______________________________________________
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
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

signature.asc (235 bytes) Download Attachment