[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
questions about the process of synchronization
- To: <rap@ops.ietf.org>
- Subject: questions about the process of synchronization
- From: "sunjian" <jians@huawei.com>
- Date: Wed, 1 Nov 2000 16:50:07 +0800
- Delivery-date: Wed, 01 Nov 2000 00:46:26 -0800
- Envelope-to: rap-data@psg.com
I've two questions about COPS
In rfc2478 ,it is described that:
======================================================
The format of the Synchronize State Query message is as follows:
<Synchronize State> ::= <Common Header>
[<Client Handle>]
[<Integrity>]
This message indicates that the remote PDP wishes the client (which
appears in the common header) to re-send its state. If the optional
Client Handle is present, only the state associated with this handle
is synchronized. If the PEP does not recognize the requested handle,
it MUST immediately send a DRQ message to the PDP for the handle that
was specified in the SSQ message. If no handle is specified in the
SSQ message, all the active client state MUST be synchronized with
the PDP.
The client performs state synchronization by re-issuing request
queries of the specified client-type for the existing state in the
PEP. When synchronization is complete, the PEP MUST issue a
synchronize state complete message to the PDP.
===============================================================
I'm not sure if the process is as following:
1.Specified Client Handle case:
PDP PEP
| SSQ(Specified Client Handle) |
|----------------------------------------------> |
| |PEP
does not recognize
| DRQ(Specified Client Handle) |the requested handle
|<---------------------------------------------- |
| |
| SSC (??????????) |
|<---------------------------------------------- |
| |
The question is: Is there a SSC after the DRQ?
2.Unspecified Client Handle case
After the PDP send the SSQ,and let's suppose there's two request state still
cashed in the PEP, then which process as showing below is right?
process A:
PDP PEP
| SSQ(Unspecified Client Handle) |
|---------------------------------------------->|
| |
| request(client handle 1) |
|<----------------------------------------------|
| |
| request(client handle 2) |
|<----------------------------------------------|
| |
| SSC |
|<----------------------------------------------|
| |
process B:
PDP PEP
| SSQ(Unspecified Client Handle) |
|---------------------------------------------->|
| request(client handle 1) |
|<----------------------------------------------|
| decision(client handle 1) |
|---------------------------------------------->|
| report(client handle 1) |
|<----------------------------------------------|
| request(client handle 2) |
|<----------------------------------------------|
| decision(client handle 2) |
|---------------------------------------------->|
| report(client handle 2) |
|<----------------------------------------------|
| SSC |
|<----------------------------------------------|
| |
And if according to the rfc2748 3.2 DEC "all request MUST have a
corresponding decision", then What's the DEC message content?