blob: fda4e647a455bec7c140f8ded3360a2011b5bff6 [file] [log] [blame]
Lorenz Brun189495a2022-11-08 12:59:36 +00001syntax = "proto3";
2package cloud.agent.api;
Lorenz Brun595dfe92023-02-21 19:13:02 +01003import "net/proto/net.proto";
4import "cloud/agent/api/takeover.proto";
Lorenz Brun189495a2022-11-08 12:59:36 +00005option go_package = "source.monogon.dev/cloud/agent/api";
6
Lorenz Brun595dfe92023-02-21 19:13:02 +01007// AgentInit contains initialization information passed to the agent from the
8// initial takeover process.
9message AgentInit {
10 // Original takeover init message which contains data to contact the BMaaS
11 // service with.
12 TakeoverInit takeover_init = 1;
13 // The Ed25519 private key to connect to the BMaaS service.
14 bytes private_key = 2;
15 // A network configuration in case automatic configuration does not work or is
16 // not desired. If left unset, automatic configuration is used.
17 net.proto.Net network_config = 3;
Lorenz Brun189495a2022-11-08 12:59:36 +000018}