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

Conference help::decnet-osi_for_vms

Title:DECnet/OSI for OpenVMS
Moderator:TUXEDO::FONSECA
Created:Thu Feb 21 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3990
Total number of notes:19027

3918.0. "Programming interface for Local Namespace?" by EDSCLU::GARROD (IBM Interconnect Engineering) Thu Apr 03 1997 20:17

    What is the programming interface to use to look up DECnet nodes in
    the LOCAL: namespace? I'm looking for the quivalent of the DNS
    interface that's used for the non local name space.
    
    From browsing around I keep on seeing references to CDI. But I can't
    seem to find out what CDI is or where its documented. Any help would
    be most appreciated.
    
    Thanks,
    
    Dave
T.RTitleUserPersonal
Name
DateLines
3918.1Refining my questionsEDSCLU::GARRODIBM Interconnect EngineeringThu Apr 03 1997 20:5223
    OK I've got a little closer. I've discoved that CDI is the (Common
    Directory Interface) ie a layer above the naming services (LOCAL, DNS
    and BIND) that DECnet now uses (thanks AltaVista).
    
    But what I can't find is any pointers to programming interface
    documentation to:
    
    a) Look at the LOCAL namespace
    
    or
    
    b) Interface to CDI
    
    The reason I need these is that I need to upgrade a config utility we
    have that currently makes DNS calls so hence can't see anything about
    the LOCAL namespace.
    
    So are there any pogrammming interfaces to th LOcal Namespace and/or
    CDI? If so where are they documented.
    
    Thanks,
    
    Dave
3918.2IP$16.65.80.19::S_WATTUMScott Wattum - FTAM/VT/OSAK EngineeringFri Apr 04 1997 09:3113
As far as I remember, the CDI interface is not documented for "customer" use.

The X.500 version isn't too tough to use - you setup a datastructure with
information pertaining to what you want, then call a get_attributes() routine
which fills in information.  Once you're done you call free_attributes().
I don't know if the DECdns/BIND/Local version is more difficult, but it
shouldn't be.

My suggestion would be to contact Mark Olsen directly (BULEAN::OLSEN) to discuss
your requirements further.

fwiw,
--Scott
3918.2IP$16.65.80.19::S_WATTUMScott Wattum - FTAM/VT/OSAK EngineeringMon Apr 07 1997 10:2713
As far as I remember, the CDI interface is not documented for "customer" use.

The X.500 version isn't too tough to use - you setup a datastructure with
information pertaining to what you want, then call a get_attributes() routine
which fills in information.  Once you're done you call free_attributes().
I don't know if the DECdns/BIND/Local version is more difficult, but it
shouldn't be.

My suggestion would be to contact Mark Olson directly (BULEAN::OLSON) to discuss
your requirements further.

fwiw,
--Scott