In both of the above cases, the Port VirtualBridges MAC relationship is created in Smarts IP.
# VirtualMACPattern
# VirtualMAC patterns that is used in makeBridgedMAC call to populate the Port->VirtualBridges relationship.
# These includeHSRP,VRRP virtual MAC and VMWare registered MAC pattern#
# Default Value = 00-00-0C-07-AC-*"00-00-5E-00-01-*"00-05-69-*"00-0C-29-*"00-0C-14-*"00-50-56-*
#
The dot1Bridge MIB (dot1dTpFdbAddress) is used to get this information.