//
// Copyright (c) 2010 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:
//
#
# OOM test for DHCPv6. Here we use CommsDB with ipv6 settings
#
# ORDER IS IMPORTANT! SetIAPToUse and SetAddressMode lines affect the operation of the subsequent commands
# Unload esock forcefully
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
# Configure commdb
# This config file has explicit settings for IPv6
//ced -i z:\TestData\configs\DHCP\DHCPced_ip6.xml
RUN_UTILS MkDir c:\private
RUN_UTILS MkDir c:\private\10202be9
RUN_UTILS MkDir c:\private\10202be9\persists
RUN_UTILS MakeReadWrite c:\private\10202be9\persists\cccccc00.cre
RUN_UTILS CopyFile z:\testdata\configs\dhcp\cccccc00_dhcptest_ip6.cre c:\private\10202be9\persists\cccccc00.cre
load_suite DhcpTestServer
# Load esock
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script
START_TESTCASE NET-Dhcp-1801
//! @SYMTestCaseID NET-Dhcp-1801
run_test_step 5 DhcpTestServer SetAddressMode z:\TestData\configs\DHCP\dhcptest.ini IPv6
run_test_step 5 DhcpTestServer SetIAPToUse z:\TestData\configs\DHCP\dhcptest.ini EtherWithDaemonNet1
run_test_step 1200 DhcpTestServer OOM_1 z:\TestData\configs\DHCP\dhcptest.ini
END_TESTCASE NET-Dhcp-1801
# Stop all interfaces
RUN_SCRIPT Z:\TestData\Scripts\te_esock_test_stopallinterfaces.script
# Unload esock
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script