TOC 
DIMEV. Fajardo
Internet-DraftTelcordia Technologies
Expires: January 14, 2010A. McNamee
 Openet-Telecom
 H. Tschofenig
 Nokia Siemens Networks
 J. Bournelle
 France Telecom R&D
 July 13, 2009


Diameter Applications Interoperability Test Suite
draft-fajardo-dime-misc-app-test-suite-01.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 applications interoperability testing.



Table of Contents

1.  Introduction
2.  Terminology
3.  Diameter SIP Test Suite
    3.1.  Required
        3.1.1.  Authentication
        3.1.2.  User Profile Update
        3.1.3.  Proxy Service Authentication
        3.1.4.  Location Service
        3.1.5.  Soft Termination
4.  3GPP Interface Test Suite
    4.1.  Diameter Cx
        4.1.1.  Required
    4.2.  Diameter Sh
        4.2.1.  Required
    4.3.  Diameter Rf
        4.3.1.  Required
        4.3.2.  Optional
5.  Diameter EAP Test Suite
    5.1.  Required
        5.1.1.  Non-Roaming case
        5.1.2.  Roaming scenario
    5.2.  Optional Authorization/Accounting Tests
6.  Diameter NASREQ Test Suite
    6.1.  Required
        6.1.1.  Auth Session
        6.1.2.  Diameter/RADIUS Gateway
        6.1.3.  Multi-domain Scenario
    6.2.  Optional
        6.2.1.  Auth Session
7.  Diameter MIP Test Suite
    7.1.  Generic MIP Test Scenarios
    7.2.  Required
        7.2.1.  Co-located Registration
        7.2.2.  Intra-Domain Registration
        7.2.3.  Inter-Domain Registration
        7.2.4.  Allocation of HA in Foreign Network
    7.3.  Optional
        7.3.1.  Co-located Registration via Redirect Indication
        7.3.2.  Inter-Domain Registration with Redirect
        7.3.3.  Inter-Domain Registration with Proxy/Relay
8.  Security Considerations
9.  IANA Considerations
10.  Normative References
§  Authors' Addresses




 TOC 

1.  Introduction

The document is a companion document to the Diameter Base Protocol Interoperability Test Suite. The document is meant to aid in the identifying the functional test cases of a Diameter implementation. The Diameter interoperability test suites are categorized by different applications or extensions. Each category is further subdivided into required and optional functionality. The required functionality is the baseline capability that an implementation must support to allow basic interoperability dor that category. Optional functionality covers features that not all implementations support or may wish to test. The following is a list of Diameter applications that are currently categorized in this document:

  1. Diameter SIP
  2. 3GPP Interfaces
  3. Diameter EAP
  4. Diameter NASREQ
  5. Diameter MIP

Note that some of the test cases can overlap. For example, a NASREQ test case would normally encompass base protocol routing. In such cases, it is implied that multiple test scenario can be covered by some test.

The Diameter Credit Control applications is not included in this document but is published in a separate document (Diameter Credit Control Interoperability Test Suite) to cover a wider set of 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.) refers to the functionality that have to be provided by an implementation for the usage within this interoperability test event.



 TOC 

3.  Diameter SIP Test Suite

Implementations that deploy SIP [RFC3261] (Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, “SIP: Session Initiation Protocol,” June 2002.) services and use Diameter for authentication, authorization, signaling, profile distribution, location services etc must conform to [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.). For the purpose of Diameter SIP, each test nodes exercises only a specific set of functionality depending on their role in the SIP architecture. Since this SIP architecture is synonymous to Diameter Cx [TS29.228] (3GPP, “IMS Cx and Dx interfaces : signalling flows and message contents,” .), the scenarios enumerated in this section applies there as well. Therefore, there can be a multitude of deployment scenarios. The test topology follows the general architecture in Figure 1 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.) in order to exercise the majority of Diameter SIP features. For testing Diameter Cx, the mapping of the test entities against this figure is described in Section 4.1 (Diameter Cx). Configuration of SIP user agents and SIP servers in all test cases are implementation specific and it is left to the tester to verify their correctness.


                            +--------+
                UAR/UAA +--->|Diameter|<----+ PPR/PPA
                LIR/LIA |    | server |     | MAR/MAA
                MAR/MAA |    |Vendor B|     | SAR/SAA
                        |    +--------+     | RTR/RTA
                        |                   |
              (realmB)  |                   |  (realmA)
                        v                   v
+------+   SIP     +--------+    SIP   +--------+   SIP     +------+
| SIP  |<--------->|  SIP   |<-------->|  SIP   |<--------->| SIP  |
| UA1  |           |server 1|          |server 2|           | UA2  |
+------+           |Vendor A|          |Vendor D|           +------+
                    +--------+          +--------+
Caller=user1@realmB     ^                   ^     Callee:user2@reamlA
                        |                   |
                UAR/UAA |                   |
                LIR/LIA |                   | MAR/MAA
                        |    +--------+     | SAR/SAA
                        +--->|Diameter|<----+
                            |   SL   |
                            |Vendor C|
                            +--------+

  Legend:
          SIP UA's         - SIP User Agents making/receiving calls
          SIP server 1     - Vendor A acting as SIP proxy for reamlA
          Diameter server  - Vendor B acting as SIP auth server
          Diameter SL      - Vendor C acting as location server
          SIP server 2     - Vendor D acting as SIP proxy for realmB

 Figure 1: Diameter SIP Test Topology 



 TOC 

3.1.  Required



 TOC 

3.1.1.  Authentication

Implementations must conform to Section 6.3 and 6.4 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.). All test entities should be present to perform these test. The test scenarios check proper auth of user1@realmB during SIP registration (SIP REGISTER) to SIP server 2. Vendor A should be configured as proxy for UA1 and vendor D will be the assigned SIP server for user1@realmB. Figure 2 and 3 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.) can be used as a reference for these test. All test scenario must follow the message flows described in these figures. These test can be integrated with Section 3.1.4 (Location Service). For simplicity, it is assumed that vendor A has knowledge of vendor B as the Diameter server through static configuration or through the location service.



 TOC 

3.1.2.  User Profile Update

Implementations must conform to Section 6.8 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.). These test should be performed as a consequence of Section 3.1.1 (Authentication). Updating of user profile in the Diameter server is out of scope and it is left to the tester to perform. The test scenario is also applicable to Section 6.6 of [TS29.228] (3GPP, “IMS Cx and Dx interfaces : signalling flows and message contents,” .) and synonymous to the message flow described in Figure A.4.7.1 of the same document.

Positive test for updating user profile. Verify that a change in the profile of user1@realmB can trigger a PPR/PPA exchange between vendor B and D.

Negative test for failed authorization. Verify the behavior of vendor B and D when the criteria for the following errors are meet.



 TOC 

3.1.3.  Proxy Service Authentication

Implementations must conform to Section 6.5 and 6.6 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.). The test topology in Figure 1 (Diameter SIP Test Topology) can be used to perform these test. Vendor A can be configured as the outbound proxy for UA1 and vendor D for UA2. Note that the tests performed on vendor A is symmetrical to vendor D. For simplicity, only vendor A is noted here. These test can also be performed as a consequence of positive tests in Section 3.1.1 (Authentication). The test scenarios below use a call by user1@realmB to trigger authorization of SIP INVITE request.

Positive test for proxy service authorization with nonces generated by the Diameter server. Verify that at the least, user1@realmB can make a call to user2@realmA with SIP requests from vendor A authorized by vendor B. Verify that the SIP INVITEs triggers a MAR/MAA exchange between vendor A and B and that user credentials properly validated by vendor B. Note that vendor D should route SIP request normally to simplify the test. The message flow should follow Figure 4 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.).

Positive test for proxy service authorization with nonces generated by the outbound SIP proxy. Verify that at the least, user1@realmB can make a call to user2@realmA and that the user credentials are validated by vendor B only after the challenge is validated by vendor A. Verify that a valid challenge initiates a MAR/MAA exchange between vendor A and B. Note that vendor D should route SIP request normally to simplify the test. The message flow should follow Figure 5 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.).

Negative test for authorizing proxy service when user-name avp is missing. Verify that vendor A sends a SIP unauthorized or SIP authorization required messages back to UA1 if MAA is set to DIAMETER_USER_NAME_REQUIRED. The result of the authorization may or may not be successful in this context. Vendor B can be configured to require a user-name in the UAR. This may not be applicable to all implementations.



 TOC 

3.1.4.  Location Service

Implementations must conform to Section 6.7 and 6.10 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.) and Section 6.1.4 of [TS29.228] (3GPP, “IMS Cx and Dx interfaces : signalling flows and message contents,” .). All test entities should be present to perform this test. The message flow being tested is Figure 8. of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.). This is also synonymous to Section A.4.5 of [TS29.228] (3GPP, “IMS Cx and Dx interfaces : signalling flows and message contents,” .). The test topology in Figure 1 (Diameter SIP Test Topology) can be used to perform these test. The location service test can be triggered by initiating a call to user2@realmA from UA1. The presence of SIP and/or SIPS URI for user2@realmA in vendor B can be done via SIP registration in Section 3.1.1 (Authentication) or some other means. The test scenarios below assumes vendor D is the allocated/assigned SIP server for user2@realmA.



 TOC 

3.1.5.  Soft Termination

Implementations must conform to Section 6.9 of [I‑D.ietf‑aaa‑diameter‑sip‑app] (Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” April 2006.) and 6.5.2.2 of [TS29.228] (3GPP, “IMS Cx and Dx interfaces : signalling flows and message contents,” .). These test should be performed as a consequence of Section 3.1.1 (Authentication). In the enumerated test scenarios, vendor A request removal of user bindings in vendor B. This maybe a consequence of user1@reamlB logging off on UA1 (Section 10.2.2 in [RFC3261] (Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, “SIP: Session Initiation Protocol,” June 2002.)) or an expiration of usage timer in vendor B. It is left to the implementation to configure such scenario.



 TOC 

4.  3GPP Interface Test Suite

The test suite in this section only covers the following IMS interfaces. Future revisions will attempt to cover the remaining interfaces.

Because of the complexity in IMS deployment, a lot of assumptions have been made in terms of the test topology. Since recreating an IMS network is not realistic, only entities implementing Diameter applications will be involved in these test cases. Peripheral entities that instigate a test event should be simulated.



 TOC 

4.1.  Diameter Cx

Implementations must conform to [TS29.228] (3GPP, “IMS Cx and Dx interfaces : signalling flows and message contents,” .) and [TS29.229] (3GPP, “IMS Cx and Dx interfaces based on the Diameter protocol; Protocol details,” .). Since Diameter Cx describes the same application as Diameter SIP, the test topology and scenarios in Section 3 (Diameter SIP Test Suite) is applicable. For brevity, this section will only provide addendums to the existing test suites in Section 3 (Diameter SIP Test Suite) as it applies to Diameter Cx. Authentication schemes present in the SIP tests may or may not be present for Cx testing. The topology in Figure 1 (Diameter SIP Test Topology) will be used with the following mappings.



    Diameter Cx       Test Topology              Vendor
      Node             Equivalent            Assignments
  ----------------+---------------------+-----------------------

    I-CSCF           SIP Server 1         Vendor A, I-CSCF
                                          on Home Network

    HSS              Diameter Server      Vendor B, HSS
                                          on Home Network

    S-CSCF           SIP Server 2         Vendor D, S-CSCF
                                          on Home Network

    P-CSCF           Optional             Use UA1 to simulate
                                          P-CSCF

    AS               Optional             Implementation specific,
                                          maybe simulated

 Figure 6: SIP Test Topology Mapping 

All test entities can share the same realm (Home Network). The SIP proxy P-CSCF may or may not be present for testing the Cx interface. If it is not available, tests for registration and de-registration described in Section A.4.2 and A.4.3 of [TS29.228] (3GPP, “IMS Cx and Dx interfaces : signalling flows and message contents,” .) can use UA1 to simulate a P-CSCF. S-CSCF functions that rely on other entities such as AS may also be simulated when service initiated test needs to be performed. An AS maybe present to facilitate this though it is left up to the implementation to provide an AS and verify its configuration.

 TOC 

4.1.1.  Required

The following are addendums to Section 3 (Diameter SIP Test Suite) for testing Diameter Cx.



 TOC 

4.2.  Diameter Sh

Implementations must conform to [TS29.328] (3GPP, “IMS Sh interface : signalling flows and message content,” .) and [TS29.329] (3GPP, “IMS Sh interface based on the Diameter protocol; Protocol details,” .). The test topology for Diameter Sh is Figure 9 (Diameter Sh Test Topology). Because AS functionality is implementation and service specific, it is left to the testers to verify configuration of the provided service. UA registration with AS services are also left up to the tester to verify. Some interaction with the test topology for Section 4.1 (Diameter Cx) maybe required in certain test scenarios.


                      Home Network

                        +--------+           +--------+
                        |Diameter|           |   AS   |
  IMS Network <---Cx--->| server |<--------->|Vendor E|
              |        |Vendor B|  UDR/UDA  |        |
              |        +--------+  PUR/PUA  +--------+
              |                    SNR/SNA      |
              |                    PNR/PNA      |
              |                                 |
              -------SIP to S-CSCF and UA1-------

  Legend:
          IMS Network     - Test topology for Diameter SIP.
                            Network details are not shown
                            for brevity.

          Diameter server - Vendor B acting HSS for Home Network.
                            Part of the IMS Network.

          AS              - Vendor E acting as AS

 Figure 9: Diameter Sh Test Topology 

The test topology shown above is an addendum to Figure 1 (Diameter SIP Test Topology). The AS uses Diameter Sh with the HSS and SIP with S-CSCF and UA1 in the IMS network. For Diameter Sh, the message flow being tested is defined in Section B.1 of [TS29.328] (3GPP, “IMS Sh interface : signalling flows and message content,” .). It is left to the testers to verify that the AS is properly configured in the IMS network.

 TOC 

4.2.1.  Required

The following are test scenarios to exercise Diameter Sh interface.



 TOC 

4.3.  Diameter Rf

Implementations must conform to [TS32.260] (3GPP, “IP Multimedia Subsystem (IMS) Charging,” .). The test topology for Diameter Rf is Figure 10 (Diameter Rf Test Topology). The test cases in this section do not attempt to cover all accounting scenarios that are possible in an IMS network. It only exercise accounting functions for test entities listed in Figure 6 (SIP Test Topology Mapping). Because the test topology only describes a home network, the Rf interface is limited to S-CSCF and I-CSCF accounting. Record co-relation with a visited network is assumed not to be done. The CDF entity should be reachable to the SIP servers in Figure 1 (Diameter SIP Test Topology) and to the AS in Figure 9 (Diameter Sh Test Topology) if an AS is used. The test scenarios also makes a lot of assumptions in testing non-Diameter related Rf requirements such as the CDR formats, operator configuration of the CDF, SIP based signaling or operator based decision on when to use offline-charging etc. Since there can be a multitude of configuration options, verification of actual billing schemes used and its accuracy is left to the testers.


  IMS Network
                                          +----------+
                                          |          |
      <----ACR/ACA to SIP Server 1 ----->|   CDF    |
                                          | Vendor F |
      <----ACR/ACA to SIP Server 2 ----->|          |
                                          +----------+

  Legend:
          IMS Network     - Test topology for Diameter SIP and/or
                            Diameter Sh. Network details are not
                            shown for brevity.

          CDF             - Vendor F acting CDF for Home Network.

 Figure 10: Diameter Rf Test Topology 



 TOC 

4.3.1.  Required

The following are test scenarios to exercise Diameter Rf interface.



 TOC 

4.3.2.  Optional

The following are optional test scenarios to exercise Diameter Rf interface. Note that details of the tests are skipped for brevity.



 TOC 

5.  Diameter EAP Test Suite

Access device and AAA servers that support Diameter EAP Application must conform to [RFC4072] (Eronen, P., Hiller, T., and G. Zorn, “Diameter Extensible Authentication Protocol (EAP) Application,” August 2005.). A typical test for network access authentication using Diameter EAP is shown in Figure 11 (Diameter EAP). The User has an EAP Client to be authenticated for network access. The test cases only cover the NAS and Auth. Servers interoperability. To perform these tests, one must choose an EAP method. It is recommended to use an authentication method which derive keying material to test key transport between Auth. Server and NAS. As an example, EAP-TLS [RFC2716] (Aboba, B. and D. Simon, “PPP EAP TLS Authentication Protocol,” October 1999.) can be used.



+--------+     +--------+     +---------------+
| User   |<--->|  NAS   |<--->| Auth Server 1 |
|        |     |Vendor A|     |  Vendor B     |
+--------+     +--------+     +---------------+
                                    ^
                                    |
                                    |
                                    v
                              +---------------+
                              | Auth Server 2 |
                              | Vendor C      |
                              +---------------+



Legend:
        User
        NAS           - Vendor A Diam EAP client
        Auth Server 1 - Vendor B Diam EAP server
        Auth Server 2 - Vendor C Diam EAP server
 Figure 11: Diameter EAP 



 TOC 

5.1.  Required

Implementation must conform to section 2 of [RFC4072] (Eronen, P., Hiller, T., and G. Zorn, “Diameter Extensible Authentication Protocol (EAP) Application,” August 2005.). NAS and Auth. Servers advertises Diameter EAP support in their CER/CEA exchange.



 TOC 

5.1.1.  Non-Roaming case

In this test, User, NAS and Auth. Server 1 belongs to the same realm.



 TOC 

5.1.2.  Roaming scenario

In this scenario, User and Auth. Server 2 belongs to realmB while NAS and Auth. Server 1 belongs to realm A. All tests described in the Non-Roaming scenario must work. As we are in roaming scenario, the following two tests should also be performed.



 TOC 

5.2.  Optional Authorization/Accounting Tests



 TOC 

6.  Diameter NASREQ Test Suite

Access device that supports Diameter NASREQ extension must conform to [RFC4005] (Calhoun, P., Zorn, G., Spence, D., and D. Mitton, “Diameter Network Access Server Application,” August 2005.). Typical test topology for single domain authentication shown in Figure 12 (Diameter NASREQ Test Topology). The User entity typically employs PPP to access the NAS and is normally implementation dependent. Since the test cases covers only NAS and Auth Server interoperability, it is left to the tester to verify correctness of the access method between User and NAS and that this method is able to trigger creation of a NASREQ client session in the NAS.


    +--------+     +--------+     +-------------+
    | User   |<--->|  NAS   |<--->| Auth Server |
    |        |     |Vendor A|     |  Vendor B   |
    +--------+     +--------+     +-------------+

  Legend:
          User       - Simulated user
          NAS        - Vendor A Diam NASREQ client
          Auth Sever - Vendor B Diam NASREQ server

 Figure 12: Diameter NASREQ Test Topology 

Another test topology can exist for testing Diameter/RADIUS gateways as specified in Section 9 of [RFC4005] (Calhoun, P., Zorn, G., Spence, D., and D. Mitton, “Diameter Network Access Server Application,” August 2005.). This topology is available for vendors implementing a translation gateway. It should simulate a common deployment scenario where there is a prevalence of legacy RADIUS access devices ([RFC2865] (Rigney, C., Willens, S., Rubens, A., and W. Simpson, “Remote Authentication Dial In User Service (RADIUS),” June 2000.)). Since the test cases covers interoperability scenarios, validation must be done between NAS and Gateway. As with Figure 12 (Diameter NASREQ Test Topology), it is left to the tester to verify correctness of the access method between User and NAS. The test cases involving Figure 12 (Diameter NASREQ Test Topology) is also relevant to validating Gateway and Auth Server and should be used in this topology as well.

    +--------+     +--------+     +---------+     +-------------+
    | User   |<--->|  NAS   |<--->| Gateway |<--->| Auth Server |
    |        |     |        |     |Vendor A |     |  Vendor B   |
    +--------+     +--------+     +---------+     +-------------+

  Legend:
          User       - Simulated user
          NAS        - Simulated or vendor RADIUS client
          Gateway    - Vendor A Diameter/RADIUS gateway
          Auth Sever - Vendor B Diam NASREQ server

 Figure 13: Translation Gateway Test Topology 



 TOC 

6.1.  Required



 TOC 

6.1.1.  Auth Session

Implementations must conform to Section 2 of [RFC4005] (Calhoun, P., Zorn, G., Spence, D., and D. Mitton, “Diameter Network Access Server Application,” August 2005.). Test topology Figure 12 (Diameter NASREQ Test Topology) can be used for these cases. These tests typically involves a myriad of configuration options. At the least an implementation must be able to grant access to a user with a reasonable level of security given the test cases below. The minimum test that should be performed is PPP CHAP and PPP EAP with MD5 method. These tests are heavily dependent on other parameters that are implementation specific (username, password, medium type, calling-station-id etc). It is left to the tester to verify correctness of this process but it must conform to Section 2.1, 3.1 and 3.2 of [RFC4005] (Calhoun, P., Zorn, G., Spence, D., and D. Mitton, “Diameter Network Access Server Application,” August 2005.). This includes conformance to the use of transport level security (TLS or IPsec) for signaling sensitive information, i.e., passwords etc. Verification of test cases can be done manually.



 TOC 

6.1.2.  Diameter/RADIUS Gateway

Implementations must conform to Section 9 of [RFC4005] (Calhoun, P., Zorn, G., Spence, D., and D. Mitton, “Diameter Network Access Server Application,” August 2005.). Test topology Figure 13 (Translation Gateway Test Topology) can be used for these cases. Validation of these tests maybe localized to the Gateway (vendor A) but for the purpose of interoperability, end-to-end authentication and/or authorization must succeed between User and Auth Server (vendor B).



 TOC 

6.1.3.  Multi-domain Scenario

Test cases in this section is synonymous to Section 6.1.1 (Auth Session) and all requirements in that section apply here as well. These scenarios, however, uses Figure 1 of Diameter Base Protocol Test Suite Document instead. Vendor A1 can acts as the NAS and B1 or B2 can act as the auth server. A2 or B1 can act as either a proxy/agent or redirect agent for A1. As with the routing test in Diameter Base Protocol Test Suite, these tests are symmetric to both vendors.



 TOC 

6.2.  Optional

Implementations must conform to Section 2 of [RFC4005] (Calhoun, P., Zorn, G., Spence, D., and D. Mitton, “Diameter Network Access Server Application,” August 2005.). Test topology uses Figure 12 (Diameter NASREQ Test Topology). These are optional test that implementations can perform.


 TOC 

6.2.1.  Auth Session

Implementations must conform to Section 2 of [RFC4005] (Calhoun, P., Zorn, G., Spence, D., and D. Mitton, “Diameter Network Access Server Application,” August 2005.). These test cases are in support of Section 6.1.1 (Auth Session).



 TOC 

7.  Diameter MIP Test Suite

Vendors that support Diameter Mobile IPv4 extension must conform to [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.). There are typically several topologies that is possible when deploying Diameter MIP. Those which are more likely to be deployed are included in this document. The test cases are also highly dependent on the topologies themselves hence each test case provides its own test topology. Configuration of the mobility agents (Mobile, HA and FA) for all test cases are implementation specific and it is left up to the tester to verify their correctness. Testers must also verify that the MIP implementation conforms to Section 4 of [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.) as it relates to Diameter. Testers must also ensure that all positive test resulting in successful authentication and/or authorization must generate appropriate session keys and MSAs as needed. It should conform to [RFC3957] (Perkins, C. and P. Calhoun, “Authentication, Authorization, and Accounting (AAA) Registration Keys for Mobile IPv4,” March 2005.) and [RFC3012] (Perkins, C. and P. Calhoun, “Mobile IPv4 Challenge/Response Extensions,” November 2000.) as it applies. This is implementation and policy dependent but can be as a consequence of positive test cases so it is worthwhile to verify.



 TOC 

7.1.  Generic MIP Test Scenarios

The following are generic test scenarios that can be applied to any MIP test topology. It is enumerated here for simplicity since it is common to all topology.



 TOC 

7.2.  Required



 TOC 

7.2.1.  Co-located Registration

Implementation must conform to Section 3.3 of [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.). Test topology for co-located mobile node deployment is shown below in Figure 14 (Test Topology for Co-located Mobile Node). Both HA and AAAH share the same realm which can be a home or foreign realm of the Mobile. Verifying the correctness of the Mobile to HA registration is out of scope for this document is left to the tester. However, it must conform to [RFC3344] (Perkins, C., “IP Mobility Support for IPv4,” August 2002.) and its successor document. Note also that there is a myriad of configuration options for this test case and it is left to the test pairs to agree on which and on how many configuration can and should be tested.


    +--------+     +--------+     +-------------+
    | Mobile |<--->|  HA    |<--->| AAAH        |
    |        |     |Vendor A|     | Vendor B    |
    +--------+     +--------+     +-------------+

  Legend:
          Mobile     - Mobile is IPv4 mobile node
          HA         - Vendor A as a MIP Home Agent
          AAAH       - Vendor B as a Home AAA server

 Figure 14: Test Topology for Co-located Mobile Node 



 TOC 

7.2.2.  Intra-Domain Registration

Implementation must conform to [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.). The basic test topology for single domain registration is shown below in Figure 15 (Test Topology for Intra-Domain MIP). All entities share the same realm with FA and HA presiding over different networks. The topology can be a combination of different vendor implementations. Testers must verify that the AAA message flows in Figure 15 (Test Topology for Intra-Domain MIP) are followed for the registration process.


                  +---------+
                  |  AAAH   |
                  |Vendor B |
                  +---------+
          AMR/AMA /         \ HAR/HAA
                  /           \
      +---------+             +---------+
      |   FA    |             |   HA    |
      |Vendor A |             |Vendor C |
      +---------+             +---------+
            ^
            | Mobile IP
            v
      +---------+
      | Mobile  |
      +---------+

  Legend:
          Mobile     - Mobile is IPv4 mobile node
          FA         - Vendor A as a MIP Foreign Agent
          AAAH       - Vendor B as a Home AAA server
          HA         - Vendor C as a MIP Home Agent

 Figure 15: Test Topology for Intra-Domain MIP 



 TOC 

7.2.3.  Inter-Domain Registration

Implementation must conform to Section 3.1 of [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.). The basic test topology for inter-domain registration is shown below in Figure 16 (Test Topology for Inter-Domain MIP). A1 and A2 reside in realmA and B1 and B2 reside in realmB. The entities in the topology can be a combination of different vendor implementations. Verifying the correctness of the Mobile to FA discovery and registration is implementation specific and out of scope of this document. It is left to the tester to validate this process but it must conform to requirements [RFC3344] (Perkins, C., “IP Mobility Support for IPv4,” August 2002.) and its successor document. As with previous test cases in Diameter MIP, there is a myriad of configuration options for this test case and it is left to the test pairs to agree on which and on how many configuration can and should be tested. However, testers must verify that the AAA message flows in Figure 16 (Test Topology for Inter-Domain MIP) are followed for the registration process regardless of configuration.


    realmA (visited)         realmB (home)
      +---------+             +---------+
      |  AAAF   |   AMR/AMA   |  AAAH   |
      |Vendor A2|<----------->|Vendor B2|
      +---------+             +---------+
            ^                       ^
    AMR/AMA |                       | HAR/HAA
            v                       v
      +---------+             +---------+
      |   FA    |             |   HA    |
      |Vendor A1|             |Vendor B1|
      +---------+             +---------+
            ^
            | Mobile IP
            v
      +---------+
      | Mobile  | mn@realmB.com
      +---------+

  Legend:
          Mobile     - Mobile is IPv4 mobile node
          FA         - Vendor A1 as a MIP Foreign Agent
          AAAF       - Vendor A2 as a Foreign AAA server
          AAAH       - Vendor B2 as a Home AAA server
          HA         - Vendor B1 as a MIP Home Agent

 Figure 16: Test Topology for Inter-Domain MIP 



 TOC 

7.2.4.  Allocation of HA in Foreign Network

Implementation must conform to Section 3.2 of [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.). The basic test topology for dynamically allocated HA is shown below in Figure 17 (Test Topology for Allocation of HA in Foreign Network). A1, A2 and A3 reside in realmA and B1 resides in realmB. The entities in the topology can be a combination of different vendor implementations. Policies in AAAF and AAAH must support dynamic allocation of an HA. Testers must verify that the AAA message flows in Figure 17 (Test Topology for Allocation of HA in Foreign Network) are followed for the registration and HA allocation process.


              realmA                           realmB
              +---------+ ------- AMR ------> +---------+
              |  AAAF   | <----- HAR -------- |  AAAH   |
        +--->|Vendor A3| ------- HAA ------> |Vendor B1|
        |    +---------+ <----- AMA -------- +---------+
        |         ^  |
        |         |  |
HAR/HAA |     AMR |  | AMA
        v         |  v
+---------+       +---------+
|   HA    |       |   FA    |
|Vendor A2|       |Vendor A1|
+---------+       +---------+
                          ^
      +--------+  Mobile IP|
      | Mobile |<----------+
      +--------+

  Legend:
          Mobile     - Mobile is IPv4 mobile node
          FA         - Vendor A1 as a MIP Foreign Agent
          AAAF       - Vendor A3 as a Foreign AAA server
          AAAH       - Vendor B1 as a Home AAA server
          HA         - Vendor A2 as a MIP Home Agent

 Figure 17: Test Topology for Allocation of HA in Foreign Network 



 TOC 

7.3.  Optional

Vendors that support Diameter Mobile IPv4 extension must conform to [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.). The following are optional test cases that can be performed for Diameter MIP.


 TOC 

7.3.1.  Co-located Registration via Redirect Indication

An addendum to the topology shown in Figure 16 (Test Topology for Inter-Domain MIP) is shown in Figure 18 (Test Topology for Co-located Mobile Node with Redirect). The redirect agent is introduced if additional transport security is required between HA and AAAH in the co-located scenario as described in Section 3.3 of [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.). Optional IPsec or TLS connectivity can be established between HA and AAAH. For simplicity Figure 18 (Test Topology for Co-located Mobile Node with Redirect) differs from Figure 8 of [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.) by not having an AAA proxy but relying on the redirect agent directly.


                  +----------+
                  | Redirect |
                  | Vendor B1|
                  +----------+
                      |
                      |
    +--------+     +--------+     +-------------+
    | Mobile |<--->|  HA    |<--->| AAAH        |
    |        |     |Vendor A|     | Vendor B2   |
    +--------+     +--------+     +-------------+

  Legend:
          Mobile     - Mobile is IPv4 mobile node
          HA         - Vendor A as a MIP Home Agent
          Redirect   - Vendor B1 redirect agent
          AAAH       - Vendor B2 as a Home AAA server

 Figure 18: Test Topology for Co-located Mobile Node with Redirect 



 TOC 

7.3.2.  Inter-Domain Registration with Redirect

An addendum to the topology shown in Figure 16 (Test Topology for Inter-Domain MIP) is shown in Figure 19 (Test Topology for Inter-Domain MIP with Redirect). The redirect agent B3 is introduced if additional transport security is required and the use of an AAAF can be skipped. In this topology B3 shares the same realm a B1 and B2. Optional IPsec or TLS connectivity can be established between A1 and B2 as describe in Figure 3 of [RFC4004] (Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” August 2005.). However, the secure connectivity can be omitted to simplify testing.


                  +---------+
                  |Redirect |
                  |Vendor B3|
                  +---------+
                  /
realmA (visited) /           realmB (home)
      +---------+             +---------+
      |  AAAF   |   AMR/AMA   |  AAAH   |
      |Vendor A2|      -------|Vendor B2|
      +---------+     /       +---------+
            ^         /             ^
    AMR/AMA |        /              | HAR/HAA
            v       /               v
      +---------+ /           +---------+
      |   FA    |             |   HA    |
      |Vendor A1|             |Vendor B1|
      +---------+             +---------+
            ^
            | Mobile IP
            v
      +---------+
      | Mobile  | mn@realmB.com
      +---------+

  Legend:
          Mobile     - Mobile is IPv4 mobile node
          FA         - Vendor A1 as a MIP Foreign Agent
          AAAF       - Vendor A2 as a Foreign AAA server
          AAAH       - Vendor B2 as a Home AAA server
          HA         - Vendor B1 as a MIP Home Agent
          Redirect   - Vendor B3 as a Redirect agent in reamlA

 Figure 19: Test Topology for Inter-Domain MIP with Redirect 



 TOC 

7.3.3.  Inter-Domain Registration with Proxy/Relay

An addendum to the topology shown in Figure 16 (Test Topology for Inter-Domain MIP) is shown in Figure 20 (Test Topology for Inter-Domain MIP with Proxy/Relay). The proxy/relay agent B3 exists between A2 and B2. In this topology B3 shares the same realm as B1 and B2.


                  +------------+
                  |Proxy/Relay |
                  |Vendor B3   |
                  +------------+
                  / AMR/AMA \
realmA (visited) /           \ realmB (home)
      +---------+             +---------+
      |  AAAF   |             |  AAAH   |
      |Vendor A2|             |Vendor B2|
      +---------+             +---------+
            ^                       ^
    AMR/AMA |                       | HAR/HAA
            v                       v
      +---------+             +---------+
      |   FA    |             |   HA    |
      |Vendor A1|             |Vendor B1|
      +---------+             +---------+
            ^
            | Mobile IP
            v
      +---------+
      | Mobile  | mn@realmB.com
      +---------+

  Legend:
          Mobile     - Mobile is IPv4 mobile node
          FA         - Vendor A1 as a MIP Foreign Agent
          AAAF       - Vendor A2 as a Foreign AAA server
          AAAH       - Vendor B2 as a Home AAA server
          HA         - Vendor B1 as a MIP Home Agent
          Redirect   - Vendor B3 as a Redirect agent in reamlA

 Figure 20: Test Topology for Inter-Domain MIP with Proxy/Relay 



 TOC 

8.  Security Considerations

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



 TOC 

9.  IANA Considerations

This document does not require actions by IANA.



 TOC 

10. Normative References

[I-D.ietf-aaa-diameter-sip-app] Garcia-Martin, M., “Diameter Session Initiation Protocol (SIP) Application,” draft-ietf-aaa-diameter-sip-app-12 (work in progress), April 2006 (TXT).
[RFC2119] Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML).
[RFC2716] Aboba, B. and D. Simon, “PPP EAP TLS Authentication Protocol,” RFC 2716, October 1999 (TXT).
[RFC2865] Rigney, C., Willens, S., Rubens, A., and W. Simpson, “Remote Authentication Dial In User Service (RADIUS),” RFC 2865, June 2000 (TXT).
[RFC3012] Perkins, C. and P. Calhoun, “Mobile IPv4 Challenge/Response Extensions,” RFC 3012, November 2000 (TXT).
[RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, “SIP: Session Initiation Protocol,” RFC 3261, June 2002 (TXT).
[RFC3344] Perkins, C., “IP Mobility Support for IPv4,” RFC 3344, August 2002 (TXT).
[RFC3588] Calhoun, P., Loughney, J., Guttman, E., Zorn, G., and J. Arkko, “Diameter Base Protocol,” RFC 3588, September 2003 (TXT).
[RFC3846] Johansson, F. and T. Johansson, “Mobile IPv4 Extension for Carrying Network Access Identifiers,” RFC 3846, June 2004 (TXT).
[RFC3957] Perkins, C. and P. Calhoun, “Authentication, Authorization, and Accounting (AAA) Registration Keys for Mobile IPv4,” RFC 3957, March 2005 (TXT).
[RFC4004] Calhoun, P., Johansson, T., Perkins, C., Hiller, T., and P. McCann, “Diameter Mobile IPv4 Application,” RFC 4004, August 2005 (TXT).
[RFC4005] Calhoun, P., Zorn, G., Spence, D., and D. Mitton, “Diameter Network Access Server Application,” RFC 4005, August 2005 (TXT).
[RFC4072] Eronen, P., Hiller, T., and G. Zorn, “Diameter Extensible Authentication Protocol (EAP) Application,” RFC 4072, August 2005 (TXT).
[TS29.228] 3GPP, “IMS Cx and Dx interfaces : signalling flows and message contents,” 3GPP TS 29.228 Version 7.0.0 2006.
[TS29.229] 3GPP, “IMS Cx and Dx interfaces based on the Diameter protocol; Protocol details,” 3GPP TS 29.229 Version 7.0.0 2006.
[TS29.328] 3GPP, “IMS Sh interface : signalling flows and message content,” 3GPP TS 29.328 Version 6.8.0 2005.
[TS29.329] 3GPP, “IMS Sh interface based on the Diameter protocol; Protocol details,” 3GPP TS 29.329 Version 6.6.0 2005.
[TS32.260] 3GPP, “IP Multimedia Subsystem (IMS) Charging,” 3GPP TS 32.260 Version 6.4.0 2005.


 TOC 

Authors' Addresses

  Victor Fajardo
  Telcordia Technologies
  1 Telcordia Drive #1S-222
  Piscataway, NJ 08854
  USA
Email:  vfajardo@research.telcordia.com
  
  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
  
  Julien Bournelle
  France Telecom R&D
  38-4O rue du general Leclerc
  Issy-Les-Moulineaux 92794
  France
Email:  julien.bournelle@orange-ftgroup.com