blob: 9223371543228679a7981f854988733dab3c47f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
syntax = "proto3";
option go_package = "node_instance/creation/v1;node_instancecreation";
package nodeinstance.create.v1;
message CreateNodeInstance {
// Claim ID of the Agent the Node Instance belongs to.
// Eventually, the NodeInstance will be identified by the compilation of
// this claim_id and NodeID returned by `CreateNodeInstanceResult`
string claim_id = 1;
// Machine GUID of the Machine the request comes from
// Used to look for an existing NodeID in the space claim_id belongs to
string machine_guid = 2;
string hostname = 3;
// vmq_instance_id broker shard to use for reaching the agent
// cloud injects this information.
int32 vmq_instance_id = 4;
// mqtt_broker_addr shard to use for reaching the agent
// cloud injects this information.
string mqtt_broker_addr = 5;
// hops is the number of streaming hops between collection of node data
// and the claimed agent. Zero if no streaming is involved.
int32 hops = 6;
}
message CreateNodeInstanceResult {
string node_id = 1;
string machine_guid = 2;
}
|