JaiaBot  1.19.0
JaiaBot micro-AUV software
fleet_config.proto
Go to the documentation of this file.
1 // Copyright 2025:
2 // JaiaRobotics LLC
3 // File authors:
4 // Toby Schneider <toby@gobysoft.org>
5 //
6 //
7 // This file is part of the JaiaBot Project Libraries
8 // ("The Jaia Libraries").
9 //
10 // The Jaia Libraries are free software: you can redistribute them and/or modify
11 // them under the terms of the GNU Lesser General Public License as published by
12 // the Free Software Foundation, either version 2.1 of the License, or
13 // (at your option) any later version.
14 //
15 // The Jaia Libraries are distributed in the hope that they will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 // GNU Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public License
21 // along with the Jaia Libraries. If not, see <http://www.gnu.org/licenses/>.
22 
23 
24 syntax = "proto2";
25 
26 package jaiabot.protobuf;
27 
28 
29 message FleetConfig
30 {
31  required int32 fleet = 1;
32  repeated int32 hubs = 2;
33  repeated int32 bots = 3;
34 
35  message SSHKeys
36  {
37  repeated string permanent_authorized_keys = 1;
38  message HubKey
39  {
40  required int32 id = 1;
41  required string private_key = 2;
42  required string public_key = 3;
43  }
44  repeated HubKey hub = 2;
45  message VPNTempKey
46  {
47  required string private_key = 2;
48  required string public_key = 3;
49  }
50  optional VPNTempKey vpn_tmp = 3;
51  }
52  required SSHKeys ssh = 4;
53 
54  message Debconf
55  {
56  enum DebconfType
57  {
58  SELECT = 0;
59  MULTISELECT = 1;
60  STRING = 2;
61  BOOLEAN = 3;
62  NOTE = 4;
63  TEXT = 5;
64  PASSWORD = 6;
65  }
66 
67  required string key = 1;
68  optional DebconfType type = 2 [default = SELECT];
69  required string value = 3;
70  }
71  repeated Debconf debconf = 5;
72  required string wlan_password = 6;
73  required bool service_vpn_enabled = 7;
74 
75  message DebconfOverride
76  {
77  enum NodeType
78  {
79  HUB = 0;
80  BOT = 1;
81  }
82 
83  required NodeType type = 1;
84  required int32 id = 2;
85  repeated Debconf debconf = 3;
86  }
87  repeated DebconfOverride debconf_override = 8;
88 }