summaryrefslogtreecommitdiffstats
path: root/net/pfSense-pkg-LADVD/files/usr/local/pkg/ladvd.xml
blob: 3588231a0100ce59283e4cc5610c60cee16ffd85 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
	<copyright>
<![CDATA[
/* $Id$ */
/* ====================================================================================== */
/*
	ladvd.xml
	part of pfSense (https://www.pfSense.org/)
	Copyright (C) 2014 Andrea Tuccia
	Copyright (C) 2014 Ermal Luçi
	Copyright (C) 2015 ESF, LLC
	All rights reserved.
*/
/* ====================================================================================== */
/*
	Redistribution and use in source and binary forms, with or without
	modification, are permitted provided that the following conditions are met:


	1. Redistributions of source code must retain the above copyright notice,
	   this list of conditions and the following disclaimer.

	2. Redistributions in binary form must reproduce the above copyright
	   notice, this list of conditions and the following disclaimer in the
	   documentation and/or other materials provided with the distribution.


	THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
	INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
	AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
	AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
	OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
	SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
	INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
	CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
	POSSIBILITY OF SUCH DAMAGE.
*/
/* ====================================================================================== */
	]]>
	</copyright>
	<description>Link Layer Discovery Protocol</description>
	<name>LADVD</name>
	<category>Network Management</category>
	<title>Services: LADVD</title>
	<include_file>/usr/local/pkg/ladvd.inc</include_file>
	<menu>
		<name>LADVD</name>
		<tooltiptext>Modify LADVD settings.</tooltiptext>
		<section>Services</section>
		<url>/pkg_edit.php?xml=ladvd.xml</url>
	</menu>
	<menu>
		<name>LADVD Status</name>
		<tooltiptext></tooltiptext>
		<section>Status</section>
		<url>/status_ladvd.php</url>
	</menu>
	<service>
		<name>ladvd</name>
		<rcfile>ladvd.sh</rcfile>
		<executable>ladvd</executable>
		<description>Link Layer Discovery Protocol Daemon</description>
	</service>
	<tabs>
		<tab>
			<text>General</text>
			<url>/pkg_edit.php?xml=ladvd.xml</url>
			<active/>
		</tab>
		<tab>
			<text>Status</text>
			<url>/status_ladvd.php</url>
		</tab>
	</tabs>
	<fields>
		<field>
			<fielddescr>Enable</fielddescr>
			<fieldname>enable</fieldname>
			<description>Enable or disable ladvd.</description>
			<enablefields>iface_array[],autoenable,silent,management,location,lldp,cdp,edp,ndp</enablefields>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>Interfaces</fielddescr>
			<fieldname>iface_array</fieldname>
			<value>lan</value>
			<multiple>true</multiple>
			<size>3</size>
			<type>interfaces_selection</type>
			<description>Select the interfaces that LADVD will bind to. You can use the CTRL or COMMAND key to select multiple interfaces.</description>
		</field>
		<field>
			<fielddescr>Auto-Enable Protocols</fielddescr>
			<fieldname>autoenable</fieldname>
			<description>Auto-enable protocols based on received packets (also enables receive mode).</description>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>Silent</fielddescr>
			<fieldname>silent</fieldname>
			<description>Silent mode, do not transmit packets.</description>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>Management Interfaces</fielddescr>
			<fieldname>management</fieldname>
			<value>lan</value>
			<type>interfaces_selection</type>
			<description>The management interface for this host. Addresses on this interface are auto-detected (IPv4 and IPv6).</description>
		</field>
		<field>
			<fielddescr>System Location</fielddescr>
			<fieldname>location</fieldname>
			<type>input</type>
			<size>30</size>
			<description>Specify the physical location of the host.</description>
		</field>
		<field>
			<fielddescr>Enable LLDP</fielddescr>
			<fieldname>lldp</fieldname>
			<description>Enable LLDP (Link Layer Discovery Protocol).</description>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>Enable CDP</fielddescr>
			<fieldname>cdp</fieldname>
			<description>Enable CDP (Cisco Discovery Protocol).</description>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>Enable EDP</fielddescr>
			<fieldname>edp</fieldname>
			<description>Enable EDP (Extreme Discovery Protocol).</description>
			<type>checkbox</type>
		</field>
		<field>
			<fielddescr>Enable NDP</fielddescr>
			<fieldname>ndp</fieldname>
			<description>Enable NDP (Nortel Discovery Protocol); formerly called SynOptics Network Management Protocol (SONMP).</description>
			<type>checkbox</type>
		</field>
	</fields>
	<custom_php_resync_config_command>ladvd_resync_config();</custom_php_resync_config_command>
</packagegui>
OpenPOWER on IntegriCloud