networkcontrol/qosfwconfig/QoSTesting/TS_QoS/data/qospolicieslegacy.ini
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 16:36:59 +0300
changeset 14 b33c3d136b7e
parent 0 af10295192d8
permissions -rw-r--r--
Revision: 201015 Kit: 201015

#
# Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description: 
#

# Path: c:\qospolicieslegacy.ini
extension_spec apn1 = {
  INTEGER type = 5
  INTEGER extension_type = 5
  INTEGER TrafficClassRequested = 1	
  INTEGER TransferDelayRequested = 500	
  INTEGER GuaBitrateDownlinkRequested = 2048	
  INTEGER GuaBitrateUplinkRequested = 1024	
  INTEGER HeaderCompressionRequested = 1	
}

# Default APN should always be specified!
extension_spec default = {	
  INTEGER type = 5	
  INTEGER extension_type = 5	
  INTEGER TrafficClassRequested = 4	
  INTEGER MaxBitrateUplinkRequested = 2048	
  INTEGER MaxBitrateDownlinkRequested = 2048	
  INTEGER GuaBitrateUplinkRequested = 1024	
  INTEGER GuaBitrateDownlinkRequested = 1024	
  INTEGER HeaderCompressionRequested = 1	
}

extension_spec rest = {	
  INTEGER type = 5	
  INTEGER extension_type = 5	
  INTEGER TrafficClassRequested = 3	
  INTEGER MaxBitrateUplinkRequested = 2048	
  INTEGER MaxBitrateDownlinkRequested = 2048	
  INTEGER GuaBitrateUplinkRequested = 1024	
  INTEGER GuaBitrateDownlinkRequested = 1024	
  INTEGER HeaderCompressionRequested  1	
}


# FlowSpecs

flowspec spec1 = {
  INTEGER uplink_bandwidth = 1024
  INTEGER uplink_maximum_burst_size = 896
  INTEGER uplink_maximum_packet_size = 768
  INTEGER uplink_average_packet_size = 0
  INTEGER uplink_delay = 0  
  INTEGER uplink_priority = 3
  INTEGER downlink_bandwidth = 1025
  INTEGER downlink_maximum_burst_size = 897
  INTEGER downlink_maximum_packet_size = 769
  INTEGER downlink_average_packet_size = 1
  INTEGER downlink_delay = 1
  INTEGER downlink_priority = 4
  STRING name = myFlow
}

# Selectors
extension_policy protocol 6 priority 1 = { apn1 }
extension_policy dst_port 80 priority 1 = { apn1 }
extension_policy dst_port 21 priority 1 = { rest }
extension_policy dst_port 20 priority 1 = { rest }
extension_policy src_port 0 src_port_max 65535 priority 1 = { default }

## next selector is faulty by default. This is used to check that selector
## after this are read correctly
flowspec_policy protokolla 17 priority 1 = { spec1 }

## correct selectors
flowspec_policy protocol 17 priority 1 = { spec1 }
flowspec_policy protocol 6 priority 1 = { spec1 }