'delete_bgp_network_route'

def delete_bgp_network_route(self, **kwargs):

    module = kwargs['module']
    vrf_name = module.params['vrf_name']
    af_type = module.params['af_type']
    network_address = module.params['network_address']
    mask_len = module.params['mask_len']
    conf_str = (CE_DELETE_BGP_NETWORK_ROUTE % (vrf_name, af_type, network_address, mask_len))
    recv_xml = self.netconf_set_config(module=module, conf_str=conf_str)
    if ('<ok/>' not in recv_xml):
        module.fail_json(msg='Error:    Delete    bgp    network    route    failed.')
    cmds = []
    cmd = ('undo    network    %s    %s' % (network_address, mask_len))
    cmds.append(cmd)
    return cmds
