Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / PhantomNet / OEPC-Protected / sep-hss / hss2.xml

hss2.xml

config file for standalone HSS

Extensible Markup Language (XML) icon hss2.xml — Extensible Markup Language (XML), 4 KB (4316 bytes)

File contents

<?xml version="1.0" encoding="UTF-8"?>
<!-- 
	$Id$
 
 	Copyright (C) 2009 FhG Fokus
 	
  This file is part of the Wharf project.

 \file
  
  Wharf example configuration file 
  
 -->
<Wharf>
	<Core>		
		<Debug log="3" memory="6" memory_status="1"/> 
			<!--  
				The debug level should be set between -3 and 5, with 5 being the most verbose.
				Only the logs with a level <= with the one below will be printed.
				L_ALERT -3
				L_CRIT  -2
				L_ERR   -1
				L_WARN   1
				L_NOTICE 2
				L_INFO   3
				L_DB     4
				L_DBG    5
				L_MEM    6
				
				The memory is the setting for allt the memory operations.
				
				The memory_status controls what is printed on process exit and is either 0, 1 or 2:
				 - 0 - don't show any memory status
				 - 1 - show the summarized memory status
				 - 2 - show the fragment maps and the summarized memory status
			 -->		
		<SharedMemory kbytes="4096" />
		<ProcessMemory kbytes="1024" />	
		<WorkerPool count="8" queue_size="24" /> 
	</Core>

	<Module binaryFile="modules/console/console.so">
		<![CDATA[
		<WharfConsole>			
			<Prompt text=" CHeSS >"/>					
			<Acceptor type="tcp" port="10003" bind="127.0.0.1" />
			<Acceptor type="tcp" port="10000" bind="192.168.1.60" />
			<Acceptor type="tcp" port="10000" bind="192.168.254.60" />
		</WharfConsole>
		]]>	
	</Module>

	<Module binaryFile="modules/cdp/cdp.so">
		<![CDATA[
			<DiameterPeer 
				FQDN="hss.epc.mnc001.mcc001.3gppnetwork.org"
				Realm="epc.mnc001.mcc001.3gppnetwork.org"
				Vendor_Id="10415"
				Product_Name="CDiameterPeer"
				AcceptUnknownPeers="1"
				DropUnknownOnDisconnect="1"
				Tc="30"
				Workers="4"
				QueueLength="32"
				TransactionTimeout="5"
				SessionsHashSize="128"
			>
				<Peer FQDN="icscf-cx.epc.mnc001.mcc001.3gppnetwork.org" Realm="epc.mnc001.mcc001.3gppnetwork.org" port="3869"/>
				<Peer FQDN="scscf-cxrf.epc.mnc001.mcc001.3gppnetwork.org" Realm="epc.mnc001.mcc001.3gppnetwork.org" port="3870"/>
				<Peer FQDN="andsf-sp.epc.mnc001.mcc001.3gppnetwork.org" Realm="epc.mnc001.mcc001.3gppnetwork.org" port="3868"/>
				<Peer FQDN="pcrf.epc.mnc001.mcc001.3gppnetwork.org" Realm="epc.mnc001.mcc001.3gppnetwork.org" port="3868"/>
				<Peer FQDN="mme.epc.mnc001.mcc001.3gppnetwork.org" Realm="epc.mnc001.mcc001.3gppnetwork.org" port="3868"/>
				<Peer FQDN="aaa.epc.mnc001.mcc001.3gppnetwork.org" Realm="epc.mnc001.mcc001.3gppnetwork.org" port="3868"/>
				<Peer FQDN="sgsn.epc.mnc001.mcc001.3gppnetwork.org" Realm="epc.mnc001.mcc001.3gppnetwork.org" port="3868"/>
				<Peer FQDN="msc-s6m.epc.mnc001.mcc001.3gppnetwork.org" Realm="epc.mnc001.mcc001.3gppnetwork.org" port="3868"/>
			
				<Acceptor port="3868" bind="192.168.254.60"/>
				
				<Auth id="16777216" vendor="10415"/><!-- 3GPP Cx -->
				<Auth id="16777216" vendor="4491"/><!-- CableLabs Cx -->
				<Auth id="16777216" vendor="13019"/><!-- ETSI/TISPAN Cx -->		
				
				<Auth id="16777217" vendor="10415"/><!-- 3GPP Sh -->

				<Auth id="16777280" vendor="10415"/><!-- 3GPP Sp - not assigned yet -->
				<Auth id="16777251" vendor="10415"/><!-- 3GPP S6a/S6d -->
				<Auth id="16777265" vendor="10415"/><!-- 3GPP SWx -->
				<DefaultRoute FQDN="sgsn.epc.mnc001.mcc001.3gppnetwork.org" metric="10"/>
			</DiameterPeer>
		]]>		
	</Module>
	
	<Module binaryFile="modules/cdp_avp/cdp_avp.so"/>
	
	<Module binaryFile="modules/mysql/mysql.so"/>
	
	<Module binaryFile="modules/CHeSS/CHeSS.so">
		<![CDATA[
			<CHeSS>

				<Database
					hostname="localhost"
					database="hss_db_chess"
					username="hss"
					password="heslo" />	
				
				<Cx	enabled="1"
					eventsLookupInterval="10"
					eventsMaxActionsAtOnce="10" />
				
				<Sh	enabled="1"
					eventsLookupInterval="10"
					eventsMaxActionsAtOnce="10" />
				
				<Sp	enabled="1"
					eventsLookupInterval="10"
					eventsMaxActionsAtOnce="10" />

				<S6ad	enabled="1"
					eventsLookupInterval="10"
					eventsMaxActionsAtOnce="10" />				
				<SWx enabled="1"
					eventsLookupInterval="10"
					eventsMaxActionsAtOnce="10" />
		</CHeSS>
		]]>
	</Module>

	<Module binaryFile="modules/CHeSS_Cx/CHeSS_Cx.so"/>
	<Module binaryFile="modules/CHeSS_Sh/CHeSS_Sh.so"/>
	<Module binaryFile="modules/CHeSS_Sp/CHeSS_Sp.so"/> 
	<Module binaryFile="modules/CHeSS_S6ad/CHeSS_S6ad.so"/>
	<Module binaryFile="modules/CHeSS_SWx/CHeSS_SWx.so"/>

<!-- ... -->
 
</Wharf>