[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

1936.0. "Circuits and nmfOpState" by JETSAM::WOODCOCK () Thu Dec 12 1991 16:54

Hi there,

Some words on the Circuit AM and the operational status. I just got done
'playing' with a circuit and have a couple comments around MCCs use of the
status attributes. I understand the need for standards but the 
nmfOperationalState misses the boat when it comes to data. As even the MCC
docs suggest they are derived from telephony technology, of which I have
yet to see a single AM developed (although I know they must be on the way).

If MCC is going to stick with this can we at least discuss their application
to data circuits?

With todays module (T1.2.3) a NODE4 circuit which is "UP" is termed "ENABLED"
by MCC. A circuit which is "DOWN" (ie. a substate other than *none*) is
termed "BUSY". A slip of keystrokes during coding :-)?

In any event there are 5 status possibilities; Enabled, Disabled, Active,
Busy, and Unknown. This is how I believe they would apply to a NODE4
circuit (and other data circuits):

	Enabled  => Node4 Circuit "STATE" = ON  (turned on)
	Disabled => Node4 Circuit "STATE" = OFF (turned off)
	Active   => Node4 Circuit "SUBstate" = NONE (up and running w/adjacency)
	Busy     => For half duplex circuit use maybe...
	Unknown  => Can't determine status (as currently defined)

The only question mark becomes what is a circuit which is down? Using the
doc definition it would be DISABLED. But this to me more implies the USER
has set the STATE of the interface to be disabled rather than actual status
of the circuit being down. Can or will you add another attribute?

Also, will 'circuit entities' ever alarm on entity events (as opposed to
MCC generated events). The only way it appears to notify is from an alarm which
polls the entity for the nmfOperationalState or maybe from a DECnet
event and target the appropriate circuit entity with an alarm?

best regards,
brad...
T.RTitleUserPersonal
Name
DateLines
1936.1More Q's about Circuit AMBAHTAT::BONDFri Dec 13 1991 12:1218
    At first sight, the Circuit Object seems to be a very useful way of
    keeping track of multiple hops between nodes.  As I read it, you could
    define a circuit to be composed of a number of DECnet links and then
    just watch the Circuit Object itself to see if anything goes wrong. 
    Perhaps I am reading too much into this?  Can somebody illucidate?
    
    For instance, the documentation indicates that the Circuit opState will
    follow a combination of the component circuits' states.  Does the
    Circuit AM poll them or does it pick up events from the real entities
    AMs?  Does it just check that they are turned on ie state or does it
    follow sub-state as suggested in .-1?
    
    Finally, just a suggestion for the documentation.  I think you need a
    warning about changing the Admin State of a Circuit object.  This seems
    to involve actually setting the NODE4 LINE state to OFF for the DECnet
    circuits involved (page 3-22).  If this is the case, it should be
    pointed out that if there is no other route to the Node(s) affected,
    the re-setting of the adminState to Unlocked may be tricky :-)
1936.2We go with the standardTOOK::MATTHEWSFri Dec 13 1991 13:2124
    To the original note. Brad, I understand your point, but Standards
    are standards. Operational state values as are defined by NMF. They
    did not ask our opinion (actually they did and we (ie. DEC) ignored
    them). We are stuck with the state values as they defined them.
    
    It is our intent to stick with the standard for V1.2. If, circuit
    becomes very popular with DECies rather than just the TELCO types,
    we may consider some DEC specific extensions in the future.
    
    To .1.  Yes, it is our intent in the future, to have a composite
    circuit which is composed of any number of serial links. You can
    then alarm on the composite circuit and let the circuit AM worry
    about the details of the component circuits. There is a glitch
    for V1.2. If you read the release notes, you will find that the
    change of operational state event is not yet implemented. 
    
    So the answer, is yes and no. It will work if you set an alarm rule
    which polls the composite circuit's operational state attribute
    and fires the alarm when it goes to some state (ie. Disabled). It
    will not work if your alarm rule is reception of an event that
    signals NMF style "change of attribute" for the Operational state
    attribute.
    
    wally
1936.3ok, but down should = disabledJETSAM::WOODCOCKFri Dec 13 1991 14:1523
>    To the original note. Brad, I understand your point, but Standards
>    are standards. Operational state values as are defined by NMF. They
>    did not ask our opinion (actually they did and we (ie. DEC) ignored
>    them). We are stuck with the state values as they defined them.
    
Hi Wally,

I understand the rock/hard-place issue here. But maybe a 'slight' change
in your implementation will help with the data users understanding of
what is going on at a first glance. Disregarding the basic .0 suggestions,
how about if we go with what is in the DOCS. Enabled=Operational and that
is how it is today. But if the circuit is down it comes back 'busy'. From
a telephony standpoint this kind of makes sense because the circuit is
'unavailable' to the incoming caller, but it doesn't imply it's broken.
In the point to point world this circuit is NOT OPERATIONAL if any one of
the endpoints returns a value of the substate <> none. By the definitions
given in the DOCS 'not operational' would be DISABLED.

Therefore if all substates = NONE then nmfOperationState = Enabled, if any
endpoint returns substate <> NONE then nmfOperationState = Disabled. What
do you think??

brad...
1936.4here is the mapping table...TOOK::JESURAJTue Dec 17 1991 10:5074
    Sorry to take sometime to reposnd to this note. (I was away at DECUS.)
    
    Following is the table containing the possible values (state,substate)
    pairs for the DNA4 circuit entity and the corresponding mapping  for 
    entity's operational state. We felt it is an appropraite mapping when 
    we did it (no mistake of  key strokes !!).
    
    
    
    State	Substate	nmfoperationalState
    
    CLEARED	NONE		BUSY
    
    OFF		NONE		DISABLED
    
    ON		RUNNING		ENABLED
    
    ON		STARTING	BUSY
    
    ON		SYNCH		  "
    
    ON		FAILED		DISABLED
    
    ON		REFLECTING	BUSY	
    
    ON		LOADING		BUSY
    
    ON		DUMPING		BUSY
    
    ON		LOOPING		BUSY
    
    ON		TRIGGERING	BUSY
    
    ON		AUTOSERVICE	BUSY
    
    ON		AUTOLOADING	BUSY
    
    ON		AUTODUMPIN	BUSY
    
    ON		AUTOTRIGGER	BUSY
    
    SERVICE	IDLE		BUSY
    
    SERVICE	REFELCTING	BUSY
    
    SERVICE	LOADING		BUSY
    
    SERVICE	DUMPING		BUSY
    
    SERVICE	TRIGGERING	BUSY
    
    SERVICE	LOOPING		BUSY
    
    
    
  As pointed out by the note .0, a lot of (state, substate) pairs have
    been mapped into operational state of BUSY, indicating that the circuit
    is not availble for the use of higher level applications.
    
    If the mapping needs to be changed, please feel free to discuss the
    necessary changes. Please tell us why it is more meaningful to the
    users. We are very  open to suggestions.
    
    
    By the by, the Circuit AM does not see the (state, substate) pair at
    all. All the mapping is done per end point basis at the DNA4 AM, and
    the circuit Am receives the mapped status only. Therefore the mapping 
    suggested at the end of note .-1 is not possible.
    
    
    
    Jesuraj
    Circuit AM Project Leader
                
1936.5mapping for IP circuitsTOOK::JESURAJFri Dec 20 1991 11:4527
    
    
    
    
    
    
                                                             
    Following the same logic in .-1, for the IP circuits we have 
    the following mappings:
    
        IP status 		Opertaional state
    
        UP			ENABLED
    	DOWN			DISABLED
    	TESTING			BUSY
       
                                      
    
    / Jesuraj
      
    
        
    
    
    
    
    
1936.6RUNNING???LUVBOT::MCCMon Dec 23 1991 11:1639
Hi,

Giving all the details of the mapping helps out. My feedback is completely
based from the definitions givin in the DOCS on pg. 3-16. They are:

ENABLED: Circuit is operational

DISABLED: Circuit is not operational

ACTIVE: Circuit is transmitting

BUSY: Circuit is transmitting but one end cannot communicate in one direction


These are the only values which I have opinions on and this is strictly from
the DNA4 perspective. The rest will do from my view.
    
    
    ON		RUNNING		ENABLED
    ON		STARTING	BUSY
    ON		SYNCH		  "
    
First is the "RUNNING" state. Does the DNA4_AM even return this value and
if it does what does it correspond to? T1.2.4 returns a substate of "NONE"  
when the circuit is actually running. Therefore, ON and NONE would mean
nmfState=ENABLED. In addition, any circuit which is UP is also ACTIVE. So
ENABLED and ACTIVE are interchangeable in point to point data circuits with
ACTIVE being more properly descriptive but ENABLED pairs up with DISABLED
better as the opposite state. Take your pick.

Secondly, any circuit with a substate of STARTING or SYNCRONIZING is "DOWN"
(ie. NOT operational). Even if the other side of the circuit has a substate
of NONE this circuit is still DOWN and the packets are going to the bit bucket.
Therefore, both of these substates can be considered as nmfState of DISABLED.

As always opinions will vary but thanks for at least listening.

best regards,
brad...