HP Brocade 8/12c Brocade Network Advisor SMI Agent Developer's Guide - Page 54

Related API and classes, TABLE 5

Page 54 highlights

3 Fabric profile Related API and classes Table 5 represents the group of switch ports forming a trunk. TABLE 5 Brocade_Trunk: CIM_RedundancySet Property name Type Description InstanceID [Key] string TypeOfSet[] ElementName RedundancyStatus uint16 string uint16 LoadBalanceAlgorithm OtherTypeOfSet[] uint16 string OtherLoadBalanceAlgorithm String InstanceID opaquely and uniquely identifies an instance of this class. The format of this key is as follows. SOURCESWITCHWWN=; SOURCESWITCHTYPE=: DESTINATIONWWN=; SOURCESWITCHPORTWWN=; DESTPORTWWN=; CLASSNAME=Brocade_Trunk; DESTINATIONTYPE=; 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 provides information on the type of redundancy. A user-friendly name for the object. RedundancyStatus provides information on the state of the RedundancySet. The current load balance algorithm. When the corresponding array entry in TypeOfSet[] is "Other", this entry provides a string describing the type of set. When LoadBalanceAlgorithm is "Other", this property describes the algorithm. Table 6 explains the properties of Brocade_TrunkInSwitch: CIM_HostedCollection class. TABLE 6 Brocade_TrunkInSwitch: CIM_HostedCollection Property name Type Description Antecedent Dependent Brocade_Switch REF Brocade_Trunk REF Represents the switch objects that has the trunk. Represents the trunk object. Table 7 explains the properties of Brocade_SwitchFCPortInTrunk: CIM_MemberOfCollection class. TABLE 7 Brocade_SwitchFCPortInTrunk: CIM_MemberOfCollection Property name Type Description Collection Member Brocade_Trunk REF Brocade_SwitchFCPort REF Represents the trunk object. Represents the member of the trunk. 42 Brocade Network Advisor SMI Agent Developer's Guide 53-1002169-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

42
Brocade Network Advisor SMI Agent Developer’s Guide
53-1002169-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.