]> git.proxmox.com Git - mirror_frr.git/blame - ldpd/ldp_vty.h
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / ldpd / ldp_vty.h
CommitLineData
acddc0ed 1// SPDX-License-Identifier: GPL-2.0-or-later
eac6e3f0
RW
2/*
3 * Copyright (C) 2016 by Open Source Routing.
eac6e3f0
RW
4 */
5
6#ifndef _LDP_VTY_H_
7#define _LDP_VTY_H_
8
9#include "vty.h"
10
11extern struct cmd_node ldp_node;
12extern struct cmd_node ldp_ipv4_node;
13extern struct cmd_node ldp_ipv6_node;
14extern struct cmd_node ldp_ipv4_iface_node;
15extern struct cmd_node ldp_ipv6_iface_node;
16extern struct cmd_node ldp_l2vpn_node;
17extern struct cmd_node ldp_pseudowire_node;
18extern struct cmd_node ldp_debug_node;
19
20union ldpd_addr;
21int ldp_get_address(const char *, int *, union ldpd_addr *);
1224e5c4 22int ldp_vty_mpls_ldp (struct vty *, const char *);
ff5279ba 23int ldp_vty_allow_broken_lsp(struct vty *, const char *);
1224e5c4 24int ldp_vty_address_family (struct vty *, const char *, const char *);
16cd3d9d
RW
25int ldp_vty_disc_holdtime(struct vty *, const char *, enum hello_type, long);
26int ldp_vty_disc_interval(struct vty *, const char *, enum hello_type, long);
1224e5c4
RW
27int ldp_vty_targeted_hello_accept(struct vty *, const char *, const char *);
28int ldp_vty_nbr_session_holdtime(struct vty *, const char *, struct in_addr, long);
29int ldp_vty_af_session_holdtime(struct vty *, const char *, long);
30int ldp_vty_interface(struct vty *, const char *, const char *);
31int ldp_vty_trans_addr(struct vty *, const char *, const char *);
32int ldp_vty_neighbor_targeted(struct vty *, const char *, const char *);
33int ldp_vty_label_advertise(struct vty *, const char *, const char *, const char *);
34int ldp_vty_label_allocate(struct vty *, const char *, const char *, const char *);
35int ldp_vty_label_expnull(struct vty *, const char *, const char *);
36int ldp_vty_label_accept(struct vty *, const char *, const char *, const char *);
37int ldp_vty_ttl_security(struct vty *, const char *);
38int ldp_vty_router_id(struct vty *, const char *, struct in_addr);
aff1743c 39int ldp_vty_ordered_control(struct vty *, const char *);
e1894ff7 40int ldp_vty_wait_for_sync_interval(struct vty *, const char *, long);
1224e5c4
RW
41int ldp_vty_ds_cisco_interop(struct vty *, const char *);
42int ldp_vty_trans_pref_ipv4(struct vty *, const char *);
43int ldp_vty_neighbor_password(struct vty *, const char *, struct in_addr, const char *);
44int ldp_vty_neighbor_ttl_security(struct vty *, const char *, struct in_addr, const char *);
45int ldp_vty_l2vpn(struct vty *, const char *, const char *);
46int ldp_vty_l2vpn_bridge(struct vty *, const char *, const char *);
47int ldp_vty_l2vpn_mtu(struct vty *, const char *, long);
48int ldp_vty_l2vpn_pwtype(struct vty *, const char *, const char *);
49int ldp_vty_l2vpn_interface(struct vty *, const char *, const char *);
50int ldp_vty_l2vpn_pseudowire(struct vty *, const char *, const char *);
51int ldp_vty_l2vpn_pw_cword(struct vty *, const char *, const char *);
52int ldp_vty_l2vpn_pw_nbr_addr(struct vty *, const char *, const char *);
53int ldp_vty_l2vpn_pw_nbr_id(struct vty *, const char *, struct in_addr);
54int ldp_vty_l2vpn_pw_pwid(struct vty *, const char *, long);
55int ldp_vty_l2vpn_pw_pwstatus(struct vty *, const char *);
c740f7d3 56int ldp_vty_clear_nbr(struct vty *, const char *);
1224e5c4 57int ldp_vty_debug(struct vty *, const char *, const char *, const char *, const char *);
f0722791
RW
58int ldp_vty_show_binding(struct vty *, const char *, const char *, int,
59 const char *, unsigned long, unsigned long, const char *, const char *);
1224e5c4
RW
60int ldp_vty_show_discovery(struct vty *, const char *, const char *, const char *);
61int ldp_vty_show_interface(struct vty *, const char *, const char *);
62int ldp_vty_show_capabilities(struct vty *, const char *);
f0722791 63int ldp_vty_show_neighbor(struct vty *, const char *, int, const char *, const char *);
e1894ff7 64int ldp_vty_show_ldp_sync(struct vty *, const char *);
f0722791
RW
65int ldp_vty_show_atom_binding(struct vty *, const char *, unsigned long,
66 unsigned long, const char *);
67int ldp_vty_show_atom_vc(struct vty *, const char *, const char *,
68 const char *, const char *);
c740f7d3 69int ldp_vty_show_debugging(struct vty *);
eac6e3f0
RW
70
71void ldp_vty_init(void);
eac6e3f0
RW
72
73#endif /* _LDP_VTY_H_ */