[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

=?UTF-8?B?UkU6IHF1ZXN0aW9uIGFib3V0IHRoZSBDT1BTLVBSICJyZW1vdmUg?==?UTF-8?B?REVDIg==?=



> -----Original Message-----
> From: sunjian [mailto:jians@huawei.com]
> 
> Hi,
> In COPS-PR draft it is descripted that:
> ============================================================
> 3.2. Decision (DEC)  PDP -> PEP
> 
>    The DEC message can also be used by the PDP to command the PEP to
>    open a new Request State or Delete an existing Request-State as
>    identified by the Client-Handle. To accomplish this, COPS-PR
>    defines a new flag for the COPS Decision Flags object. The flag
>    0x02 is to be used by COPS-PR client-types and is hereafter
>    referred to as the "Request-State" flag. An Install decision
>    (Decision Flags: Command-Code=Install) with the Request-State flag
>    set in the COPS Decision Flags object will cause the PEP to issue
>    a new Request with a new Client Handle or else specify the
>    appropriate error in a COPS Report message. A Remove decision
>    (Decision Flags: Command-Code=Remove) with the Request-State flag
>    set in the COPS Decision Flags object will cause the PEP to send a
>    COPS Delete Request State (DRQ) message for the Request-State
>    identified by the Client Handle in the DEC message. Whenever the
>    Request-State flag is set in the COPS Decision Flags object in the
>    DEC message, no COPS Named Decision Data object can be included in
>    the corresponding decision (as it serves no purpose for this
>    decision flag).
> ==============================================================
> The question is:
> 
> 1."Delete an existing Request-State as identified by the 
> Client-Handle."
>      But I think the "remove DEC " can only delete the 
> request session of
> itself.

[Dave] This is correct. There is no other place to put a client-handle given
the ABNF.
 
>      If  the "remove DEC " can delete other request session, 
> I'm not sure ,
> as the description followed, whether there's place for the two
> Client-handles(to identify its request session and the 
> session it want to
> delete) to exist at the same time.

[Dave] No, only the request-state for the DEC message itself can be deleted.
  
> 
>     I think the description should be more detailed in this 
> aspect whatever
> the answer is.
> 
[Dave] Good point, the latest submitted document clarifies this.

> 
> 2. Which one of the following is the process of  "remove DEC" message
> exchanging ?
> Process A:
> PDP                                                         PEP
>    |              remove DEC                             |
>    |  ----------------------------------------->  |
>    |               DRQ                                         |
>    |   <----------------------------------------- |
>    |               RPT                                         |
>    |   <----------------------------------------- |
> 
> 
> Process B:
> PDP                                                         PEP
>    |              remove DEC                             |
>    |  ----------------------------------------->  |
>    |               RPT                                         |
>    |   <----------------------------------------- |
>    |               DRQ                                        |
>    |   <----------------------------------------- |

[Dave] Yes, this is the correct case. The text requires that all DECs are
acknowledged by a report... Not that there is much difference in this
particular case, however. 
> 
> Process C:
> PDP                                                         PEP
>    |              remove DEC                             |
>    |  ----------------------------------------->  |
>    |               DRQ                                        |
>    |   <----------------------------------------- |
>    |                                                                |
> 
> 
> Thank you very much!
> 
> Sunjian
> jians@huawei.com
> 
> 
> 
> 
> 
>