T.R | Title | User | Personal Name | Date | Lines |
---|
362.1 | Equality | MARVIN::COBB | Graham R. Cobb (Wide Area Comms.), REO2-G/H9, 830-3917 | Tue Oct 02 1990 08:22 | 7 |
| No ordering is defined for FullNames but equality certainly is. Note that
the equality determination is not at all trivial.
Phase V has three entities I can think of with FullName identifiers. I sure
hope MCC can handle these!
Graham
|
362.2 | I don't grok this, Graham | NAC::ENGLAND | | Tue Oct 02 1990 20:04 | 2 |
| why isn't FullName ordering defined?
|
362.3 | it's not grokable | CAPN::SYLOR | Architect = Buzzword Generator | Wed Oct 03 1990 21:51 | 6 |
| Why? well, because...
Seriously, because simple names have no order. We didn't know how to
sort binary names against easy names. This was a DNS decision.
Mark
|
362.4 | | MARVIN::COBB | Graham R. Cobb (Wide Area Comms.), REO2-G/H9, 830-3917 | Thu Oct 04 1990 14:25 | 12 |
| Actually, there *is* an order for SimpleName (see section 1.4.3 of T2.0.2 of
the DNS architecture). It is only FullName for which no ordering is
defined. Actually �1.4.3 doesn't make it clear it only applies to
SimpleNames but the ordering is not well-defined if it is taken as applying
to FullNames.
It would be perfectly possible to define an ordering for FullNames but there
has never been any need and it has apparently never been done. What use
would it serve? Note there is no particularly obvious FullName ordering:
which should be lower: dec:a.b.c, dec:ab.b, dec:a.c, dec:a... ?
Graham
|
362.5 | net. mgmt. debate # 12349860239348123493 :-> | NAC::ENGLAND | | Thu Oct 04 1990 19:03 | 10 |
| There is an obvious application of FullName ordering. Any time you
have to display a list of FullNames, the obvious thing to do is to
display them in some kind of sorted order. Otherwise it's a nightmare
to search through the entire list of them. I'll bet you that the
DNS product already does this if it has any kind of DIRECTORY function.
Given that SimpleNames have an ordering, what's the big deal here?
Not that I'm going to lose sleep over it or anything...
ben
|
362.6 | This is not an architectural notes file, but... | TOOK::GUERTIN | Wherever you go, there you are. | Fri Oct 05 1990 11:50 | 21 |
| RE:.4
Why not think of it as describing the path in a tree structure. Then
ordering (at least to me) becomes intuitive. You sort the root
portions first. Then the next node down. Then the next node down, etc,
until you are done.
So in your example:
which should be lower: dec:a.b.c, dec:ab.b, dec:a.c, dec:a... ?
It would be:
dec:a...
dec:a.b.c
dec:a.c
dec:ab.b
If you had an ibm: full name, all the dec: full names would come first,
'cause DEC comes before IBM in the dictionary :-)
-Matt.
|
362.7 | | MARVIN::COBB | Graham R. Cobb (Wide Area Comms.), REO2-G/H9, 830-3917 | Mon Oct 08 1990 08:19 | 12 |
| Sure, you can define any number of orderings (I still don't think any of
them is "obvious" to a layman). Internally in my implementation we happen
to use an ordering that just does a simple lexical ordering of the internal
format of the FullName. This would not be acceptable as an architected
ordering because "equal" names (e.g. differing in case) get sorted into
different positions. However, it meets the particular need we have (to do
with saving state in wildcard lookups).
My point is just that the architect didn't define an ordering. If you want
one, go ask in the DNS_ARCH conference!
Graham
|
362.8 | I said compare, not order | COOKIE::KITTELL | Richard - Architected Info Mgmt | Mon Oct 15 1990 14:32 | 7 |
|
Divergence struck quickly on this one! All I asked was why the SRM indicated
FullNames could not be compared. Ordering is an important, but different,
issue.
Having implemented the call that prompted me to ask the question, it is clear
that comparison of FullNames works, and that the SRM is in error.
|
362.9 | DECdns does why nor DECmcc | TOOK::JESURAJ | | Tue Oct 16 1990 14:12 | 6 |
| DECdns supports comparision of two full names. In fact there is a DNS
function DNS$COMPARE_FULLNAMES to do that job.
So why not in DECmcc?
Jesuraj
|
362.10 | aes_equal works | COOKIE::KITTELL | Richard - Architected Info Mgmt | Wed Oct 17 1990 14:34 | 4 |
|
I don't know if there is support in MCC for direct comparison of FullNames,
but mcc_aes_equal works for instances whose identifiers are Fullnames,
and that is all I needed.
|