Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / resources / rest_api / helpers / diameterJsonHelper / examples / services.xml
diff --git a/example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper/examples/services.xml b/example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper/examples/services.xml
new file mode 100644 (file)
index 0000000..daca002
--- /dev/null
@@ -0,0 +1,31 @@
+<services>
+  <!--
+  Stacks
+
+  * Monostack: you could select any id value, normally 0.
+  * Multistack: use the application id for the id value.
+                This eases codec engine selection for
+                processed messages.
+  -->
+  <stack id="0" dictionary="dictionary.xml" fixMode="Always" ignoreFlagsOnValidation="yes"/>
+
+  <!--
+  Nodes
+
+  * Client example:
+
+  <node originHost="<origin host>" applicationId="<application id>"
+        entity="<addr1:port1[,addr2:port2]...[,addrN:portN]>"
+        cer="<cer xml file>" answersTimeout="300000" dumpLog="yes"/>
+
+  * Server example:
+
+  <node originHost="<origin host>" applicationId="<application id>"
+        diameterServer="<addr:port>" diameterServerSessions="10"
+        cea="<cea xml file>" answersTimeout="300000" dumpLog="yes"/>
+  -->
+  <node originHost="afHost.afRealm.com" applicationId="0" entity="localhost:3868"/>
+  <node originHost="ownHostId.operatorRealm.com" applicationId="0"
+        diameterServer="localhost:3868" diameterServerSessions="1"/>
+
+</services>