#NEWLINE# def _parse_mac_address( self ) : #NEWLINE# #INDENT# mac_address_re = re . compile ( '^ip\\svirtual-router\\smac-address\\s((?:[a-f0-9]{2}:){5}[a-f0-9]{2})$' , re . M ) #NEWLINE# mac = mac_address_re . search ( self . config ) #NEWLINE# mac = ( mac . group ( 1 ) if mac else None ) #NEWLINE# return dict ( mac_address = mac )