Newer
Older
Alessandro Rubini
committed
mainmenu "White Rabbit Switch configuration"
config DOTCONF_FW_VERSION
string "Firmware version"
help
Free-text information about switch's firmware version. This field is
for information purpose only. Additionally this field describes
version of Kconfig.
config DOTCONF_HW_VERSION
string "Hardware version"
help
Free-text information about switch's Hardware version. This field is
for information purpose only.
config DOTCONF_INFO
string "Additional info about dot-config"
help
Free-text information about switch's dot-config. This field is
for information purpose only.
#
# Select source of dot-config file
#
choice DOTCONF_SOURCE
prompt "Source for a run-time replacement of dot-config"
default DOTCONF_SOURCE_TRY_DHCP
config DOTCONF_SOURCE_LOCAL
bool "Use local dot-config"
help
The White Rabbit Switch is configured at run-time,
according to a dot-config .config file. The file
is the same .config you are defining now. If you
select this option, dot-config is not replaced
at run time.
config DOTCONF_SOURCE_REMOTE
bool "Use remote dot-config"
help
Use the URL to dot-config provided in DOTCONF_URL.
config DOTCONF_SOURCE_FORCE_DHCP
bool "Force to get the URL to a dot-config via DHCP"
help
Retrieve a URL to the dot-config via DHCP at boot.
The URL can be configured in the "filename" configuration field of
the DHCP server.
config DOTCONF_SOURCE_TRY_DHCP
bool "Try to get the URL to a dot-config via DHCP"
help
The same as DOTCONF_SOURCE_FORCE_DHCP, but this option does not
cause errors in SNMP's objects if the switch fails to retrieve
the URL to the dot-config via DHCP.
endchoice
config DOTCONF_URL
string "URL for a run-time replacement of dot-config"
depends on DOTCONF_SOURCE_REMOTE
help
tftp://, ftp:// or http:// URLs are allowed. Names are allowed if
you configured a DNS server. The special strings HOSTNAME, IPADDR and
MACADDR are substituted before retrieving the file.
Example: "tftp://morgana/wrs-config-IPADDR"
#
# Select source of leap seconds file
#
choice LEAPSEC_SOURCE
prompt "Source for a run-time replacement of leap seconds file"
default LEAPSEC_SOURCE_LOCAL
config LEAPSEC_SOURCE_LOCAL
bool "Use local leap seconds file"
help
A leap seconds file (leap-seconds.list) is already present in the White Rabbit Switch.
If you select this option, the leap seconds file is not replaced
at run time.
config LEAPSEC_SOURCE_REMOTE_FORCE
bool "Force remote leap seconds file"
help
Use the URL to leap secondw file provided in LEAPSEC_URL.
If the file cannot be downloaded, it will cause errors in SNMP's objects.
config LEAPSEC_SOURCE_REMOTE_TRY
bool "Try remote leap seconds file"
help
The same as LEAPSEC_SOURCE_REMOTE_FORCE, but this option does not
cause errors in SNMP's objects if the switch fails to retrieve
the URL to the leap seconds files.
endchoice
config LEAPSEC_URL
string "URL for a run-time replacement of leap seconds file"
default "ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list"
depends on LEAPSEC_SOURCE_REMOTE_TRY || LEAPSEC_SOURCE_REMOTE_FORCE
help
tftp://, ftp:// or http:// URLs are allowed. Names are allowed if
you configured a DNS server. The special strings HOSTNAME, BOOTSERVER, IPADDR and
MACADDR are substituted before retrieving the file.
Example: "tftp://BOOTSERVER/leap-seconds.IPADDR"
Alessandro Rubini
committed
config BR2_CONFIGFILE
string "Configuration file for Buildroot"
default "wrs_release_br2_config"
help
The configuration file selects which packages are to be
included in the WRS filesystem and which are not. If
you pass a relative pathname, the build procedure will
look for it in wr-switch-sw/configs/buildroot, while
absolute pathnames are used unchanged.
If the string being passed doesn't refer to a file, the
scripts print a warning and use the default file. Incorrect
files lead to unpredicatable results.
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
choice
prompt "Management port configuration (eth0)"
default ETH0_DHCP
config ETH0_DHCP
bool "DHCP forever"
help
Try DHCP on management port (eth0) forever.
config ETH0_DHCP_ONCE
bool "Try DHCP, if fail use static address"
help
Try DHCP on management port (eth0) for a while, then configure
static IP. Useful, when you move switch between various development
enviroments.
config ETH0_STATIC
bool "Static address"
help
Use static address on management port (eth0). Don't try to DHCP.
endchoice
menu "Management port (eth0) Address"
depends on ETH0_DHCP_ONCE || ETH0_STATIC
config ETH0_IP
string "Static IP address of management port (eth0)"
default "192.168.1.254"
help
Static IP address of management port (eth0). Please note that
wrong IP address will generate a runtime error on the switch.
config ETH0_MASK
string "Mask of management port (eth0)"
default "255.255.255.0"
help
Mask of management port (eth0). Please note that wrong mask will
generate a runtime error on the switch.
config ETH0_NETWORK
string "Network of management port (eth0)"
default "192.168.1.0"
help
Network of management port (eth0). Please note that wrong network
will generate a runtime error on the switch.
config ETH0_BROADCAST
string "Broadcast of management port (eth0)"
default "192.168.1.255"
help
Broadcast of management port (eth0). Please note that wrong broadcast
will generate a runtime error on the switch.
config ETH0_GATEWAY
string "Default gateway of management port (eth0)"
default "192.168.1.1"
help
Default gateway of management port (eth0). Please note that
wrong gateway address will generate a runtime error on the switch.
endmenu
choice
prompt "Hostname source"
default HOSTNAME_DHCP
config HOSTNAME_DHCP
bool "Get hostname via DHCP"
Loading full blame...