#!/bin/sh
#
# set -x
#
# Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
#
# This software is the proprietary information of Sun Microsystems, Inc.
# Use is subject to license terms.
#
# mcdagent - wrapper script to launch the NSM Out-of-Band QLogic Switch Agent.
##############################################################################

scriptDir=`dirname $0`

# bring in common variables
. $scriptDir/_agentConfig

# Full pathname of directory containing the provider shared library.
providerLibDir="/opt/SUNWnsm/lib"

# Base name of the provider shared library.
providerLib="libmcdoobagent.so"

# Human-friendly name of the agent.
agentName="NSM Out-of-Band McData Switch Agent"

# CIM classname of the provider's CIM_Service subclass.
providerClass="Sun_NSM_MCD_OOBFAB_Agent"

# Generic type of provider, for events
providerType="Switch"

$scriptDir/agent -l "$providerLibDir/$providerLib" -n "$agentName" -c "$providerClass" -t "$providerType" -s "$slpScope" -e "$etType"
