1
|
<?xml version="1.0" encoding="utf-8" ?>
|
2
|
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
|
3
|
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
|
4
|
<packagegui>
|
5
|
<copyright>
|
6
|
<![CDATA[
|
7
|
/*
|
8
|
ladvd.xml
|
9
|
Copyright (C) 2006 Scott Ullrich
|
10
|
All rights reserved.
|
11
|
|
12
|
Redistribution and use in source and binary forms, with or without
|
13
|
modification, are permitted provided that the following conditions are met:
|
14
|
|
15
|
1. Redistributions of source code must retain the above copyright notice,
|
16
|
this list of conditions and the following disclaimer.
|
17
|
|
18
|
2. Redistributions in binary form must reproduce the above copyright
|
19
|
notice, this list of conditions and the following disclaimer in the
|
20
|
documentation and/or other materials provided with the distribution.
|
21
|
|
22
|
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
23
|
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
24
|
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
25
|
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
26
|
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
27
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
28
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
29
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
30
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
31
|
POSSIBILITY OF SUCH DAMAGE.
|
32
|
*/
|
33
|
]]>
|
34
|
</copyright>
|
35
|
<description>Describe your package here</description>
|
36
|
<requirements>Describe your package requirements here</requirements>
|
37
|
<faq>Currently there are no FAQ items provided.</faq>
|
38
|
<name>LADVD</name>
|
39
|
<version>1.0.2</version>
|
40
|
<category>Network Management</category>
|
41
|
<title>Services: LADVD</title>
|
42
|
<include_file>/usr/local/pkg/ladvd.inc</include_file>
|
43
|
<aftersaveredirect>/pkg_edit.php?xml=ladvd.xml&id=0</aftersaveredirect>
|
44
|
<additional_files_needed>
|
45
|
<item>http://hq.lonewolf.it/packages/config/ladvd/ladvd.inc</item>
|
46
|
<prefix>/usr/local/pkg/</prefix>
|
47
|
<chmod>0644</chmod>
|
48
|
</additional_files_needed>
|
49
|
<additional_files_needed>
|
50
|
<prefix>/usr/local/www/</prefix>
|
51
|
<chmod>0755</chmod>
|
52
|
<item>http://hq.lonewolf.it/packages/config/ladvd/status_ladvd.php</item>
|
53
|
</additional_files_needed>
|
54
|
<menu>
|
55
|
<name>LADVD</name>
|
56
|
<tooltiptext>Modify LADVD settings.</tooltiptext>
|
57
|
<section>Services</section>
|
58
|
<url>/pkg_edit.php?xml=ladvd.xml&id=0</url>
|
59
|
</menu>
|
60
|
<menu>
|
61
|
<name>LADVD Status</name>
|
62
|
<tooltiptext></tooltiptext>
|
63
|
<section>Status</section>
|
64
|
<url>/status_ladvd.php</url>
|
65
|
</menu>
|
66
|
<service>
|
67
|
<name>ladvd</name>
|
68
|
<rcfile>ladvd.sh</rcfile>
|
69
|
<executable>ladvd</executable>
|
70
|
<description>Send and decode link layer advertisements</description>
|
71
|
</service>
|
72
|
<tabs>
|
73
|
<tab>
|
74
|
<text>General</text>
|
75
|
<url>/pkg_edit.php?xml=ladvd.xml&id=0</url>
|
76
|
<active/>
|
77
|
</tab>
|
78
|
<tab>
|
79
|
<text>Status</text>
|
80
|
<url>/status_ladvd.php</url>
|
81
|
</tab>
|
82
|
</tabs>
|
83
|
<fields>
|
84
|
<field>
|
85
|
<fielddescr>Enable ladvd</fielddescr>
|
86
|
<fieldname>enable</fieldname>
|
87
|
<description>Enable or disable ladvd</description>
|
88
|
<enablefields>iface_array[],autoenable,silent,management,location,lldp,cdp,edp,ndp</enablefields>
|
89
|
<type>checkbox</type>
|
90
|
</field>
|
91
|
<field>
|
92
|
<fielddescr>Interfaces</fielddescr>
|
93
|
<fieldname>iface_array</fieldname>
|
94
|
<value>lan</value>
|
95
|
<multiple>true</multiple>
|
96
|
<size>3</size>
|
97
|
<type>interfaces_selection</type>
|
98
|
<description>Select the interfaces that LADVD will bind to. You can use the CTRL or COMMAND key to select multiple interfaces.</description>
|
99
|
</field>
|
100
|
<field>
|
101
|
<fielddescr>Auto-enable protocols</fielddescr>
|
102
|
<fieldname>autoenable</fieldname>
|
103
|
<description>Auto-enable protocols based on received packets (also enables receive mode).</description>
|
104
|
<type>checkbox</type>
|
105
|
</field>
|
106
|
<field>
|
107
|
<fielddescr>Silent</fielddescr>
|
108
|
<fieldname>silent</fieldname>
|
109
|
<description>Silent, don't transmit packets.</description>
|
110
|
<type>checkbox</type>
|
111
|
</field>
|
112
|
<field>
|
113
|
<fielddescr>Management interfaces</fielddescr>
|
114
|
<fieldname>management</fieldname>
|
115
|
<value>lan</value>
|
116
|
<type>interfaces_selection</type>
|
117
|
<description>The management interface for this host. Addresses on this interface are auto-detected (IPv4 and IPv6).</description>
|
118
|
</field>
|
119
|
<field>
|
120
|
<fielddescr>System Location</fielddescr>
|
121
|
<fieldname>location</fieldname>
|
122
|
<type>input</type>
|
123
|
<size>30</size>
|
124
|
<description>Specify the physical location of the host.</description>
|
125
|
</field>
|
126
|
<field>
|
127
|
<fielddescr>Enable LLDP</fielddescr>
|
128
|
<fieldname>lldp</fieldname>
|
129
|
<description>Enable LLDP (Link Layer Discovery Protocol).</description>
|
130
|
<type>checkbox</type>
|
131
|
</field>
|
132
|
<field>
|
133
|
<fielddescr>Enable CDP</fielddescr>
|
134
|
<fieldname>cdp</fieldname>
|
135
|
<description>Enable CDP (Cisco Discovery Protocol).</description>
|
136
|
<type>checkbox</type>
|
137
|
</field>
|
138
|
<field>
|
139
|
<fielddescr>Enable EDP</fielddescr>
|
140
|
<fieldname>edp</fieldname>
|
141
|
<description>Enable EDP (Extreme Discovery Protocol).</description>
|
142
|
<type>checkbox</type>
|
143
|
</field>
|
144
|
<field>
|
145
|
<fielddescr>Enable NDP</fielddescr>
|
146
|
<fieldname>ndp</fieldname>
|
147
|
<description>Enable NDP (Nortel Discovery Protocol) formerly called SynOptics Network Management Protocol (SONMP).</description>
|
148
|
<type>checkbox</type>
|
149
|
</field>
|
150
|
</fields>
|
151
|
<custom_add_php_command>ladvd_resync_config();</custom_add_php_command>
|
152
|
<custom_php_resync_config_command>ladvd_resync_config();</custom_php_resync_config_command>
|
153
|
<custom_php_install_command>ladvd_install_command();</custom_php_install_command>
|
154
|
<custom_php_deinstall_command>ladvd_deinstall_command();</custom_php_deinstall_command>
|
155
|
</packagegui>
|