-- =============================================================================
--               ITU-T Rec. X.792 (1999)
-- =============================================================================
--<GDMO.Document "ITU-T Rec. X.792 (1999)">--

-- "Imported" Alises - references to other documents with non-standard names

--<GDMO.Alias    "ITU-T Rec. X.721 (1992) | ISO/IEC 10165-2 : 1992"
--               "Rec. X.721 | ISO/IEC 10165-2 : 1992",
--               "Recommendation X.721: 1992">--

--<GDMO.Alias    "ITU-T Rec. M.3100 (1995)"
--               "Rec. M.3100 : 1995">--


configurationAuditController MANAGED OBJECT CLASS
  DERIVED FROM  
    "Recommendation X.721: 1992":top;
  CHARACTERIZED BY
    configurationAuditControllerPackage PACKAGE
      BEHAVIOUR
        configurationAuditControllerBehaviour BEHAVIOUR
          DEFINED AS
            "The Configuration Audit Controller object class is a class of
            managed objects that manage the configuration audit process within a
            managed element.

            Only one audit can be active at any time.

            The configurationAuditInitiate Action is used to initiate an audit.
            It is used to select the managed objects and attributes to include
            in the audit. Its reply syntax indicates if the audit is started or
            if there was a problem that prevented the audit from starting.

            The configurationAuditTerminate Action is used to terminate an audit
            by the managed system if there is some problem.

            When the audit is finished or stopped the configurationAuditReport
            is emitted. This indicates the result of the audit and the names of
            the files generated (if any files were produced).";;
      ATTRIBUTES
        configurationAuditControllerId GET SET-BY-CREATE,
        lastSuccessfulAuditTime GET,
        auditRunning GET;
      ACTIONS
        configurationAuditInitiate,
        configurationAuditTerminate;
      NOTIFICATIONS
        configurationAuditReport;;;
REGISTERED AS {configAuditSupMObjectClass 1};

--A.2  Attribute definitions


auditRunning ATTRIBUTE
  WITH ATTRIBUTE SYNTAX  
    AuditASN1Module.Boolean;
  MATCHES FOR 
    EQUALITY;
  BEHAVIOUR
    auditRunningAttrBehaviour BEHAVIOUR
      DEFINED AS
        "A true value of this attribute indicates that an audit is currently
        running. A false value indicates that no audit is currently running.";;
REGISTERED AS {configAuditSupAttribute 2};


configurationAuditControllerId ATTRIBUTE
  WITH ATTRIBUTE SYNTAX  
    AuditASN1Module.NameType;
  MATCHES FOR 
    EQUALITY, 
    ORDERING, 
    SUBSTRINGS;
  BEHAVIOUR
    "Rec. X.721 | ISO/IEC 10165-2 : 1992":rDNIdBehaviour;
REGISTERED AS {configAuditSupAttribute 1};


lastSuccessfulAuditTime ATTRIBUTE
  WITH ATTRIBUTE SYNTAX  
    AuditASN1Module.TimeStamp;
  MATCHES FOR 
    EQUALITY, 
    ORDERING;
  BEHAVIOUR
    lastSuccessfulAuditTimeAttBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute indicates the last time that a configuration audit was
        successfully run. That is the configurationAuditReport returned a result
        of succeeded. If the configurationAuditReport has never been run the
        neverRun syntax is used.";;
REGISTERED AS {configAuditSupAttribute 3};

--A.3  Notification definitions


configurationAuditReport NOTIFICATION
  BEHAVIOUR
    configurationAuditReportBehaviour BEHAVIOUR
      DEFINED AS
        "This notification is generated when the configuration audit terminates.
        It is used to report the status of the termination as well as the name
        of the audit files if generated.";;
  WITH INFORMATION SYNTAX 
    AuditASN1Module.AuditReportInformation;
REGISTERED AS {configAuditSupNotification 1};

--A.4  Action definitions


configurationAuditInitiate ACTION
  BEHAVIOUR
    configurationAuditInitiateBehaviour BEHAVIOUR
      DEFINED AS
        "This action is used to initiate the configuration audit. The manager
        may specify the audit report only to include selected managed object
        classes and selected attributes within these object classes.

        The managed objects to include and exclude are selected by the classes
        member of the initiate information. The attributes of the selected
        managed objects to include and exclude are selected by the attributes
        member of the initiate information.

        The reply syntax indicates if the audit was successfully started or if
        it could not be started for some reason.";;
    -- See 8.1.1.3.1
  MODE CONFIRMED;
  WITH INFORMATION SYNTAX 
    AuditASN1Module.AuditInitiateInformation;
  WITH REPLY SYNTAX 
    AuditASN1Module.AuditInitiateResult;
REGISTERED AS {configAuditSupAction 1};


configurationAuditTerminate ACTION
  BEHAVIOUR
    configurationAuditTerminateBehaviour BEHAVIOUR
      DEFINED AS
        "This action is used to terminate an ongoing configuration audit. It
        returns the result of the attempted termination.";;
    -- see 8.1.1.3.2
  MODE CONFIRMED;
  WITH REPLY SYNTAX 
    AuditASN1Module.AuditTerminateResult;
REGISTERED AS {configAuditSupAction 2};

--A.5  Name binding definitions


configurationAuditController-managedElement NAME BINDING
  SUBORDINATE OBJECT CLASS 
    configurationAuditController AND SUBCLASSES;
  NAMED BY SUPERIOR OBJECT CLASS 
    "Rec. M.3100 : 1995":managedElement AND SUBCLASSES;
  WITH ATTRIBUTE 
    configurationAuditControllerId;
  BEHAVIOUR
    configurationAuditControllerNBBehv BEHAVIOUR
      DEFINED AS
        "This is the name binding for configurationAuditController .
        configurationAuditControllers using this name binding are not created or
        deleted by system management protocol.";;
REGISTERED AS {configAuditSupNameBinding 1};


configurationAuditController-system NAME BINDING
  SUBORDINATE OBJECT CLASS configurationAuditController AND SUBCLASSES;
  NAMED BY SUPERIOR OBJECT CLASS "Rec. X.721 | ISO/IEC 10165-2 : 1992":system
    AND SUBCLASSES;
  WITH ATTRIBUTE configurationAuditControllerId;
  BEHAVIOUR
    configurationAuditControllerNBBehv;
REGISTERED AS {configAuditSupNameBinding 2};


configurationAuditController-network NAME BINDING
  SUBORDINATE OBJECT CLASS configurationAuditController AND SUBCLASSES;
  NAMED BY SUPERIOR OBJECT CLASS "Rec. M.3100 : 1995":network AND SUBCLASSES;
  WITH ATTRIBUTE configurationAuditControllerId;
  BEHAVIOUR  
    configurationAuditControllerNBBehv;
REGISTERED AS {configAuditSupNameBinding 3};

-- =============================================================================
--  Formatted by OpenT2 Version 5.5.6.34 on Fri Aug 20 11:20:49 2004