System test feature
[anna.git] / source / diameter / stack / setups / commands_baseProtocol.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE dictionary SYSTEM "dictionary.dtd">
3
4 <dictionary name="Base Protocol Operations (CER/A, RAR/A, ACR/A, ASR/A, STR/A, DWR/A, DPR/A)">
5
6 <!--==========-->
7 <!-- COMMANDS -->
8 <!--==========-->
9    <!-- DIAMETER BASE PROTOCOL [rfc3588] -->
10    <command name="Capabilities-Exchange-Request" code="257" type="Request">
11       <avprule id="Origin-Host" type="Mandatory"/>
12       <avprule id="Origin-Realm" type="Mandatory"/>
13       <avprule id="Host-IP-Address" type="Mandatory" qual="1*"/>
14       <avprule id="Vendor-Id" type="Mandatory"/>
15       <avprule id="Product-Name" type="Mandatory"/>
16       <avprule id="Origin-State-Id" type="Optional"/>
17       <avprule id="Supported-Vendor-Id" type="Optional" qual="*"/>
18       <avprule id="Auth-Application-Id" type="Optional" qual="*"/>
19       <avprule id="Inband-Security-Id" type="Optional" qual="*"/>
20       <avprule id="Acct-Application-Id" type="Optional" qual="*"/>
21       <avprule id="Vendor-Specific-Application-Id" type="Optional"/>
22       <avprule id="Firmware-Revision" type="Optional"/>
23       <avprule id="AVP" type="Optional" qual="*"/>
24    </command>
25    <command name="Capabilities-Exchange-Answer" code="257" type="Answer">
26       <avprule id="Result-Code" type="Mandatory"/>
27       <avprule id="Origin-Host" type="Mandatory"/>
28       <avprule id="Origin-Realm" type="Mandatory"/>
29       <avprule id="Host-IP-Address" type="Mandatory" qual="1*"/>
30       <avprule id="Vendor-Id" type="Mandatory"/>
31       <avprule id="Product-Name" type="Mandatory"/>
32       <avprule id="Origin-State-Id" type="Optional"/>
33       <avprule id="Error-Message" type="Optional"/>
34       <avprule id="Failed-AVP" type="Optional" qual="*"/>
35       <avprule id="Supported-Vendor-Id" type="Optional" qual="*"/>
36       <avprule id="Auth-Application-Id" type="Optional" qual="*"/>
37       <avprule id="Inband-Security-Id" type="Optional" qual="*"/>
38       <avprule id="Acct-Application-Id" type="Optional" qual="*"/>
39       <avprule id="Vendor-Specific-Application-Id" type="Optional"/>
40       <avprule id="Firmware-Revision" type="Optional"/>
41       <avprule id="AVP" type="Optional" qual="*"/>
42    </command>
43    <command name="Re-Auth-Request" code="258" type="Request">
44       <avprule id="Session-Id" type="Fixed"/>
45       <avprule id="Origin-Host" type="Mandatory"/>
46       <avprule id="Origin-Realm" type="Mandatory"/>
47       <avprule id="Destination-Realm" type="Mandatory"/>
48       <avprule id="Destination-Host" type="Mandatory"/>
49       <avprule id="Auth-Application-Id" type="Mandatory"/>
50       <avprule id="Re-Auth-Request-Type" type="Mandatory"/>
51       <avprule id="User-Name" type="Optional"/>
52       <avprule id="Origin-State-Id" type="Optional"/>
53       <avprule id="Proxy-Info" type="Optional" qual="*"/>
54       <avprule id="Route-Record" type="Optional" qual="*"/>
55       <avprule id="AVP" type="Optional" qual="*"/>
56    </command>
57    <command name="Re-Auth-Answer" code="258" type="Answer">
58       <avprule id="Session-Id" type="Fixed"/>
59       <avprule id="Result-Code" type="Mandatory"/>
60       <avprule id="Origin-Host" type="Mandatory"/>
61       <avprule id="Origin-Realm" type="Mandatory"/>
62       <avprule id="User-Name" type="Optional"/>
63       <avprule id="Origin-State-Id" type="Optional"/>
64       <avprule id="Error-Message" type="Optional"/>
65       <avprule id="Error-Reporting-Host" type="Optional"/>
66       <avprule id="Failed-AVP" type="Optional" qual="*"/>
67       <avprule id="Redirect-Host" type="Optional" qual="*"/>
68       <avprule id="Redirect-Host-Usage" type="Optional"/>
69       <avprule id="Redirect-Max-Cache-Time" type="Optional"/>
70       <avprule id="Proxy-Info" type="Optional" qual="*"/>
71       <avprule id="AVP" type="Optional" qual="*"/>
72    </command>
73    <command name="Accounting-Request" code="271" type="Request">
74       <avprule id="Session-Id" type="Fixed"/>
75       <avprule id="Origin-Host" type="Mandatory"/>
76       <avprule id="Origin-Realm" type="Mandatory"/>
77       <avprule id="Destination-Realm" type="Mandatory"/>
78       <avprule id="Accounting-Record-Type" type="Mandatory"/>
79       <avprule id="Accounting-Record-Number" type="Mandatory"/>
80       <avprule id="Acct-Application-Id" type="Optional"/>
81       <avprule id="Vendor-Specific-Application-Id" type="Optional"/>
82       <avprule id="User-Name" type="Optional"/>
83       <avprule id="Accounting-Sub-Session-Id" type="Optional"/>
84       <avprule id="Accounting-Session-Id" type="Optional"/>
85       <avprule id="Acct-Multi-Session-Id" type="Optional"/>
86       <avprule id="Acct-Interim-Interval" type="Optional"/>
87       <avprule id="Accounting-Realtime-Required" type="Optional"/>
88       <avprule id="Origin-State-Id" type="Optional"/>
89       <avprule id="Event-Timestamp" type="Optional"/>
90       <avprule id="Proxy-Info" type="Optional" qual="*"/>
91       <avprule id="Route-Record" type="Optional" qual="*"/>
92       <avprule id="AVP" type="Optional" qual="*"/>
93    </command>
94    <command name="Accounting-Answer" code="271" type="Answer">
95       <avprule id="Session-Id" type="Fixed"/>
96       <avprule id="Result-Code" type="Mandatory"/>
97       <avprule id="Origin-Host" type="Mandatory"/>
98       <avprule id="Origin-Realm" type="Mandatory"/>
99       <avprule id="Accounting-Record-Type" type="Mandatory"/>
100       <avprule id="Accounting-Record-Number" type="Mandatory"/>
101       <avprule id="Acct-Application-Id" type="Optional"/>
102       <avprule id="Vendor-Specific-Application-Id" type="Optional"/>
103       <avprule id="User-Name" type="Optional"/>
104       <avprule id="Accounting-Sub-Session-Id" type="Optional"/>
105       <avprule id="Accounting-Session-Id" type="Optional"/>
106       <avprule id="Acct-Multi-Session-Id" type="Optional"/>
107       <avprule id="Error-Reporting-Host" type="Optional"/>
108       <avprule id="Acct-Interim-Interval" type="Optional"/>
109       <avprule id="Accounting-Realtime-Required" type="Optional"/>
110       <avprule id="Origin-State-Id" type="Optional"/>
111       <avprule id="Event-Timestamp" type="Optional"/>
112       <avprule id="Proxy-Info" type="Optional" qual="*"/>
113       <avprule id="AVP" type="Optional" qual="*"/>
114    </command>
115    <command name="Abort-Session-Request" code="274" type="Request">
116       <avprule id="Session-Id" type="Fixed"/>
117       <avprule id="Origin-Host" type="Mandatory"/>
118       <avprule id="Origin-Realm" type="Mandatory"/>
119       <avprule id="Destination-Realm" type="Mandatory"/>
120       <avprule id="Destination-Host" type="Mandatory"/>
121       <avprule id="Auth-Application-Id" type="Mandatory"/>
122       <avprule id="User-Name" type="Optional"/>
123       <avprule id="Origin-State-Id" type="Optional"/>
124       <avprule id="Proxy-Info" type="Optional" qual="*"/>
125       <avprule id="Route-Record" type="Optional" qual="*"/>
126       <avprule id="AVP" type="Optional" qual="*"/>
127    </command>
128    <command name="Abort-Session-Answer" code="274" type="Answer">
129       <avprule id="Session-Id" type="Fixed"/>
130       <avprule id="Result-Code" type="Mandatory"/>
131       <avprule id="Origin-Host" type="Mandatory"/>
132       <avprule id="Origin-Realm" type="Mandatory"/>
133       <avprule id="User-Name" type="Optional"/>
134       <avprule id="Origin-State-Id" type="Optional"/>
135       <avprule id="Error-Message" type="Optional"/>
136       <avprule id="Error-Reporting-Host" type="Optional"/>
137       <avprule id="Failed-AVP" type="Optional" qual="*"/>
138       <avprule id="Redirect-Host" type="Optional" qual="*"/>
139       <avprule id="Redirect-Host-Usage" type="Optional"/>
140       <avprule id="Redirect-Max-Cache-Time" type="Optional"/>
141       <avprule id="Proxy-Info" type="Optional" qual="*"/>
142       <avprule id="AVP" type="Optional" qual="*"/>
143    </command>
144    <command name="Session-Termination-Request" code="275" type="Request">
145       <avprule id="Session-Id" type="Fixed"/>
146       <avprule id="Origin-Host" type="Mandatory"/>
147       <avprule id="Origin-Realm" type="Mandatory"/>
148       <avprule id="Destination-Realm" type="Mandatory"/>
149       <avprule id="Auth-Application-Id" type="Mandatory"/>
150       <avprule id="Termination-Cause" type="Mandatory"/>
151       <avprule id="User-Name" type="Optional"/>
152       <avprule id="Destination-Host" type="Optional"/>
153       <avprule id="Class" type="Optional" qual="*"/>
154       <avprule id="Origin-State-Id" type="Optional"/>
155       <avprule id="Proxy-Info" type="Optional" qual="*"/>
156       <avprule id="Route-Record" type="Optional" qual="*"/>
157       <avprule id="AVP" type="Optional" qual="*"/>
158    </command>
159    <command name="Session-Termination-Answer" code="275" type="Answer">
160       <avprule id="Session-Id" type="Fixed"/>
161       <avprule id="Result-Code" type="Mandatory"/>
162       <avprule id="Origin-Host" type="Mandatory"/>
163       <avprule id="Origin-Realm" type="Mandatory"/>
164       <avprule id="User-Name" type="Optional"/>
165       <avprule id="Class" type="Optional" qual="*"/>
166       <avprule id="Error-Message" type="Optional"/>
167       <avprule id="Error-Reporting-Host" type="Optional"/>
168       <avprule id="Failed-AVP" type="Optional" qual="*"/>
169       <avprule id="Origin-State-Id" type="Optional"/>
170       <avprule id="Redirect-Host" type="Optional" qual="*"/>
171       <avprule id="Redirect-Host-Usage" type="Optional"/>
172       <avprule id="Redirect-Max-Cache-Time" type="Optional"/>
173       <avprule id="Proxy-Info" type="Optional" qual="*"/>
174       <avprule id="AVP" type="Optional" qual="*"/>
175    </command>
176    <command name="Device-Watchdog-Request" code="280" type="Request">
177       <avprule id="Origin-Host" type="Mandatory"/>
178       <avprule id="Origin-Realm" type="Mandatory"/>
179       <avprule id="Origin-State-Id" type="Optional"/>
180    </command>
181    <command name="Device-Watchdog-Answer" code="280" type="Answer">
182       <avprule id="Result-Code" type="Mandatory"/>
183       <avprule id="Origin-Host" type="Mandatory"/>
184       <avprule id="Origin-Realm" type="Mandatory"/>
185       <avprule id="Error-Message" type="Optional"/>
186       <avprule id="Failed-AVP" type="Optional" qual="*"/>
187       <avprule id="Origin-State-Id" type="Optional"/>
188    </command>
189    <command name="Disconnect-Peer-Request" code="282" type="Request">
190       <avprule id="Origin-Host" type="Mandatory"/>
191       <avprule id="Origin-Realm" type="Mandatory"/>
192       <avprule id="Disconnect-Cause" type="Mandatory"/>
193    </command>
194    <command name="Disconnect-Peer-Answer" code="282" type="Answer">
195       <avprule id="Result-Code" type="Mandatory"/>
196       <avprule id="Origin-Host" type="Mandatory"/>
197       <avprule id="Origin-Realm" type="Mandatory"/>
198       <avprule id="Error-Message" type="Optional"/>
199       <avprule id="Failed-AVP" type="Optional" qual="*"/>
200    </command>
201
202 </dictionary>