TOC 
DIMEA. McNamee
Internet-DraftOpenet-Telecom
Expires: January 14, 2010H. Tschofenig
 Nokia Siemens Networks
 V. Fajardo
 Telcordia Technologies
 J. Bournelle
 France Telecom R&D
 July 13, 2009


Diameter Credit Control Interoperability Test Suite
draft-fajardo-dime-dcc-test-suite-02.txt

Status of this Memo

This Internet-Draft is submitted to IETF in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress.”

The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.

This Internet-Draft will expire on January 14, 2010.

Copyright Notice

Copyright (c) 2009 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents in effect on the date of publication of this document (http://trustee.ietf.org/license-info). Please review these documents carefully, as they describe your rights and restrictions with respect to this document.

Abstract

This document describes a collection of test cases to be used for Diameter Credit Control application interoperability testing.



Table of Contents

1.  Introduction
2.  Terminology
3.  Diameter Credit Control Test Suite
    3.1.  Required
        3.1.1.  Session Based Credit Control First Interrogation
        3.1.2.  Session Based Credit Control Intermediate Interrogation
        3.1.3.  Session Based Credit Control Final Interrogation
        3.1.4.  Sub Sessions
        3.1.5.  Session Based Credit Control Failure Procedures
        3.1.6.  Service Price Enquiry
        3.1.7.  Balance Check
        3.1.8.  Direct Debiting
        3.1.9.  Refunds
        3.1.10.  Event Based Credit Control Failure Procedures
    3.2.  Optional
        3.2.1.  Tariff Time Support
        3.2.2.  Graceful Service Termination
        3.2.3.  Validity Time
        3.2.4.  Server Initiated Credit Reauthorization
4.  Security Considerations
5.  IANA Considerations
6.  Normative References
§  Authors' Addresses




 TOC 

1.  Introduction

The document is a companion document to the Diameter Base Protocol Interoperability Test Suite. This document is meant to aid in the identifying the functional test cases of a Diameter Credit Control implementation. The Diameter Credit Control interoperability test suites are categorized by required and optional functionality. The required functionality is the baseline capability that an implementation must support to allow basic interoperability for that category. Optional functionality covers features that not all implementations support or may wish to test.

At its current state, this document provides only a collection of test cases designed for interoperability. Test plans may be included in future revisions of this work or maybe provided in some other document.



 TOC 

2.  Terminology

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119] (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.).

Within this document the terms defined in [RFC2119] (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.) refer to the functionality that has to be provided by an implementation for the usage within this interoperability test document.



 TOC 

3.  Diameter Credit Control Test Suite

Vendors that support the Diameter Credit Control application must conform to [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). The typical test topology for credit control authorization is shown in Figure 1 (Diameter CC Test Topology). A user typically requests a service and thereby triggers the CC Client to contact the CC Server requesting the CC Server to verify the user's credit standing prior to service delivery. Since the test cases cover only CC Client and CC Server interoperability, it is left to the tester to verify correctness of the authentication method executed between the user and the AAA server that is used as a pre-requisite for the authorization of the user by the CC server. Additionally, the interaction between the User's host and the CC Client that is used to trigger the interaction between the CC client and the CC Server is outside the scope of this document.



  +--------+     +-----------+     +------------+
  | User   |<--->| CC Client |<--->| AAA Server |
  +--------+     +-----^-----+     +-----^------+
                       |                 |
                       |                 |
                       |           +-----V-----+
                       +---------->| CC Server |
                                   +-----------+

  Legend:
          User      - Simulated end user
          CC Client - Vendor A Diam CCA client
          CC Server  - Vendor B Diam CCA server

 Figure 1: Diameter CC Test Topology 

A second test topology can exist for testing Diameter/RADIUS translation agent as specified in Section 11 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). This topology is available for vendors implementing a prepaid RADIUS translation agent. Since the test cases cover interoperability scenarios, validation must be done between the Service Element and the AAA Server/CC Client translation agent. As with Figure 1 (Diameter CC Test Topology), it is left to the tester to verify correctness of the access method between User and Service Element. The test cases involving Figure 1 (Diameter CC Test Topology) are also relevant to validating AAA Server/CC Client and CC Server and should be used in this topology as well.

  +------+     +---------+     +---------------+
  | User |<--->| Service |<--->|   AAA Server  |
  +------+     | Element |     |  +---------+  |
               +---------+     |  |CC Client|  |
                               |  +---------+  |
                               +--+----^----+--+
                                       |
                                       |
                                 +-----V-----+
                                 | CC Server |
                                 +-----------+
  Legend:
          User                 - Simulated user
          Service Element      - Simulated or vendor RADIUS prepaid
                                client application client
          AAA Server/CC Client - Vendor A Diameter/RADIUS
                                translation agent
          CC Server             - Vendor B Diameter CC Server

 Figure 2: Translation Gateway Test Topology 



 TOC 

3.1.  Required

Either test topology Figure 1 (Diameter CC Test Topology) or Figure 2 (Translation Gateway Test Topology) can be used for these cases.



 TOC 

3.1.1.  Session Based Credit Control First Interrogation

Implementations must conform to Section 5.2 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). This section addresses the initial credit control interactions between a CC Client and a CC Server, i.e., CC-Request-Type is set to the value INITIAL_REQUEST in the CCR message. There are many parameters on which a service can be granted a credit authorization but the objective of these tests is to demonstrate for session based services the initial credit authorization handling procedures are supported.



 TOC 

3.1.2.  Session Based Credit Control Intermediate Interrogation

Implementations must conform to Section 5.3 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). This section addresses the intermediate credit control interactions between a CC Client and a CC Server, i.e., CC-Request-Type is set to the value UPDATE_REQUEST in the CCR message. There are many parameters on which a service can be reauthorized credit but the objective of these tests is to demonstrate for session based services the intermediate credit authorization handling procedures are supported.



 TOC 

3.1.3.  Session Based Credit Control Final Interrogation

Implementations must conform to Section 5.4 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). This section addresses the final credit control interactions between a credit control application client and server i.e., CC-Request-Type is set to the value TERMINATION_REQUEST in the CCR message.



 TOC 

3.1.4.  Sub Sessions

Implementations must conform to Section 5.1.2 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

3.1.5.  Session Based Credit Control Failure Procedures

Implementations must conform to Section 5.7 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

3.1.6.  Service Price Enquiry

Implementations must conform to Section 6.1 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). This test uses an event based credit control interaction between the CC Client and the CC Server (i.e., CC-Request-Type is set to the value EVENT_REQUEST in the CCR message). The test is invoked by the CC Client including the Service-Identifier and the Requested-Action AVP set to PRICE_ENQUIRY in the CCR message. An example message flow is shown in Appendix A (Flow V) of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

3.1.7.  Balance Check

Implementations must conform to Section 6.2 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). This test uses an event based credit control interaction between the CC Client and CC Server (i.e., CC-Request-Type is set to the value EVENT_REQUEST in the CCR message). The test is invoked by the CC Client including the Service-Identifier and the Requested-Action AVP set to CHECK_BALANCE in the CCR message. An example scenario is detailed in Appendix A (Flow IV) of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

3.1.8.  Direct Debiting

Implementations must conform to Section 6.3 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). This test uses an event based credit control interaction between the CC Client and CC Server (i.e., CC-Request-Type is set to the value EVENT_REQUEST in the CCR message). The test is invoked by the CC Client including the Service-Identifier and the Requested-Action AVP set to DIRECT_DEBITING in the CCR message. An example message flow is shown in Appendix A (Flow III) of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

3.1.9.  Refunds

Implementations must conform to Section 6.4 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.). This test uses an event based credit control interaction between the CC Client and CC Server (i.e., CC-Request-Type is set to the value EVENT_REQUEST in the CCR message). The test is invoked by the CC Client including the Requested-Action AVP set to REFUND_ACCOUNT in the CCR message. An example message flow is shown in Appendix A (Flow VI) of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

3.1.10.  Event Based Credit Control Failure Procedures

Implementations must conform to Section 6.5 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

3.2.  Optional

Either test topology Figure 1 (Diameter CC Test Topology) or Figure 2 (Translation Gateway Test Topology) can be used for these cases.



 TOC 

3.2.1.  Tariff Time Support

Implementations must conform to Section 5.1.1 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

3.2.2.  Graceful Service Termination

This section addresses the graceful termination features of a CC Server in accordance with Section 5.6 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.) utilizing the Final-Unit-Indication AVP.



 TOC 

3.2.3.  Validity Time



 TOC 

3.2.4.  Server Initiated Credit Reauthorization

Implementations must conform to Section 5.5 of [RFC4006] (Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” August 2005.).



 TOC 

4.  Security Considerations

This document defines test cases and therefore tests various aspects of the Diameter base specification and various Diameter applications.



 TOC 

5.  IANA Considerations

This document does not require actions by IANA.



 TOC 

6. Normative References

[RFC2119] Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML).
[RFC3588] Calhoun, P., Loughney, J., Guttman, E., Zorn, G., and J. Arkko, “Diameter Base Protocol,” RFC 3588, September 2003 (TXT).
[RFC4006] Hakala, H., Mattila, L., Koskinen, J-P., Stura, M., and J. Loughney, “Diameter Credit-Control Application,” RFC 4006, August 2005 (TXT).


 TOC 

Authors' Addresses

  Alan McNamee
  Openet Telecom Inc
  6 Beckett Way, Park West Business Park
  Clondalkin, Dublin 12
  Ireland
Phone:  +353 1 620 4600
Email:  alan.mcnamee@openet-telecom.com
  
  Hannes Tschofenig
  Nokia Siemens Networks
  Linnoitustie 6
  Espoo 02600
  Finland
Phone:  +358 (50) 4871445
Email:  Hannes.Tschofenig@gmx.net
URI:  http://www.tschofenig.priv.at
  
  Victor Fajardo
  Telcordia Technologies
  1 Telcordia Drive #1S-222
  Piscataway, NJ 08854
  USA
Email:  vfajardo@research.telcordia.com
  
  Julien Bournelle
  France Telecom R&D
  38-4O rue du general Leclerc
  Issy-Les-Moulineaux 92794
  France
Email:  julien.bournelle@orange-ftgroup.com