]> git.proxmox.com Git - mirror_frr.git/blame - ldpd/ldp_vty.h
*: make consistent & update GPLv2 file headers
[mirror_frr.git] / ldpd / ldp_vty.h
CommitLineData
eac6e3f0
RW
1/*
2 * Copyright (C) 2016 by Open Source Routing.
3 *
4 * This file is part of GNU Zebra.
5 *
6 * GNU Zebra is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
10 *
11 * GNU Zebra is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
896014f4
DL
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
eac6e3f0
RW
19 */
20
21#ifndef _LDP_VTY_H_
22#define _LDP_VTY_H_
23
24#include "vty.h"
25
26extern struct cmd_node ldp_node;
27extern struct cmd_node ldp_ipv4_node;
28extern struct cmd_node ldp_ipv6_node;
29extern struct cmd_node ldp_ipv4_iface_node;
30extern struct cmd_node ldp_ipv6_iface_node;
31extern struct cmd_node ldp_l2vpn_node;
32extern struct cmd_node ldp_pseudowire_node;
33extern struct cmd_node ldp_debug_node;
34
35union ldpd_addr;
36int ldp_get_address(const char *, int *, union ldpd_addr *);
37int ldp_config_write(struct vty *);
38int ldp_l2vpn_config_write(struct vty *);
39int ldp_debug_config_write(struct vty *);
40int ldp_vty_mpls_ldp (struct vty *, struct vty_arg *[]);
41int ldp_vty_address_family (struct vty *, struct vty_arg *[]);
42int ldp_vty_disc_holdtime(struct vty *, struct vty_arg *[]);
43int ldp_vty_disc_interval(struct vty *, struct vty_arg *[]);
44int ldp_vty_targeted_hello_accept(struct vty *, struct vty_arg *[]);
45int ldp_vty_session_holdtime(struct vty *, struct vty_arg *[]);
46int ldp_vty_interface(struct vty *, struct vty_arg *[]);
47int ldp_vty_trans_addr(struct vty *, struct vty_arg *[]);
48int ldp_vty_neighbor_targeted(struct vty *, struct vty_arg *[]);
45a8eba9
RW
49int ldp_vty_label_advertise(struct vty *, struct vty_arg *[]);
50int ldp_vty_label_allocate(struct vty *, struct vty_arg *[]);
51int ldp_vty_label_expnull(struct vty *, struct vty_arg *[]);
52int ldp_vty_label_accept(struct vty *, struct vty_arg *[]);
eac6e3f0
RW
53int ldp_vty_ttl_security(struct vty *, struct vty_arg *[]);
54int ldp_vty_router_id(struct vty *, struct vty_arg *[]);
55int ldp_vty_ds_cisco_interop(struct vty *, struct vty_arg *[]);
56int ldp_vty_trans_pref_ipv4(struct vty *, struct vty_arg *[]);
57int ldp_vty_neighbor_password(struct vty *, struct vty_arg *[]);
58int ldp_vty_neighbor_ttl_security(struct vty *, struct vty_arg *[]);
59int ldp_vty_l2vpn(struct vty *, struct vty_arg *[]);
60int ldp_vty_l2vpn_bridge(struct vty *, struct vty_arg *[]);
61int ldp_vty_l2vpn_mtu(struct vty *, struct vty_arg *[]);
62int ldp_vty_l2vpn_pwtype(struct vty *, struct vty_arg *[]);
63int ldp_vty_l2vpn_interface(struct vty *, struct vty_arg *[]);
64int ldp_vty_l2vpn_pseudowire(struct vty *, struct vty_arg *[]);
65int ldp_vty_l2vpn_pw_cword(struct vty *, struct vty_arg *[]);
66int ldp_vty_l2vpn_pw_nbr_addr(struct vty *, struct vty_arg *[]);
67int ldp_vty_l2vpn_pw_nbr_id(struct vty *, struct vty_arg *[]);
68int ldp_vty_l2vpn_pw_pwid(struct vty *, struct vty_arg *[]);
69int ldp_vty_l2vpn_pw_pwstatus(struct vty *, struct vty_arg *[]);
70int ldp_vty_show_binding(struct vty *, struct vty_arg *[]);
71int ldp_vty_show_discovery(struct vty *, struct vty_arg *[]);
72int ldp_vty_show_interface(struct vty *, struct vty_arg *[]);
99cfc17f 73int ldp_vty_show_capabilities(struct vty *, struct vty_arg *[]);
eac6e3f0
RW
74int ldp_vty_show_neighbor(struct vty *, struct vty_arg *[]);
75int ldp_vty_show_atom_binding(struct vty *, struct vty_arg *[]);
76int ldp_vty_show_atom_vc(struct vty *, struct vty_arg *[]);
77int ldp_vty_clear_nbr(struct vty *, struct vty_arg *[]);
78int ldp_vty_debug(struct vty *, struct vty_arg *[]);
79int ldp_vty_show_debugging(struct vty *, struct vty_arg *[]);
80
81void ldp_vty_init(void);
eac6e3f0
RW
82
83#endif /* _LDP_VTY_H_ */