Related api and classes – Brocade Network Advisor SMI Agent Developers Guide v12.3.0 User Manual

Page 58

Advertising
background image

42

Brocade Network Advisor SMI Agent Developer’s Guide

53-1003159-01

Fabric profile

3

Related API and classes

Table 5

represents the group of switch ports forming a trunk.

Table 6

explains the properties of Brocade_TrunkInSwitch: CIM_HostedCollection class.

Table 7

explains the properties of Brocade_SwitchFCPortInTrunk: CIM_MemberOfCollection class.

TABLE 5

Brocade_Trunk: CIM_RedundancySet

Property name

Type

Description

InstanceID [Key]

string

InstanceID opaquely and uniquely identifies an instance of this
class.
The format of this key is as follows.
SOURCESWITCHWWN=<value>;
SOURCESWITCHTYPE=<value>:
DESTINATIONWWN=<value>;
SOURCESWITCHPORTWWN=<value>;
DESTPORTWWN=<value>;
CLASSNAME=Brocade_Trunk;
DESTINATIONTYPE=<value>;
SOURCE_WWN is the master switch WWN of one end.
SOURCE_PORT_WWN is the master port WWN of the trunk
members in a trunk group.
DEST_WWN is the WWN of the other end, which is a switch in case
of an ISL trunk and AG in case of an trunk.
DEST_PORT_WWN is the port WWN of the other end.
SOURCE_TYPE is the type of the source (Switch=0, Device=1)
DEST_TYPE is the type of the other end (Switch=0, Device=1)

TypeOfSet[]

uint16

TypeOfSet provides information on the type of redundancy.

ElementName

string

A user-friendly name for the object.

RedundancyStatus

uint16

RedundancyStatus provides information on the state of the
RedundancySet.

LoadBalanceAlgorithm

uint16

The current load balance algorithm.

OtherTypeOfSet[]

string

When the corresponding array entry in TypeOfSet[] is “Other”, this
entry provides a string describing the type of set.

OtherLoadBalanceAlgorithm

String

When LoadBalanceAlgorithm is “Other”, this property describes
the algorithm.

TABLE 6

Brocade_TrunkInSwitch: CIM_HostedCollection

Property name

Type

Description

Antecedent

Brocade_Switch REF

Represents the switch objects that
has the trunk.

Dependent

Brocade_Trunk REF

Represents the trunk object.

TABLE 7

Brocade_SwitchFCPortInTrunk: CIM_MemberOfCollection

Property name

Type

Description

Collection

Brocade_Trunk REF

Represents the trunk object.

Member

Brocade_SwitchFCPort REF

Represents the member of the
trunk.

Advertising