[672] in Moira

home help back first fref pref prev next nref lref last post

Hosttable in Moira

daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Wed Oct 20 12:23:24 1993

Date: Wed, 20 Oct 93 12:23:02 EDT
From: Mark Rosenstein <mar@MIT.EDU>
To: jis@MIT.EDU
Cc: moiradev@MIT.EDU, ops@MIT.EDU, network@MIT.EDU
In-Reply-To: Jeffrey I. Schiller's message of Tue, 19 Oct 93 16:45:36 -0400 <9310192045.AA26790@big-screw>

I think it's a really bad idea to not sanity check hostnames in the
update_host query.  Someone will enter bad data eventually and break
the updates.  I`ve seen it happen to every other moira update.  That's
why moira sanity checks almost everything now.

I was told that this code was to handle the general case, and that we
would rely on hand-edited stuff for the exceptions.  We really should
follow that, and not break the general case because of a few bad names
in the namespace.

I will add some form of "unassigned" as a possible subnet for hosts
that aren't on the net yet.

Yes, you can force a particular IP address just by storing that
address instead of "unique" in the address field.  "unique" is
litterally that string, which causes moira to assign a real address
which is unique.

The delete_host query will have a query ACL just like any other query.
I would set it to only be usable by dbadmin, since the normal way to
delete hosts is to deactivate them for a time, and only delete them
later in bulk.
					-Mark

home help back first fref pref prev next nref lref last post