Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / PhantomNet / OEPC-Protected / dual-sgw / pgw-ipv4.xml

pgw-ipv4.xml

ipv4-based xml for pgw

Extensible Markup Language (XML) icon pgw-ipv4.xml — Extensible Markup Language (XML), 7 KB (7390 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 configuration file for a PDN-Gw 
  
 -->
<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 all 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
			 -->

		<!--
		<Log level="5" memory="-1" filepath="/opt/OpenEPC/log" />
		-->

		<SharedMemory kbytes="16384" />
		<ProcessMemory kbytes="8192" />
		<WorkerPool count="4" queue_size="24" /> 
	</Core>

	<Module binaryFile="modules/console/console.so">
		<![CDATA[
			<WharfConsole>
				<Prompt text="PDNGw LMA/PCEF Console>"/>
				<Acceptor type="tcp" port="10000" bind="127.0.0.1" />
				<Acceptor type="tcp" port="10000" bind="192.168.1.10" />
				<Acceptor type="tcp" port="10000" bind="192.168.2.10" />
				<Acceptor type="tcp" port="10000" bind="192.168.254.10" />
			</WharfConsole>
		]]>
	</Module>

	<Module binaryFile="modules/lma/lma.so">
		<![CDATA[
		<!-- 
		 LMA Parameters
		  - ipv4 - IPv4 address to identify this LMA to the MAGs
		  - ipv6 - IPv6 address to identify this LMA to the MAGs
		  - hash_size - hash size for the binding cache hash table. default is 32 (optional)
		  - seamless - use seamless handovers or not (1-yes, 0-no). default is 1 (optional)
		 -->
		<WharfLMA 
			ipv4="192.168.2.10"
			ipv6=""
			hash_size="32"
			seamless="1">
		</WharfLMA>

		]]>
	</Module>

	<Module binaryFile="modules/gw_bindings/gw_bindings.so">
		<![CDATA[
		<GW_BINDINGS>
       			 <!--
	                Database where the Binding List is located
        	        This is where the running state will be stored and retrieved from.
         		-->
		        <Database 
        	        hostname="127.0.0.1"
               		database="gw_bindings_db"
	                username="gw_bindings"
        	        password="gw_bindings"/>
		</GW_BINDINGS>
		]]>
	</Module>
	
	<Module binaryFile="modules/mysql/mysql.so"/>
	
	<Module binaryFile="modules/pdn_ops/pdn_ops.so">
		<![CDATA[
		<WharfPDN_Operations>
		    <Database 
			hostname="127.0.0.1"
			username="pdn_ops"
			password="pdn_ops"
			database="pdn_ops_db"/>
		</WharfPDN_Operations>
		]]>
	</Module>
	
	<Module binaryFile="modules/mobileip/mobileip.so">
		<![CDATA[
			<MobileIPPeer>
				<Communicator type="raw_ipv4" default_local_addr="192.168.2.10" />
			</MobileIPPeer>
		]]>
	</Module>

	<Module binaryFile="modules/gtp/gtp.so">
		<![CDATA[
			<GTP>
			  <Acceptor id="S5S8-GTP-C" type="udp" port="2123" bind="192.168.2.10" />
			</GTP>
		]]>
	</Module>
	<Module binaryFile="modules/gtp_s5s8/gtp_s5s8.so" >
		<![CDATA[
			<GTP_S5S8>
				<FTEID-C ipv4="192.168.2.10" ipv6="" />
				<FTEID-U ipv4="192.168.2.10" ipv6="" />
			</GTP_S5S8>			
		]]>
	</Module>
	<!--
	<Module binaryFile="modules/routing_qos/routing_qos.so"/>
	-->

	<Module binaryFile="modules/routing/routing.so">
		<![CDATA[
		<WharfROUTING>
			<Extension
				id="1"
				
				mod_name="routing_encap"
				src_table="teid"
				dst_table="ip"
				ipv4="192.168.2.10"
				ipv6=""
				protocol="gre" />
			<Extension
				id="2"
				mod_name="routing_raw"
				dst_table="ip"
				interface="net_a"
				ipv4="192.168.1.10"
	                        ipv6=""
				/>
			<Extension
				id="3"
				mod_name="routing_gtpu"
				src_table="teid"
				dst_table="ip"
				ipv4="192.168.2.10"
				ipv6=""/>
		</WharfROUTING>
		]]>
	</Module>
	<Module binaryFile="modules/routing_encap/routing_encap.so" />
	<Module binaryFile="modules/routing_gtpu/routing_gtpu.so" />
	<Module binaryFile="modules/routing_raw/routing_raw.so" />

	<Module binaryFile="modules/routing_pcc_sdf/routing_pcc_sdf.so">
                <![CDATA[
		<Routing_PCC_SDF> 
			<!-- 
				octet threshold- maximum stored nb of octets for a rule before sending a charging request
				packet threshold- maximum stored nb of packets for a rule before sending a charging request
				time threshold- maximum nb of seconds before sending a charging request
			-->
			<Charging 
				octet_threshold="2097152" 
				packet_threshold="4096"
				time_threshold="120"/>

		</Routing_PCC_SDF>
		]]>
	</Module>
        <Module binaryFile="modules/cdp/cdp.so">
                <![CDATA[
                        <DiameterPeer
                                FQDN="pcef.epc.mnc001.mcc001.3gppnetwork.org"
                                Realm="epc.mnc001.mcc001.3gppnetwork.org"
                                Vendor_Id="10415"
                                Product_Name="CDiameterPeer"
                                AcceptUnknownPeers="1"
                                DropUnknownOnDisconnect="1"
                                Tc="30"
                                Workers="1"
                                QueueLength="32"
                                TransactionTimeout="5"
                                SessionsHashSize="128"
                        >
                                <Acceptor port="3868" bind="192.168.254.10"/>

                                <Auth id="16777238" vendor="10415"/> <!-- 3GPP Gx -->
                                <Auth id="16777238" />
				<Acct id="3" /><!-- 3GPP Rf -->
				<Auth id="16777272" vendor="10415"/><!-- 3GPP S6b -->

                                <Peer FQDN="pcrf.epc.mnc001.mcc001.3gppnetwork.org" realm="epc.mnc001.mcc001.3gppnetwork.org" port="3868" />
                                <Peer FQDN="cdf.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" />

                                <Realm name="epc.mnc001.mcc001.3gppnetwork.org">
                                        <Route FQDN="pcrf.epc.mnc001.mcc001.3gppnetwork.org" metric="10"/>
					<Route FQDN="aaa.epc.mnc001.mcc001.3gppnetwork.org" metric="10"/>
                                </Realm>
                                <DefaultRoute FQDN="pcrf.epc.mnc001.mcc001.3gppnetwork.org" metric="10"/>
				<DefaultRoute FQDN="aaa.epc.mnc001.mcc001.3gppnetwork.org" metric="10"/>
				
                        </DiameterPeer>
                ]]>
        </Module>
        <Module binaryFile="modules/cdp_avp/cdp_avp.so" />

	<Module binaryFile="modules/Client_S6b/Client_S6b.so"/>
	<Module binaryFile="modules/Client_Rf/Client_Rf.so">
        	<![CDATA[
			<Client_Rf>
				<Hash
					hash_size="128"
				/>
				<Rf 
					node_func="9"
					origin_host="pcef.epc.mnc001.mcc001.3gppnetwork.org"
					origin_realm="epc.mnc001.mcc001.3gppnetwork.org"
					destination_host="cdf.epc.mnc001.mcc001.3gppnetwork.org"
					destination_realm="epc.mnc001.mcc001.3gppnetwork.org"
					service_context_id="11.32251@3gpp.org"
				/>
			</Client_Rf>
        	]]>
	</Module>

	<Module binaryFile="modules/pcef/pcef.so" />

<!--	<Module binaryFile="modules/bberf/bberf.so"/> -->

</Wharf>