[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

1553.0. "GETEVENT PBX * - simplename to fullname...??" by TENERE::HAYES (A European Telecomet ...) Thu Sep 26 1991 10:19

Hello, 

My customer has implemented the GETEVENT and the routine for generating events.
However, he has detected(and we also have experienced it in a Telecom Engineering 
    project here) a fundamental problem concerning the FullName of Global Entities.

They use the CMISE protocol, and they do not want to use FullName
over the protocol.  

So they have planned to strip the directory information from the
in_entity before is request the entity from the EM (i.e. to send the "leaf" 
only).  This is ok if wildcarding is NOT used.

    
    
I think NME must have met the same in the SNMP AM, or
DECnetV AM and OSI AM.
    So :


1) Do you have any suggestion of how we can get the directory information
   when I use wildcarding?

2) Should we use the "full" FullName in the event_put routine?

There seems to something strange with global instance wildcarding.

3) How do you handle a "object_create_change" event?
   The instance is created in the agent without any create request from
   the DECmcc platform.

4) Can you have a look at the print out below?
   I have used the same event_put parameters for the two examples.
   The problem is that the FullName with directory information is given
   in the event_put routine, and it is restored in the event_get routine.

   However, if I use wildcarding, the directory information in the event_get
   out_entity is lost.
   Why???


		Regards 


			Catherine


******** EM PUT ********

MCC> test apbx apbx.10 n a


*****************************************************
*     FCL PM Arguments before call_function:        *
*****************************************************

VERB code:      3
PARTITION code: 10
AES dump of ENTITY IN:

depth=1 class code= 999 instance = �

ILV dump of IN_P:

[  0 ] (
    [  1 ]     61  -- a
    )
ILV dump of IN_Q: in_q is NULL
TIME SPEC is: 0, NOW
 *** DIR TESTEVENT ***
Simple test

[  11 ] (
    [  1 ] (
        [  11 ] (
            [  22 ]             5a  -- Z
            )
        )
    )
Tracing error paths in Event Manager
Tracing Event code path in GET
Tracing Event code path in PUT
Event_Put starting
Event_Put processing Partition argument
Event_Put Input Arguments ...
        entity [0] wild = NOT_WILD class = 999 id = 1 type = 5
        instance = �.........j-......apbx..10..
        %XAA0004000814A0158E946A2D94000C00010461706278010231300000
  Partition = 15
  Event Code = 11
  Event Data =

Dump of MCC Descriptor reveals:
    mcc_w_maxstrlen = 128
    mcc_w_curlen    = 15
    mcc_b_flags     = 0
    mcc_b_ver       = 1
    mcc_l_id        = 11
    mcc_l_dt        = MCC_K_DT_ILV
    mcc_a_pointer   = �...�...�.....Z
    %XAB82000BA1820007AB82000396015A
    mcc_a_link      = MCC_K_NULL_PTR
  Timestamp =  25-SEP-1991 14:13:50.96
Event_Put getting current time
Event_Put converting user supplied time into BAT
Event_Put building an EDS structure to store Event Data
Event_Put creating an AHS
Event_Put Locking Subscriber structures
Event_Put Subscriber searching for first(/next) matching request
Event_Put Subscriber Handle state = MCC_K_HANDLE_FIRST
Event_Put Subscriber finished matching requests
Event_Put Unlocking Subscriber structures
Event_Put cleaning up
 *** DIR TESTEVENT ***

**********************************************
FCL PM Arguments on return from call_function:

CVR returned:
%MCC-S-RESPONSE, success with response reply

ILV dump of OUT_P:

[  1 ] (
    )
AES dump of ENTITY OUT:

depth=1 class code= 999 instance = �


APBX STKV08_NS:.apbx.10
AT 25-SEP-1991 14:13:52

Test successful.
MCC>

****** EM GET *****
MCC> getevent apbx apbx.10 ev_1, ev_2


*****************************************************
*     FCL PM Arguments before call_function:        *
*****************************************************

VERB code:      65
PARTITION code: 15
AES dump of ENTITY IN:

depth=1 class code= 999 instance = �

ILV dump of IN_P:

[  0 ] (
    [  1 ] (
        [  1 ]         0b
        [  1 ]         0c
        )
    )
ILV dump of IN_Q: in_q is NULL
TIME SPEC is: 0, NOW
 *** DIR GETEVENT ***
Event_Get starting
Event_Get processing Partition argument
Event_Get Input Arguments ...
  in_entity =
        entity [0] wild = NOT_WILD class = 999 id = 1 type = 5
        instance = �.........j-......apbx..10..
        %XAA0004000814A0158E946A2D94000C00010461706278010231300000
  Partition = 15
  Filter = 11 12
  time_spec = MCC_K_NULL_PTR
        Handle context not set up yet
Event_Get handle state = MCC_K_HANDLE_FIRST
Event_Get building a PRMB for this request
Event_Get creating a Heartbeat thread for this request
Event_Get setting the Heartbeat thread-id 2000A
Event_Get creating TimeStamps
Event_Get requesting NEXT event
Going to wait for the event now...
Event_Get was Signalled
Copying Event Data to user supplied buffers
Event_Get converting time to supplied time type
Event_Get deleting global event data
Event_Get performing general clean up
THUMP!
Failed to dequeue event:
%MCC-E-NOMOREVT, no more events in event queue
Event_Get Output Arguments ...
        Handle context not set up yet
  out_entity =
        entity [0] wild = NOT_WILD class = 999 id = 1 type = 5
        instance = �.........j-......apbx..10..
        %XAA0004000814A0158E946A2D94000C00010461706278010231300000
  timestamp =  25-SEP-1991 13:47:54.95
  Event Code = 11
  Event Data =

Dump of MCC Descriptor reveals:
    mcc_w_maxstrlen = 500
    mcc_w_curlen    = 15
    mcc_b_flags     = 0
    mcc_b_ver       = 1
    mcc_l_id        = 11
    mcc_l_dt        = MCC_K_DT_ILV
    mcc_a_pointer   = �...�...�.....Z
    %XAB82000BA1820007AB82000396015A
    mcc_a_link      = MCC_K_NULL_PTR
Event_Get completed
 *** DIR GETEVENT ***

**********************************************
FCL PM Arguments on return from call_function:

CVR returned:
%MCC-S-RESPONSE, success with response reply

ILV dump of OUT_P:

[  1 ] (
    [  1 ] (
        [  11 ] (
            [  22 ]             5a  -- Z
            )
        )
    )
AES dump of ENTITY OUT:

depth=1 class code= 999 instance = �


APBX STKV08_NS:.apbx.10
AT 17-NOV-1858 00:00:00 CONFIGURATION

Received Event
APBX EV_1
                               Ev_1_Arg = 90 APBX Unit
MCC>

******* EM GET with wildcardng ******
MCC> getevent apbx * ev_1, ev_2


*****************************************************
*     FCL PM Arguments before call_function:        *
*****************************************************

VERB code:      65
PARTITION code: 15
AES dump of ENTITY IN:

depth=1 class code= 999 instance =  no curlen

ILV dump of IN_P:

[  0 ] (
    [  1 ] (
        [  1 ]         0b
        [  1 ]         0c
        )
    )
ILV dump of IN_Q: in_q is NULL
TIME SPEC is: 0, NOW
 *** DIR GETEVENT ***
Tracing error paths in Event Manager
Tracing Event code path in GET
Tracing Event code path in PUT
Event_Get starting
Event_Get processing Partition argument
Event_Get Input Arguments ...
  in_entity =
        entity [0] wild = INSTANCE_FULL class = 999
  Partition = 15
  Filter = 11 12
  time_spec = MCC_K_NULL_PTR
        Handle context not set up yet
Event_Get handle state = MCC_K_HANDLE_FIRST
Event_Get building a PRMB for this request
Event_Get creating a Heartbeat thread for this request
Event_Get setting the Heartbeat thread-id 1000A
Event_Get creating TimeStamps
Event_Get requesting NEXT event
Going to wait for the event now...
Event_Get was Signalled
Copying Event Data to user supplied buffers
Event_Get converting time to supplied time type
Event_Get deleting global event data
Event_Get performing general clean up
THUMP!
Failed to dequeue event:
%MCC-E-NOMOREVT, no more events in event queue
Event_Get Output Arguments ...
        Handle context not set up yet
  out_entity =
        entity [0] wild = NOT_WILD class = 999 id = 1 type = 5
        instance = �.........j-......10..
        %XAA0004000814A0158E946A2D94000600010231300000
  timestamp =  25-SEP-1991 13:35:48.60
  Event Code = 11
  Event Data =

Dump of MCC Descriptor reveals:
    mcc_w_maxstrlen = 500
    mcc_w_curlen    = 15
    mcc_b_flags     = 0
    mcc_b_ver       = 1
    mcc_l_id        = 11
    mcc_l_dt        = MCC_K_DT_ILV
    mcc_a_pointer   = �...�...�.....Z
    %XAB82000BA1820007AB82000396015A
    mcc_a_link      = MCC_K_NULL_PTR
Event_Get completed
 *** DIR GETEVENT ***

**********************************************
FCL PM Arguments on return from call_function:

CVR returned:
%MCC-S-RESPONSE, success with response reply

ILV dump of OUT_P:

[  1 ] (
    [  1 ] (
        [  11 ] (
            [  22 ]             5a  -- Z
            )
        )
    )
AES dump of ENTITY OUT:

depth=1 class code= 999 instance = �
                                                      

APBX STKV08_NS:.10
AT 17-NOV-1858 00:00:00 CONFIGURATION

Received Event
APBX EV_1
                               Ev_1_Arg = 90 APBX Unit
MCC>

T.RTitleUserPersonal
Name
DateLines