Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
672c0cd5
Commit
672c0cd5
authored
Jan 27, 2017
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FEATURE: 1524] Kconfig: add items for dot-config management
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
3a33270f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
1 deletion
+42
-1
Kconfig
Kconfig
+20
-0
wrs-user-manual.in
doc/wrs-user-manual.in
+22
-1
No files found.
Kconfig
View file @
672c0cd5
mainmenu "White Rabbit Switch configuration"
config DOTCONF_FW_VERSION
string "Firmware version"
default "5.0"
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.
choice DOTCONF_SOURCE
prompt "Source for a run-time replacement of dot-config"
default DOTCONF_SOURCE_TRY_DHCP
...
...
doc/wrs-user-manual.in
View file @
672c0cd5
...
...
@@ -386,7 +386,28 @@ The configuration step creates @t{.config}, that you can copy to your
@sc
{
wrs
}
as @t
{
/wr/etc/dot-config
}
. After reboot, you'll see your
choices in effect.
The first configuration choice is about source of the @t
{
dot-config
}
file
The first three configuration items are free-text fields which are intended for
dot-config management purposed. As now (v5.0.1) these fields are not used for
any functionality on the switch.
@table @t
@item CONFIG
_
DOTCONF
_
FW
_
VERSION
@itemx CONFIG
_
DOTCONF
_
HW
_
VERSION
Free-text items to describe switch's firmware
@t
{
CONFIG
_
DOTCONF
_
FW
_
VERSION
}
and hardware
@t
{
CONFIG
_
DOTCONF
_
HW
_
VERSION
}
version. Additionally, the default value
of @t
{
CONFIG
_
DOTCONF
_
FW
_
VERSION
}
can be used as a version of a Kconfig
file.
@item CONFIG
_
DOTCONF
_
INFO
Free-text item to descibe additional information about dot-config.
@end table
The next configuration item is a choice about source of the @t
{
dot-config
}
file
(items starting with @t
{
CONFIG
_
DOTCONF
_
SOURCE
_}
). The following @t
{
dot-config
}
sources are implemented in current version:
@table @t
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment