[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

1067.0. "Attribute group question" by QUIVER::CIARFELLA (Saabless and happy) Wed May 29 1991 11:34

    Im my MS I've got the following attribute group defined:

	     ATTRIBUTE GROUP SNMP Trap Addresses = 90:
		DIRECTIVES-SUPPORTED = (Show,Add,Remove),
		CATEGORIES = (CONFIGURATION),
		ATTRIBUTE-LIST = (
			Trap Address Table,
			Trap Address  )
	     END ATTRIBUTE GROUP SNMP Trap Addresses;

     When I run the IMPM, this group is highlighted in the operations window 
     when I select the ADD,SHOW, or REMOVE directives (as expected).

     But, unexpectedly, this group is highlighted when I select SET (which
     is not part of the DIRECTIVES-SUPPORTED clause).  

     I do not want this group defined for SET.  Can I do this?

     Also, I'm running V1.1 and the two attributes (trap address table,trap 
     address) are defined with ACCESS = SETTABLE.

     Thanks for the help,
    
     Paul C
    

  

T.RTitleUserPersonal
Name
DateLines
1067.1VERNA::V_GILBERTWed May 29 1991 11:388
Paul,

The reason that you see the directive SET is because one or more of your
attributes have ACCESS=SETTABLE.  Whenever this is the case, we include
the directive Set.  If you change the access of both to non-settable,
the Set directive should not be displayed.

Verna
1067.2Add/Remove without Set?MARVIN::COBBGraham R. Cobb (Wide Area Comms.), REO2-G/H9, 830-3917Wed May 29 1991 12:4313
I don't  understand  what meaning Add and Remove have on an attribute group.
Add and Remove modify values of set-valued attributes -- what does that mean
for  an  attribute  group? I suppose it could have some meaning if the group
consists entirely of attributes of the same (set-valued) datatype.  Then ADD
<group-name>  {1,2,3}  could mean add the value {1,2,3} to the values of all
the members of the group.

How can  you  possibly have an attribute (or group) which has Add and Remove
defined  but  not  Set? That is just perverse (and a violation of the Entity
Model)!  If the attribute can be modified by Add and Remove then why are you
trying to stop the manager replacing the value altogether with Set?

Graham
1067.3POLE::LEMMONMon Jul 15 1991 13:2613
    The DIRECTIVES-SUPPORTED definition is obsolete.   The MS compiler
    should have rejected it. 
    
    Attribute groups apply only to examine and modify directives. Set
    is a modify directive and for it to be in the menu at least one
    attribute within the group is settable.
    
    There isn't a mechanism yet to filter out which directives belong
    in the operations for a specific entity.  We plan on implementing
    this functionslity after v1.2.
    
    /Jim
    /Jim