summaryrefslogtreecommitdiffstats
path: root/rules/lldpd.in
blob: 75a5fce4bc760dccba34dcdb678ff406d26d8871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
## SECTION=networking

menuconfig LLDPD
	tristate
	prompt "lldpd                         "
	select INITMETHOD
	select LIBBSD
	select LIBEVENT
	select READLINE
	select NET_SNMP if LLDPD_SNMP
	select NET_SNMP_MIB_MODULES_AGENTX if LLDPD_SNMP
	select JSON_C if LLDPD_JSON
	select LIBXML2 if LLDPD_XML
	select LIBXML2_WRITER if LLDPD_XML
	select BUSYBOX_START_STOP_DAEMON if LLDPD_STARTSCRIPT
	select BUSYBOX_FEATURE_START_STOP_DAEMON_LONG_OPTIONS if LLDPD_STARTSCRIPT
	help
	  lldpd is an ISC-licensed implementation of LLDP for various
	  Unixes. It also supports some proprietary protocols.

if LLDPD

config LLDPD_PRIVSEP_USER
	string
	prompt "Which user to use for privilege separation"
	default "nobody"

config LLDPD_PRIVSEP_GROUP
	string
	prompt "Which group to use for privilege separation"
	default "nogroup"

config LLDPD_PRIVSEP_CHROOT
	string
	prompt "Which directory to use to chroot lldpd"
	default "/var/run/lldpd"

config LLDPD_CDP
	bool
	prompt "Enable Cisco Discovery Protocol"
	default y

config LLDPD_FDP
	bool
	prompt "Enable Foundry Discovery Protocol"
	default y

config LLDPD_EDP
	bool
	prompt "Enable Extreme Discovery Protocol"
	default y

config LLDPD_SONMP
	bool
	prompt "Enable SynOptics Network Management Protocol"
	default y

config LLDPD_LLDPMED
	bool
	prompt "Enable LLDP-MED extension"
	default y

config LLDPD_DOT1
	bool
	prompt "Enable Dot1 extension (VLAN stuff)"
	default y

config LLDPD_DOT3
	bool
	prompt "Enable Dot3 extension (PHY stuff)"
	default y

config LLDPD_CUSTOM_TLV
	bool
	prompt "Enable Custom TLV support"
	default y

config LLDPD_OLDIES
	bool
	prompt "Enable compatibility with Linux kernel older than 2.6.39"

config LLDPD_SNMP
	bool
	prompt "Enable the use of SNMP"

config LLDPD_JSON
	bool
	prompt "Enable JSON output via json-c"

config LLDPD_XML
	bool
	prompt "Enable XML output via libxml2"

config LLDPD_STARTSCRIPT
	bool
	prompt "install /etc/init.d/lldpd"
	default y

config LLDPD_SYSTEMD_UNIT
	bool
	prompt "install systemd service file"
	default y
	depends on SYSTEMD

config LLDPD_DAEMON_ARGS
	string
	prompt "additional arguments for daemon startup"
	default ""
	help
	  This could be -c -e -f -s …

endif

# vim: ft=kconfig noet tw=72