Send dhcp-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
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 dhcp-users digest..."


Today's Topics:

   1. API to change of configuration at runtime (Roman Mashak)


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

Message: 1
Date: Wed, 20 Oct 2021 12:04:16 -0400
From: Roman Mashak <[email protected]>
To: [email protected]
Subject: API to change of configuration at runtime
Message-ID:
        <CANHNcP-KvefW+1pdwJ9PeJW34d1sWX0GXQmM9U=7ompkqtx...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

I have isc-dhcpd-4.4.2 installed (built from isc github), its
configuration defines a new option space, its format and sets up
scopes that define values for those options. The server transmits the
data to a client in the DHCP option-43 according to the format:

option space my-space;
option my-space.node-ip code 1 = ip-address;
option my-space.node-name code 2 = text;

class "vendor-classes" {
        match option vendor-class-identifier;
}

subclass "vendor-classes" "my-class" {
        vendor-option-space my-space;
        option my-space.node-ip 10.5.6.7;
        option my-space.node-name "NodeName123";
}

This works well, and the server generates vendor-encapsulated
information and sends it to clients. However, the IP address assigned
in 'option my-space.node-ip' is dynamic and will change.

I've read about OMAPI, but am not sure it can handle my case though,
i.e. changing 'option' statement. It appears that OMAPI can manage
leases, host and group objects but can't access option statements. Am
I mistaken?

I would appreciate any hints or advice!


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

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users


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

End of dhcp-users Digest, Vol 156, Issue 5
******************************************

Reply via email to