Lorenz Brun | 189495a | 2022-11-08 12:59:36 +0000 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | package cloud.agent.api; |
Lorenz Brun | 595dfe9 | 2023-02-21 19:13:02 +0100 | [diff] [blame] | 3 | import "net/proto/net.proto"; |
| 4 | import "cloud/agent/api/takeover.proto"; |
Lorenz Brun | 189495a | 2022-11-08 12:59:36 +0000 | [diff] [blame] | 5 | option go_package = "source.monogon.dev/cloud/agent/api"; |
| 6 | |
Lorenz Brun | 595dfe9 | 2023-02-21 19:13:02 +0100 | [diff] [blame] | 7 | // AgentInit contains initialization information passed to the agent from the |
| 8 | // initial takeover process. |
| 9 | message 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 Brun | 189495a | 2022-11-08 12:59:36 +0000 | [diff] [blame] | 18 | } |