Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devconfig.proto: add 'LOCConfig' structure and 'loc_config' field for the 'EdgeDevConfig' #3000

Merged
merged 2 commits into from
Feb 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
509 changes: 293 additions & 216 deletions api/go/config/devconfig.pb.go

Large diffs are not rendered by default.

476 changes: 239 additions & 237 deletions api/images/devconfig.dot

Large diffs are not rendered by default.

7,210 changes: 3,619 additions & 3,591 deletions api/images/devconfig.dot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/images/devconfig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions api/proto/config/devconfig.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ import "config/edgeview.proto";
import "certs/certs.proto";
import "auth/auth.proto";

message LOCConfig {
// If set indicates URL of the Local Operator Console (LOC)
string loc_url = 1;
}

// This is the response to a GET /api/v1/edgeDevice/config
// The EdgeDevConfig message carries all of the device's configuration from
// the controller to the device.
Expand Down Expand Up @@ -155,6 +160,9 @@ message EdgeDevConfig {
// This ensures that device will not accidentally revert back to an older configuration.
// Does not apply to legacy override.json and usb.json mechanisms.
google.protobuf.Timestamp config_timestamp = 40;

// Configuration of the Local Operator Console (LOC)
LOCConfig loc_config = 41;
}

message ConfigRequest {
Expand Down
66 changes: 57 additions & 9 deletions api/python/config/devconfig_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading