blob: c2ac0f77a58e9ccbcfcbf5246385318cee62cddc [file] [log] [blame]
Lorenz Brun189495a2022-11-08 12:59:36 +00001syntax = "proto3";
2package cloud.agent.api;
Tim Windelschmidt10ef8f92024-08-13 15:35:10 +02003import "osbase/net/proto/net.proto";
Lorenz Brun595dfe92023-02-21 19:13:02 +01004import "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.
Tim Windelschmidt10ef8f92024-08-13 15:35:10 +020017 osbase.net.proto.Net network_config = 3;
Lorenz Brun189495a2022-11-08 12:59:36 +000018}