-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mctpd: Add toml-based configuration interface
This change adds a basic configuration interface, using a simple toml syntax. This allows configuration of the existing mctpd parameters: bus-owner mode, the mctp timeout, and the UUID. We ship a small example configuration under conf/. Signed-off-by: Jeremy Kerr <[email protected]>
- Loading branch information
Showing
5 changed files
with
136 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Mode: either bus-owner or endpoint | ||
mode = "bus-owner" | ||
|
||
# MCTP protocol configuration. Used for both endpoint and bus-owner modes. | ||
[mctp] | ||
message_timeout_ms = 30 | ||
|
||
# Specify a UUID: not generally required - mctpd will query the system UUID | ||
# where available. | ||
# uuid = "21f0f554-7f7c-4211-9ca1-6d0f000ea9e7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters