'Delete interfaces with type.'

def delete_interfaces(self, iftype):

    xmlstr = ''
    intfs_list = self.intfs_info.get(iftype.lower())
    if (not intfs_list):
        return
    for intf in intfs_list:
        xmlstr += (CE_NC_XML_DELETE_INTF % intf['ifName'])
        self.updates_cmd.append(('undo    interface    %s' % intf['ifName']))
    conf_str = (('<config>    ' + xmlstr) + '    </config>')
    recv_xml = set_nc_config(self.module, conf_str)
    self.check_response(recv_xml, 'DELETE_INTFS')
    self.changed = True
