'Delete interface.'

def delete_interface(self, ifname):

    xmlstr = (CE_NC_XML_DELETE_INTF % ifname)
    conf_str = (('<config>    ' + xmlstr) + '    </config>')
    self.updates_cmd.append(('undo    interface    %s' % ifname))
    recv_xml = set_nc_config(self.module, conf_str)
    self.check_response(recv_xml, 'DELETE_INTF')
    self.changed = True
