'Get interface cleared state information'

def get_intf_cleared_stat(self, clr_stat, intf_name):

    if (not intf_name):
        return
    if_type = get_interface_type(intf_name)
    if ((if_type == 'fcoe-port') or (if_type == 'nve') or (if_type == 'tunnel') or (if_type == 'vbdif') or (if_type == 'vlanif')):
        return
    if clr_stat:
        for eles in clr_stat:
            if (eles.tag in ['inByteRate', 'inPacketRate', 'outByteRate', 'outPacketRate']):
                if (eles.tag == 'inByteRate'):
                    self.result[intf_name]['Inbound    rate(byte/sec)'] = eles.text
                elif (eles.tag == 'inPacketRate'):
                    self.result[intf_name]['Inbound    rate(pkts/sec)'] = eles.text
                elif (eles.tag == 'outByteRate'):
                    self.result[intf_name]['Outbound    rate(byte/sec)'] = eles.text
                elif (eles.tag == 'outPacketRate'):
                    self.result[intf_name]['Outbound    rate(pkts/sec)'] = eles.text
