Table of Contents

Module: replicaCatalog ./pyGlobus/replicaCatalog.py

The main interface to the Replica Catalog functionality.

Imported modules   
from pyGlobus import utilc
from pyGlobus.util import GlobusException
import replicaCatalogc
Functions   
create
  create 
create (
        url,
        authMode,
        filenames=None,
        objectclass=replicaCatalogc.COLLECTION_OBJECTCLASS,
        attr=None,
        bindDN=None,
        passwd=None,
        )

Create a new collection.

Creates a new collection based on the given url, connection attributes and objectclass. Also associates the given filenames with the collection.

The collection must not already exist.

Arguments

  • url The ldap url of the collection to create.

  • authMode The authentication mode to use when creating the collection. If the mode is secure, bindDN and passwd should be None.

  • filenames A list of filenames to add to the collection. If None, a empty collection is created.

  • objectclass objectclass name of the collection to be created, must be a subclass of COLLECTION_OBJECTCLASS, if None is given then the default COLLECTION_OBJECTCLASS is used.

  • attr A CollectionAttr object containing the attributes for the collection.

  • bindDN String name to use when authenticating to the ldap server.

  • passwd String password to authenticate with.

Raises:

A CollectionException is thrown if unable to activate the module, or create the connection.

Exceptions   
ex
Classes   

AttributeSet

The main interface to the replica catatlog attribute set module.

AttributeSetException

A simple subclass of GlobusException.

Collection

The main interface to the replica catatlog collection module.

CollectionAttr

The main interface to the replica catatlog collection attribute module.

CollectionAttrException

A simple subclass of GlobusException.

CollectionException

A simple subclass of GlobusException.

EntrySet

The main interface to the replica catatlog entry set module.

EntrySetException

A simple subclass of GlobusException.


Table of Contents

This document was automatically generated on Tue Feb 4 16:47:03 2003 by HappyDoc version 2.1