504N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
671N/A ! The contents of this file are subject to the terms of the 671N/A ! Common Development and Distribution License, Version 1.0 only 671N/A ! (the "License"). You may not use this file except in compliance 671N/A ! See the License for the specific language governing permissions 671N/A ! and limitations under the License. 671N/A ! When distributing Covered Code, include this CDDL HEADER in each 6982N/A ! If applicable, add the following below this CDDL HEADER, with the 6982N/A ! fields enclosed by brackets "[]" replaced with your own identifying 671N/A ! Portions Copyright [yyyy] [name of copyright owner] 3232N/A ! Copyright 2006-2008 Sun Microsystems, Inc. 504N/A <
defaultcall function="schema_setup"/>
504N/A <
function name="schema_setup">
3973N/A <
call function="'runFunction'">
3973N/A { 'functionName' : 'createTopology' ,
3973N/A 'functionMessage' : 'Create DS topology' ,
3973N/A 'functionArguments' : { 'initialiseInstance' : True }
3973N/A <!-- Start the OpenDS Server --> 3973N/A <
call function="'runFunction'">
3973N/A { 'functionName' : 'StartDsWithScript' ,
3973N/A 'functionMessage' : 'Start the Directory Server.' ,
3973N/A 'functionArguments' : { 'location' : STAF_REMOTE_HOSTNAME }
3973N/A <!--- Check that DS started --> 3973N/A <
call function="'runFunction'">
3973N/A { 'functionName' : 'isAlive' ,
3973N/A 'functionMessage' : 'Start the Directory Server.' ,
4153N/A 'functionArguments' : { 'noOfLoops' : 10 ,
3973N/A 'noOfMilliSeconds' : 2000 }
3973N/A <!-- Load the data needed by the test suite --> 3973N/A <
call function="'runFunction'">
3973N/A { 'functionName' : 'addEntry' ,
3973N/A 'functionMessage' : 'Start the Directory Server.' ,
3973N/A 'entryToBeAdded' : schemastartldif }
3973N/A <
message log="1" level="'fatal'">
3973N/A '%s: Create topology failed. eInfo(%s)' % (eType,eInfo)
3973N/A <
message log="1" level="'fatal'">
3973N/A '%s: Failed to start Directory Server. eInfo(%s)' % (eType,eInfo)
3973N/A <
message log="1" level="'fatal'">
3973N/A '%s: LDAPAdd failed. eInfo(%s)' % (eType,eInfo)