HPE OneView Logical Switch Group to Logical Switch membership discovery rule
HewlettPackard.OneView.Switch.LogicalSwitchGroupContainsLogicalSwitch (Discovery)
Knowledge Base article: Element properties: Member Modules:
Source Code: <Discovery ID="HewlettPackard.OneView.Switch.LogicalSwitchGroupContainsLogicalSwitch" Target="HewlettPackard.OneView.Switch.HPLogicalSwitchGroup" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes/>
<DataSource ID="DS" TypeID="SC!Microsoft.SystemCenter.GroupPopulator" RunAs="HOL!HewlettPackard.OneView.RunAsProfile">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="HewlettPackard.OneView.Switch.HPLogicalSwitch"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="HewlettPackard.OneView.Switch.HPLogicalSwitchGroupContainsLogicalSwitch"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>