API to change of configuration at runtime

Roman Mashak <[email protected]>
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <CANHNcP-KvefW+1pdwJ9PeJW34d1sWX0GXQmM9U=7OmPKqTxvBg@mail.gmail.com>
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!
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.