security_setup.xml revision 6a23fed27c3c721948cd8b76d661068d00686fbb
70025d765b044c6d8594bb965a2247a61e991a99johnny<?xml version="1.0" encoding="UTF-8" standalone="no"?>
70025d765b044c6d8594bb965a2247a61e991a99johnny<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
70025d765b044c6d8594bb965a2247a61e991a99johnny<!--
70025d765b044c6d8594bb965a2247a61e991a99johnny ! CDDL HEADER START
269473047d747f7815af570197e4ef7322d3632cEvan Yan !
269473047d747f7815af570197e4ef7322d3632cEvan Yan ! The contents of this file are subject to the terms of the
70025d765b044c6d8594bb965a2247a61e991a99johnny ! Common Development and Distribution License, Version 1.0 only
70025d765b044c6d8594bb965a2247a61e991a99johnny ! (the "License"). You may not use this file except in compliance
70025d765b044c6d8594bb965a2247a61e991a99johnny ! with the License.
70025d765b044c6d8594bb965a2247a61e991a99johnny !
70025d765b044c6d8594bb965a2247a61e991a99johnny ! You can obtain a copy of the license at
70025d765b044c6d8594bb965a2247a61e991a99johnny ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
70025d765b044c6d8594bb965a2247a61e991a99johnny ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
70025d765b044c6d8594bb965a2247a61e991a99johnny ! See the License for the specific language governing permissions
70025d765b044c6d8594bb965a2247a61e991a99johnny ! and limitations under the License.
70025d765b044c6d8594bb965a2247a61e991a99johnny !
70025d765b044c6d8594bb965a2247a61e991a99johnny ! When distributing Covered Code, include this CDDL HEADER in each
70025d765b044c6d8594bb965a2247a61e991a99johnny ! file and include the License file at
70025d765b044c6d8594bb965a2247a61e991a99johnny ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
70025d765b044c6d8594bb965a2247a61e991a99johnny ! add the following below this CDDL HEADER, with the fields enclosed
70025d765b044c6d8594bb965a2247a61e991a99johnny ! by brackets "[]" replaced with your own identifying information:
269473047d747f7815af570197e4ef7322d3632cEvan Yan ! Portions Copyright [yyyy] [name of copyright owner]
70025d765b044c6d8594bb965a2247a61e991a99johnny !
70025d765b044c6d8594bb965a2247a61e991a99johnny ! CDDL HEADER END
70025d765b044c6d8594bb965a2247a61e991a99johnny !
70025d765b044c6d8594bb965a2247a61e991a99johnny ! Copyright 2008 Sun Microsystems, Inc.
70025d765b044c6d8594bb965a2247a61e991a99johnny ! -->
70025d765b044c6d8594bb965a2247a61e991a99johnny<stax>
70025d765b044c6d8594bb965a2247a61e991a99johnny
70025d765b044c6d8594bb965a2247a61e991a99johnny <defaultcall function="security_setup"/>
70025d765b044c6d8594bb965a2247a61e991a99johnny
70025d765b044c6d8594bb965a2247a61e991a99johnny <function name="security_setup">
70025d765b044c6d8594bb965a2247a61e991a99johnny
70025d765b044c6d8594bb965a2247a61e991a99johnny <sequence>
70025d765b044c6d8594bb965a2247a61e991a99johnny
269473047d747f7815af570197e4ef7322d3632cEvan Yan <block name="'setup'">
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yan <sequence>
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yan <block name="'Block Create DS Topology'">
269473047d747f7815af570197e4ef7322d3632cEvan Yan <!-- Create the topology necessary to the test group/suite -->
269473047d747f7815af570197e4ef7322d3632cEvan Yan <sequence>
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yan <message>
269473047d747f7815af570197e4ef7322d3632cEvan Yan 'Create DS topology as described in config.py'
269473047d747f7815af570197e4ef7322d3632cEvan Yan </message>
269473047d747f7815af570197e4ef7322d3632cEvan Yan
269473047d747f7815af570197e4ef7322d3632cEvan Yan <call function="'createTopology'">
269473047d747f7815af570197e4ef7322d3632cEvan Yan { 'initialiseInstance' : True }
269473047d747f7815af570197e4ef7322d3632cEvan Yan </call>
70025d765b044c6d8594bb965a2247a61e991a99johnny
70025d765b044c6d8594bb965a2247a61e991a99johnny <call function="'checkRC'">
70025d765b044c6d8594bb965a2247a61e991a99johnny { 'returncode' : RC ,
70025d765b044c6d8594bb965a2247a61e991a99johnny 'result' : STAXResult }
70025d765b044c6d8594bb965a2247a61e991a99johnny </call>
70025d765b044c6d8594bb965a2247a61e991a99johnny
</sequence>
<!--- End Block Create DS Topology -->
</block>
<block name="'Block DS Process Active'">
<!--- Start DS -->
<sequence>
<message>
'Start DS to run on port %s' % (DIRECTORY_INSTANCE_PORT)
</message>
<!--- Start DS -->
<call function="'StartDsWithScript'">
{ 'location' : STAF_REMOTE_HOSTNAME }
</call>
<call function="'checkRC'">
{ 'returncode' : RC ,
'result' : STAXResult }
</call>
<!--- Check that DS started -->
<call function="'isAlive'">
{ 'noOfLoops' : 5 ,
'noOfMilliSeconds' : 2000 }
</call>
</sequence>
<!--- End Block DS Process Active -->
</block>
</sequence>
</block>
</sequence>
</function>
</stax>