DIAMETER_Types: Generate fields from RFC 5447
S6b Diameter interface (TS 29.273 section 9) uses the
MIP6-Feature-Vector, which according to TS 29.273 9.2.3.2.3 is defined
in RFC 5447.
Related: OS#6229
Change-Id: I478eff657d876d4ec9a5a1906cab48fbaaaae1b9
diff --git a/library/DIAMETER_Types.ttcn b/library/DIAMETER_Types.ttcn
index ee2910b..3a7b3b6 100644
--- a/library/DIAMETER_Types.ttcn
+++ b/library/DIAMETER_Types.ttcn
@@ -4,7 +4,7 @@
// //
///////////////////////////////////////////////////
// Generated with command:
-// AVP.sh Base_IETF_RFC3588.ddf BaseTypes_IETF_RFC3588.ddf AAAInterface_3GPP_TS29272_f10.ddf GxInterface_PCC_3GPP_TS29212_f10.ddf S6Interfaces_3GPP_TS29336_f00.ddf MobileIPv6_HA_IETF_RFC5778.ddf RxInterface_PCC_3GPP_TS29214_f20.ddf NetworkAccessServer_IETF_RFC4005.ddf CreditControl_IETF_RFC4006.ddf CxDxInterface_3GPP_TS29229_c30.ddf GiSGiInterface_3GPP_TS29061_d70.ddf ChargingApplications_3GPP_TS32299_d90.ddf
+// AVP.sh Base_IETF_RFC3588.ddf BaseTypes_IETF_RFC3588.ddf AAAInterface_3GPP_TS29272_f10.ddf GxInterface_PCC_3GPP_TS29212_f10.ddf S6Interfaces_3GPP_TS29336_f00.ddf MobileIPv6_HA_IETF_RFC5778.ddf RxInterface_PCC_3GPP_TS29214_f20.ddf NetworkAccessServer_IETF_RFC4005.ddf CreditControl_IETF_RFC4006.ddf CxDxInterface_3GPP_TS29229_c30.ddf GiSGiInterface_3GPP_TS29061_d70.ddf ChargingApplications_3GPP_TS32299_d90.ddf MobileIPv6_NAS_IETF_RFC5447.ddf
module DIAMETER_Types {
/******************************************************************************
* Copyright (c) 2000-2019 Ericsson Telecom AB
@@ -8294,8 +8294,73 @@
type AVP_Unsigned32 DCA_3GPP_Volume_Quota_Threshold
-// STATISTICS: 1121 AVP descriptors found
-// STATISTICS: 1121 AVP type definitions matching AVP descriptors found
+/******************************************************************************
+* Copyright (c) 2000-2019 Ericsson Telecom AB
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Eclipse Public License v2.0
+* which accompanies this distribution, and is available at
+* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
+*
+* Contributors:
+* Roland Gecse - initial implementation and initial documentation
+* Akos Pernek
+* Antal Wuh.Hen.Chang
+* Attila Fulop
+* Balazs Barcsik
+* Bence Molnar
+* Csaba Koppany
+* David Juhasz
+* Eduard Czimbalmos
+* Elemer Lelik
+* Endre Kiss
+* Endre Kulcsar
+* Gabor Szalai
+* Gabor Tatarka
+* Gergely Futo
+* Istvan Sandor
+* Krisztian Pandi
+* Kulcsár Endre
+* Laszlo Tamas Zeke
+* Norbert Pinter
+* Roland Gecse
+* Tibor Bende
+* Tibor Szabo
+* Timea Moder
+* Zoltan Medve
+* Zsolt Nandor Torok
+* Zsolt Szalai
+******************************************************************************/
+//
+// File: MobileIPv6_NAS_IETF_RFC5447.ddf
+// Description: DDF for Mobile IPv6 according to RFC 5447
+// Rev: R55A
+// Prodnr: CNL113462
+///////////////////////////////////////////////
+
+// APPLICATION-NAME: MIPv6
+// APPLICATION-REVISION: RFC5447
+
+// RFC 5447 4.2.1
+// AVP: MIP6-Agent-Info (486)
+type AVP_Grouped MIPv6_NONE_MIP6_Agent_Info
+
+// RFC 5447 4.2.2
+// AVP: MIP6-Home-Agent-Address (334)
+type AVP_Address MIPv6_NONE_MIP6_Home_Agent_Address
+
+// RFC 5447 4.2.3
+// AVP: MIP6-Home-Agent-Host (348)
+type AVP_Grouped MIPv6_NONE_MIP6_Home_Agent_Host
+
+// RFC 5447 4.2.4
+// AVP: MIP6-Home-Link-Prefix (125)
+type AVP_OctetString MIPv6_NONE_MIP6_Home_Link_Prefix
+
+// RFC 5447 4.2.5
+// AVP: MIP6-Feature-Vector (124)
+type AVP_Unsigned64 MIPv6_NONE_MIP6_Feature_Vector
+// STATISTICS: 1126 AVP descriptors found
+// STATISTICS: 1126 AVP type definitions matching AVP descriptors found
// STATISTICS: duplicate AVP definitions deleted
type enumerated Command_Code {
Abort_Session (274), Accounting (271), Capabilities_Exchange (257), Device_Watchdog (280), Disconnect_Peer (282), Re_Auth (258), Session_Termination (275), Experimental1 (16777214), Experimental2 (16777215) , Update_Location (316), Cancel_Location (317), Authentication_Information (318), Insert_Subscriber_Data (319), Delete_Subscriber_Data (320), Purge_UE (321), Reset (322), Notify (323), ME_Identity_Check (324), Update_VCSG_Location (8388638), Cancel_VCSG_Location (8388642), Credit_Control (272), TDF_Session (8388637), Subscriber_Information (8388641), Configuration_Information (8388718), Reporting_Information (8388719), NIDD_Information (8388726), Authorize_Authenticate (265), User_Authorization (300), Server_Assignment (301), Location_Info (302), Multimedia_Auth (303), Registration_Termination (304), Push_Profile (305)
@@ -8339,6 +8404,7 @@
avp_code_MIPv6_NONE_MIP_MN_HA_MSA (492),
avp_code_DNAS_NONE_Tunnel_Medium_Type (65),
avp_code_DCC_NONE_User_Equipment_Info_Type (459),
+ avp_code_MIPv6_NONE_MIP6_Home_Agent_Address (334),
avp_code_MIPv6_NONE_QoS_Resources (508),
avp_code_DCC_NONE_Service_Parameter_Value (442),
avp_code_MIPv6_NONE_MIP_Session_Key (343),
@@ -8368,6 +8434,7 @@
avp_code_DNAS_NONE_Tunnel_Preference (83),
avp_code_DCC_NONE_CC_Session_Failover (418),
avp_code_BASE_NONE_Proxy_State (33),
+ avp_code_MIPv6_NONE_MIP6_Agent_Info (486),
avp_code_DCC_NONE_Credit_Control_Failure_Handling (427),
avp_code_BASE_NONE_Redirect_Max_Cache_Time (262),
avp_code_DCC_NONE_Requested_Action (436),
@@ -8454,6 +8521,7 @@
avp_code_DNAS_NONE_CHAP_Algorithm (403),
avp_code_DCC_NONE_CC_Input_Octets (412),
avp_code_BASE_NONE_Destination_Realm (283),
+ avp_code_MIPv6_NONE_MIP6_Home_Link_Prefix (125),
avp_code_DNAS_NONE_Login_LAT_Port (63),
avp_code_DCC_NONE_G_S_U_Pool_Reference (457),
avp_code_MIPv6_NONE_Chargable_User_Identity (89),
@@ -8502,8 +8570,10 @@
avp_code_DCC_NONE_Service_Context_Id (461),
avp_code_DNAS_NONE_CHAP_Auth (402),
avp_code_BASE_NONE_Inband_Security_Id (299),
+ avp_code_MIPv6_NONE_MIP6_Home_Agent_Host (348),
avp_code_DCC_NONE_CC_Correlation_Id (411),
avp_code_BASE_NONE_Route_Record (282),
+ avp_code_MIPv6_NONE_MIP6_Feature_Vector (124),
avp_code_DNAS_NONE_Port_Limit (62),
avp_code_DCC_NONE_Multiple_Services_Credit_Control (456),
avp_code_BASE_NONE_Authorization_Lifetime (291),
@@ -9577,6 +9647,7 @@
S6_3GPP_Loss_Of_Connectivity_Reason avp_S6_3GPP_Loss_Of_Connectivity_Reason,
DCA_3GPP_Originator avp_DCA_3GPP_Originator,
DCC_NONE_User_Equipment_Info_Type avp_DCC_NONE_User_Equipment_Info_Type,
+ MIPv6_NONE_MIP6_Home_Agent_Address avp_MIPv6_NONE_MIP6_Home_Agent_Address,
RX_3GPP_Flow_Number avp_RX_3GPP_Flow_Number,
PCC_3GPP_Resource_Allocation_Notification avp_PCC_3GPP_Resource_Allocation_Notification,
DCA_3GPP_Basic_Service_Code avp_DCA_3GPP_Basic_Service_Code,
@@ -9750,6 +9821,7 @@
DCA_3GPP_ProSe_Request_Timestamp avp_DCA_3GPP_ProSe_Request_Timestamp,
DCA_3GPP_PoC_Session_Id avp_DCA_3GPP_PoC_Session_Id,
BASE_NONE_Proxy_State avp_BASE_NONE_Proxy_State,
+ MIPv6_NONE_MIP6_Agent_Info avp_MIPv6_NONE_MIP6_Agent_Info,
DCA_3GPP_PoC_Server_Role avp_DCA_3GPP_PoC_Server_Role,
DCA_3GPP_Forwarding_Pending avp_DCA_3GPP_Forwarding_Pending,
DCC_NONE_Credit_Control_Failure_Handling avp_DCC_NONE_Credit_Control_Failure_Handling,
@@ -10243,6 +10315,7 @@
CxDx_3GPP_SIP_Item_Number avp_CxDx_3GPP_SIP_Item_Number,
PCC_3GPP_Session_Release_Cause avp_PCC_3GPP_Session_Release_Cause,
AAA_3GPP_MDT_User_Consent avp_AAA_3GPP_MDT_User_Consent,
+ MIPv6_NONE_MIP6_Home_Link_Prefix avp_MIPv6_NONE_MIP6_Home_Link_Prefix,
DNAS_NONE_Login_LAT_Port avp_DNAS_NONE_Login_LAT_Port,
S6_3GPP_HSS_Cause avp_S6_3GPP_HSS_Cause,
DCC_NONE_G_S_U_Pool_Reference avp_DCC_NONE_G_S_U_Pool_Reference,
@@ -10497,6 +10570,7 @@
CxDx_3GPP_User_Data_Already_Available avp_CxDx_3GPP_User_Data_Already_Available,
AAA_3GPP_MME_Number_for_MT_SMS avp_AAA_3GPP_MME_Number_for_MT_SMS,
PCC_3GPP_Security_Parameter_Index avp_PCC_3GPP_Security_Parameter_Index,
+ MIPv6_NONE_MIP6_Home_Agent_Host avp_MIPv6_NONE_MIP6_Home_Agent_Host,
DCC_NONE_CC_Correlation_Id avp_DCC_NONE_CC_Correlation_Id,
PCC_3GPP_Traffic_Steering_Policy_Identifier_UL avp_PCC_3GPP_Traffic_Steering_Policy_Identifier_UL,
BASE_NONE_Route_Record avp_BASE_NONE_Route_Record,
@@ -10505,6 +10579,7 @@
DCA_3GPP_MMTel_Information avp_DCA_3GPP_MMTel_Information,
CxDx_3GPP_Mandatory_Capability avp_CxDx_3GPP_Mandatory_Capability,
AAA_3GPP_Trace_NE_Type_List avp_AAA_3GPP_Trace_NE_Type_List,
+ MIPv6_NONE_MIP6_Feature_Vector avp_MIPv6_NONE_MIP6_Feature_Vector,
DCA_3GPP_Charging_Characteristics_Selection_Mode avp_DCA_3GPP_Charging_Characteristics_Selection_Mode,
DNAS_NONE_Port_Limit avp_DNAS_NONE_Port_Limit,
DCC_NONE_Multiple_Services_Credit_Control avp_DCC_NONE_Multiple_Services_Credit_Control,
@@ -10729,6 +10804,7 @@
avp_S6_3GPP_Loss_Of_Connectivity_Reason, avp_header.avp_code.vendor_id_3GPP = avp_code_S6_3GPP_Loss_Of_Connectivity_Reason;
avp_DCA_3GPP_Originator, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_Originator;
avp_DCC_NONE_User_Equipment_Info_Type, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_User_Equipment_Info_Type;
+ avp_MIPv6_NONE_MIP6_Home_Agent_Address, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Home_Agent_Address;
avp_RX_3GPP_Flow_Number, avp_header.avp_code.vendor_id_3GPP = avp_code_RX_3GPP_Flow_Number;
avp_PCC_3GPP_Resource_Allocation_Notification, avp_header.avp_code.vendor_id_3GPP = avp_code_PCC_3GPP_Resource_Allocation_Notification;
avp_DCA_3GPP_Basic_Service_Code, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_Basic_Service_Code;
@@ -10902,6 +10978,7 @@
avp_DCA_3GPP_ProSe_Request_Timestamp, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_ProSe_Request_Timestamp;
avp_DCA_3GPP_PoC_Session_Id, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_PoC_Session_Id;
avp_BASE_NONE_Proxy_State, avp_header.avp_code.vendor_id_NONE = avp_code_BASE_NONE_Proxy_State;
+ avp_MIPv6_NONE_MIP6_Agent_Info, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Agent_Info;
avp_DCA_3GPP_PoC_Server_Role, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_PoC_Server_Role;
avp_DCA_3GPP_Forwarding_Pending, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_Forwarding_Pending;
avp_DCC_NONE_Credit_Control_Failure_Handling, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_Credit_Control_Failure_Handling;
@@ -11395,6 +11472,7 @@
avp_CxDx_3GPP_SIP_Item_Number, avp_header.avp_code.vendor_id_3GPP = avp_code_CxDx_3GPP_SIP_Item_Number;
avp_PCC_3GPP_Session_Release_Cause, avp_header.avp_code.vendor_id_3GPP = avp_code_PCC_3GPP_Session_Release_Cause;
avp_AAA_3GPP_MDT_User_Consent, avp_header.avp_code.vendor_id_3GPP = avp_code_AAA_3GPP_MDT_User_Consent;
+ avp_MIPv6_NONE_MIP6_Home_Link_Prefix, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Home_Link_Prefix;
avp_DNAS_NONE_Login_LAT_Port, avp_header.avp_code.vendor_id_NONE = avp_code_DNAS_NONE_Login_LAT_Port;
avp_S6_3GPP_HSS_Cause, avp_header.avp_code.vendor_id_3GPP = avp_code_S6_3GPP_HSS_Cause;
avp_DCC_NONE_G_S_U_Pool_Reference, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_G_S_U_Pool_Reference;
@@ -11649,6 +11727,7 @@
avp_CxDx_3GPP_User_Data_Already_Available, avp_header.avp_code.vendor_id_3GPP = avp_code_CxDx_3GPP_User_Data_Already_Available;
avp_AAA_3GPP_MME_Number_for_MT_SMS, avp_header.avp_code.vendor_id_3GPP = avp_code_AAA_3GPP_MME_Number_for_MT_SMS;
avp_PCC_3GPP_Security_Parameter_Index, avp_header.avp_code.vendor_id_3GPP = avp_code_PCC_3GPP_Security_Parameter_Index;
+ avp_MIPv6_NONE_MIP6_Home_Agent_Host, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Home_Agent_Host;
avp_DCC_NONE_CC_Correlation_Id, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_CC_Correlation_Id;
avp_PCC_3GPP_Traffic_Steering_Policy_Identifier_UL, avp_header.avp_code.vendor_id_3GPP = avp_code_PCC_3GPP_Traffic_Steering_Policy_Identifier_UL;
avp_BASE_NONE_Route_Record, avp_header.avp_code.vendor_id_NONE = avp_code_BASE_NONE_Route_Record;
@@ -11657,6 +11736,7 @@
avp_DCA_3GPP_MMTel_Information, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_MMTel_Information;
avp_CxDx_3GPP_Mandatory_Capability, avp_header.avp_code.vendor_id_3GPP = avp_code_CxDx_3GPP_Mandatory_Capability;
avp_AAA_3GPP_Trace_NE_Type_List, avp_header.avp_code.vendor_id_3GPP = avp_code_AAA_3GPP_Trace_NE_Type_List;
+ avp_MIPv6_NONE_MIP6_Feature_Vector, avp_header.avp_code.vendor_id_NONE = avp_code_MIPv6_NONE_MIP6_Feature_Vector;
avp_DCA_3GPP_Charging_Characteristics_Selection_Mode, avp_header.avp_code.vendor_id_3GPP = avp_code_DCA_3GPP_Charging_Characteristics_Selection_Mode;
avp_DNAS_NONE_Port_Limit, avp_header.avp_code.vendor_id_NONE = avp_code_DNAS_NONE_Port_Limit;
avp_DCC_NONE_Multiple_Services_Credit_Control, avp_header.avp_code.vendor_id_NONE = avp_code_DCC_NONE_Multiple_Services_Credit_Control;
@@ -11955,6 +12035,8 @@
vendor_id_3GPP := avp_code_DCA_3GPP_Originator };
const AVP_Code c_AVP_Code_DCC_NONE_User_Equipment_Info_Type := {
vendor_id_NONE := avp_code_DCC_NONE_User_Equipment_Info_Type };
+const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Home_Agent_Address := {
+ vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Home_Agent_Address };
const AVP_Code c_AVP_Code_RX_3GPP_Flow_Number := {
vendor_id_3GPP := avp_code_RX_3GPP_Flow_Number };
const AVP_Code c_AVP_Code_PCC_3GPP_Resource_Allocation_Notification := {
@@ -12301,6 +12383,8 @@
vendor_id_3GPP := avp_code_DCA_3GPP_PoC_Session_Id };
const AVP_Code c_AVP_Code_BASE_NONE_Proxy_State := {
vendor_id_NONE := avp_code_BASE_NONE_Proxy_State };
+const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Agent_Info := {
+ vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Agent_Info };
const AVP_Code c_AVP_Code_DCA_3GPP_PoC_Server_Role := {
vendor_id_3GPP := avp_code_DCA_3GPP_PoC_Server_Role };
const AVP_Code c_AVP_Code_DCA_3GPP_Forwarding_Pending := {
@@ -13287,6 +13371,8 @@
vendor_id_3GPP := avp_code_PCC_3GPP_Session_Release_Cause };
const AVP_Code c_AVP_Code_AAA_3GPP_MDT_User_Consent := {
vendor_id_3GPP := avp_code_AAA_3GPP_MDT_User_Consent };
+const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Home_Link_Prefix := {
+ vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Home_Link_Prefix };
const AVP_Code c_AVP_Code_DNAS_NONE_Login_LAT_Port := {
vendor_id_NONE := avp_code_DNAS_NONE_Login_LAT_Port };
const AVP_Code c_AVP_Code_S6_3GPP_HSS_Cause := {
@@ -13795,6 +13881,8 @@
vendor_id_3GPP := avp_code_AAA_3GPP_MME_Number_for_MT_SMS };
const AVP_Code c_AVP_Code_PCC_3GPP_Security_Parameter_Index := {
vendor_id_3GPP := avp_code_PCC_3GPP_Security_Parameter_Index };
+const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Home_Agent_Host := {
+ vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Home_Agent_Host };
const AVP_Code c_AVP_Code_DCC_NONE_CC_Correlation_Id := {
vendor_id_NONE := avp_code_DCC_NONE_CC_Correlation_Id };
const AVP_Code c_AVP_Code_PCC_3GPP_Traffic_Steering_Policy_Identifier_UL := {
@@ -13811,6 +13899,8 @@
vendor_id_3GPP := avp_code_CxDx_3GPP_Mandatory_Capability };
const AVP_Code c_AVP_Code_AAA_3GPP_Trace_NE_Type_List := {
vendor_id_3GPP := avp_code_AAA_3GPP_Trace_NE_Type_List };
+const AVP_Code c_AVP_Code_MIPv6_NONE_MIP6_Feature_Vector := {
+ vendor_id_NONE := avp_code_MIPv6_NONE_MIP6_Feature_Vector };
const AVP_Code c_AVP_Code_DCA_3GPP_Charging_Characteristics_Selection_Mode := {
vendor_id_3GPP := avp_code_DCA_3GPP_Charging_Characteristics_Selection_Mode };
const AVP_Code c_AVP_Code_DNAS_NONE_Port_Limit := {
diff --git a/library/regen-DIAMETER_Types_ttcn.sh b/library/regen-DIAMETER_Types_ttcn.sh
index cc8a9b7..49d8194 100755
--- a/library/regen-DIAMETER_Types_ttcn.sh
+++ b/library/regen-DIAMETER_Types_ttcn.sh
@@ -16,6 +16,7 @@
CreditControl_IETF_RFC4006.ddf \
CxDxInterface_3GPP_TS29229_c30.ddf \
GiSGiInterface_3GPP_TS29061_d70.ddf \
- ChargingApplications_3GPP_TS32299_d90.ddf
+ ChargingApplications_3GPP_TS32299_d90.ddf \
+ MobileIPv6_NAS_IETF_RFC5447.ddf
mv -v $AVP_SH_DIR/DIAMETER_Types.ttcn $SELF_DIR/