blob: d6088cb0b4bfc8f3f008b46815d4687397a905c8 [file] [log] [blame] [edit]
edition = "2023";
package platforms_syshealth.collection.feed;
message MachineNodeEntity {
string machine_name = 1;
string hostname = 2;
string node_entity_tag = 3;
string npi_class = 5;
}
message Entity {
message Metadata {
// The hostname of the entity.
string hostname = 1;
}
// Type of the entity.
enum Type {
UNKNOWN = 0;
MACHINE = 1;
MACHINE_NODE = 2;
NETWORK_DEVICE = 3;
}
Type type = 1;
Metadata metadata = 2;
oneof entity_id {
// Simple name identifier. Suitable for machines and network devices.
string name = 3;
// Identifier for a machine node which also must include the hostname
// and node entity tag.
MachineNodeEntity machine_node_entity = 4;
}
}