|
Hi Adrian and Vishwas,
I think Vishwas's suggestions are very good if
we want to allow multiple <TRACE> objects in a <TraceMonitor
Message>.
However, when we investigate how many <TRACE>
objects may be presented on a <TraceMonitor Message>, I think it is
natural to include only one <TRACE> ojbect in <TraceMonitor
Message>, because the following format of <TraceMonitor Message>
makes the programmer to do that without deep consideration.
<TraceMonitor Message> ::= <Common
Header>
<MESSAGE_ID>
<LOCAL_INTERFACE_ID> <TRACE> Therefore, I think it depends on how to correct the
descriptions of RFC4207 to decide how many <TRACE>objects should be
presented in the <TraceMonitor Message>.
When we look at other messages, I think <Test>
message should also be taken into accout, besides <xxTracexx>
messages.
(1)Test Message: I think only one <TRACE> object
should be included.
<Test Message> ::=<Common Header>
<LOCAL_INTERFACE_ID>
<VERIFY_ID> <TRACE> (2) TraceMonitor Message: discussed above.
If there are multiple <TRACE> objects in this
message, and then there are multiple "Trace Messages". In some cases, if all the
Trace objects are processed correctly, we can understand that there is no Trace
Mismatch. But if some of them are correct and some of them are incorrect, how to
handle that? (i.e., in the latter case, for
a specific Local_Interface_ID, is it mismatched or matched?
Obviously, we must change <TraceMonitorNack> or extend
ERROR_CODE. )
:-)~~~
(3) TraceReport Message: I think only one <TRACE>
should be included in the <TraceReport Message>.
If we look at the format of <TraceReq Message> and
<TraceReport Message>, we can get the answer.
<TraceReq Message> ::= <Common Header>
<MESSAGE_ID>
<LOCAL_INTERFACE_ID> <TRACE_REQ> <TraceReport Message> ::= <Common Header>
<MESSAGE_ID_ACK> <TRACE>
The TraceReport message (Message Type 27) is sent over the control channel after receiving a TraceReq message. (4) InsertTrace Message: I think only one <TRACE>
should be included in the <InsertTrace Message> for the following
description.
The InsertTrace message (Message Type 29) is sent over the
control channel and is used to request a remote node to send "a specific trace message" over a data link (this assumes
that the remote knows the mapping between the local and remote interface_Ids
before fulfilling such request).
Thanks
Fatai
Advanced Technology Department Wireline Networking Business Unit Huawei Technologies Co., LTD. Huawei Base, Bantian, Longgang, Shenzhen 518129 P.R.China Tel: +86-755-28972912 Fax: +86-755-28972935
|