]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_mpls_null.c
MPLS: Display enhancements and JSON support
[mirror_frr.git] / zebra / zebra_mpls_null.c
1 #include <zebra.h>
2 #include "nexthop.h"
3 #include "zebra/rib.h"
4 #include "zebra/zserv.h"
5 #include "zebra/zebra_mpls.h"
6
7 int
8 zebra_mpls_lsp_label_consistent (struct zebra_vrf *zvrf, mpls_label_t in_label,
9 mpls_label_t out_label, enum nexthop_types_t gtype,
10 union g_addr *gate, char *ifname, ifindex_t ifindex)
11 {
12 return 1;
13 }
14
15 int
16 zebra_mpls_static_lsp_add (struct zebra_vrf *zvrf, mpls_label_t in_label,
17 mpls_label_t out_label, enum nexthop_types_t gtype,
18 union g_addr *gate, char *ifname, ifindex_t ifindex)
19 {
20 return 0;
21 }
22
23 int
24 zebra_mpls_static_lsp_del (struct zebra_vrf *zvrf, mpls_label_t in_label,
25 enum nexthop_types_t gtype, union g_addr *gate,
26 char *ifname, ifindex_t ifindex)
27 {
28 return 0;
29 }
30
31 void
32 zebra_mpls_lsp_schedule (struct zebra_vrf *zvrf)
33 {
34 }
35
36 void
37 zebra_mpls_print_lsp (struct vty *vty, struct zebra_vrf *zvrf, mpls_label_t label,
38 u_char use_json)
39 {
40 }
41
42 void
43 zebra_mpls_print_lsp_table (struct vty *vty, struct zebra_vrf *zvrf,
44 u_char use_json)
45 {
46 }
47
48 int
49 zebra_mpls_write_lsp_config (struct vty *vty, struct zebra_vrf *zvrf)
50 {
51 return 0;
52 }
53
54 void
55 zebra_mpls_close_tables (struct zebra_vrf *zvrf)
56 {
57 }
58
59 void
60 zebra_mpls_init_tables (struct zebra_vrf *zvrf)
61 {
62 }
63
64 void
65 zebra_mpls_init (void)
66 {
67 }