<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
! The contents of this file are subject to the terms of the ! Common Development and Distribution License, Version 1.0 only ! (the "License"). You may not use this file except in compliance ! You can obtain a copy of the license at ! See the License for the specific language governing permissions ! and limitations under the License. ! When distributing Covered Code, include this CDDL HEADER in each ! file and include the License file at ! add the following below this CDDL HEADER, with the fields enclosed ! by brackets "[]" replaced with your own identifying information: ! Portions Copyright [yyyy] [name of copyright owner] ! Copyright 2008 Sun Microsystems, Inc. <
defaultcall function="security_cleanup"/>
<
function name="security_cleanup">
<
block name="'Block DS Process Stop'">
'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)
<
call function="'StopDsWithScript'">
{ 'location' : STAF_REMOTE_HOSTNAME,
'dsHost' : DIRECTORY_INSTANCE_HOST,
'dsAdminPort' : DIRECTORY_INSTANCE_ADMIN_PORT,
'dsBindDN' : DIRECTORY_INSTANCE_DN,
'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
<
call function="'checkRC'">
<!--- End Block DS Process Stop --> <
block name="'Block Remove DS Topology'">
<!-- Remove the topology created for the test suite --> 'Remove DS topology created for the Test Suite'
<
call function="'removeTopology'"/>
<
call function="'checkRC'">
<!-- End Block Remove DS Topology-->