]>
git.proxmox.com Git - mirror_frr.git/blob - tests/lib/test_plist.c
2 * Simple prefix list querying tool
4 * Copyright (C) 2021 by David Lamparter,
5 * for Open Source Routing / NetDEF, Inc.
7 * Quagga is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2, or (at your option) any
12 * Quagga is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; see the file COPYING; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 #include "lib/plist.h"
25 #include "lib/filter.h"
26 #include "tests/lib/cli/common_cli.h"
28 static const struct frr_yang_module_info
*const my_yang_modules
[] = {
33 __attribute__((_CONSTRUCTOR(2000)))
34 static void test_yang_modules_set(void)
36 test_yang_modules
= my_yang_modules
;
39 void test_init(int argc
, char **argv
)
44 /* nothing else to do here, giving stand-alone access to the prefix
45 * list code's "debug prefix-list ..." command is the only purpose of