Re: NetReg: is anyone using OMAPI ?

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Bekim Shala (bshala@gmu.edu)
Date: Tue Aug 27 2002 - 09:46:58 CDT


Mike
  The dhcpd.conf is not updated.
  The file dhcpd.leases would have an entry like
host hello-1 {
  dynamic;
  hardware ethernet 'the mac address here';
}

Once you will insert it with OMAPI the entry will be recorded in memory
of dhcp as well as in the dhcpd.leases file and yes
it is a real time update. The keyword 'dynamic' tells dhcp server that
this is an OMAPI entry.
You can try command-line omshell tool (look at man omshell for more
info) to verify it for your self.

assuming
i.e. to create
omshell
key key_name key_password (assuming you set up omapi hash key else
ignore this line)
connect
new host
set name="test"
set hardware-address = XX:XX:XX:XX:XX:XX (note no quotes here)
set hardware-type = 1
open
create

now you should see in dhcpd.leases file an entry at the bottom of the
file for test

to query for just created entry do
omshell
connect
new host
set name="test"
open
(you should see now the hardware-address and other info)

to remove host
omshell
connect
new host
set name="test"
remove
 
I hope this helps

Regards, Bekim

King, Michael wrote:

>I'm just wondering if you create a dynamic lease entry, is it considered a
>known object at that point? I.E., the host entry in the dhcpd.conf file.
>
>-----Original Message-----
>From: Bekim Shala [mailto:bshala@gmu.edu]
>Sent: Tuesday, August 27, 2002 9:31 AM
>To: netreg@southwestern.edu
>Subject: Re: NetReg: is anyone using OMAPI ?
>
>
>Mike
> Clarify this point a bit.
>
> Does your question differ from the 'core' idea behind netreg, that is
>you have a short un-routable leases pool
>and will receive such as long as the MAC is not registered (i.e. there
>is a host 'jdoe' with hardware-address entry in the dhcp server)
> If it does not then Omapi does exactly the same just with avoidance of
>restarting dhcp server and of course
>potential side-effects like performace, reliability,network delay if
>multi-tiered app, another point of failure etc etc.
>
>
> Regards, Bekim
>
>
>Michael King wrote:
>
>
>
>>I think an important question would be Can Dynamic Leases be placed into a
>>Pool? Since it's via pools that we are denying them addresses to begin
>>with.
>>
>>Mike
>>
>>----
>>
>>
>>
>
>
>**********************************************************************
>To unsubscribe from this list, send an e-mail message to
>majordomo@southwestern.edu containing a single line with the words:
>unsubscribe netreg
>Send requests for assistance to: owner-netreg@southwestern.edu
>**********************************************************************
>**********************************************************************
>To unsubscribe from this list, send an e-mail message to
>majordomo@southwestern.edu containing a single line with the words:
>unsubscribe netreg
>Send requests for assistance to: owner-netreg@southwestern.edu
>**********************************************************************
>
>
>

**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:37 CDT