[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

786.0. "MCC DNS routines" by MINDER::ROXBURGH () Tue Mar 12 1991 09:13

    I have written an AM which has 2 identifiers, a primary identifier 
    DNS name and an alternate identifier Phase4Name. I have worked out
    how to get the AM to register entities but the problem I have is
    finding the Phase4Name when I am called with the DNS name.
    
    Can someone who has a V1.1 SRM tell me the necessary MCC DNS calls and
    parameters to obtain this information?
    
    I would like to RTFM but we have had the manual on order for 2 months
    now with no sign of it arriving. Does it really exist?
    
    Alistair Roxburgh
    Open Systems Engineering Centre
T.RTitleUserPersonal
Name
DateLines
786.1use the Phase4Name as a synonymNAC::SCHLENERTue Mar 12 1991 11:4618
    You can have the user register the DNS name with a synonym which is
    the Phase4Name. Then when you get a request, you need to determine if
    you were given the DNS name and hence, need to go get its synonym.
    
    I think the way we did it in the DECnet Phase 4 AM, since we could
    accept either a Phase4Name, Phase4Address or a fullname, is to list
    the identifiers in the MSL using the Phase4Name typed identifier first.
    We followed that with the identifier which had the datatype of
    Phase4Address. Then that was followed by the Fullname identifier. This
    was due to the fact that the PM's would first try to fit the entity id
    to the first msl's identifier (Phase4Name). If the entity id's datatype
    fit all the rules for being a Phase4Name, viola - it's datatype would
    be Phase4Name and the PM would use the first msl identifier.
    
    Since pretty much any string could be a fullname, we kept the fullname
    identifier as last - as a catchall.
    			Cindy
    
786.2But what are the MCC callsMINDER::BLOWERGTue Mar 12 1991 11:584
    That is the bit we have done, what we need to know are the MCC calls
    required to get the synonym.
    
    
786.3TOOK::SWISTJim Swist LKG2-2/T2 DTN 226-7102Tue Mar 12 1991 15:1912
    The synonym interface is a private interface to DNS from the DECNET AMs
    designed to integrate the naming conventions of Phase IV and Phase V
    DECNET with DNS.   They are not documented in the SRM and should not
    be used by other AMs as far as I know.
    
    I guess we need to know how your AM relates to DECnet, or have you chosen
    the Phase4Name identifier datatype for some other reason?
    
    The normal DNS call to use would be mcc_dns_get_identifiers which will
    return all alternate identifiers for a given primary (fullname ID).
    
    
786.4what are the parameters ?MINDER::BLOWERGTue Mar 12 1991 15:358
    mcc_dns_get_identifiers sounds like the call we want. What are the
    parameters for the call.
    
    Unfortunately without the SRM V1.1  its a bit like shooting in the
    dark.
    
    Thanks.
    	Graham
786.5TOOK::WONGWed Mar 13 1991 12:346
    The routines have been forwarded to the requestor.  Also,
    the availability of the documentation is being looked into.
    
    regards,
    
    \steve