dc/arista-proxy: fix by using github.com/q3k/cursedjson
Change-Id: Id9657a30af8c16afe4ddde7e2ac04f4508a2fd18
diff --git a/dc/arista-proxy/proto/arista.proto b/dc/arista-proxy/proto/arista.proto
index 2874f70..3bd254d 100644
--- a/dc/arista-proxy/proto/arista.proto
+++ b/dc/arista-proxy/proto/arista.proto
@@ -23,6 +23,27 @@
};
message ShowEnvironmentTemperatureResponse {
+ message TemperatureSensor {
+ bool in_alert_state = 1;
+ double max_temperature = 2;
+ string rel_pos = 3;
+ string description = 4;
+ string name = 5;
+ int64 alert_count = 6;
+ double current_temperature = 7;
+ double overheat_threshold = 8;
+ double critical_threshold = 9;
+ string hw_status = 10;
+ };
+ message PowerSupplySlot {
+ string ent_physical_class = 1;
+ string rel_pos = 2;
+ repeated TemperatureSensor temperature_sensors = 3;
+ };
+ string system_status = 1;
+ bool shutdown_on_overheat = 2;
+ repeated PowerSupplySlot power_supply_slots = 3;
+ repeated TemperatureSensor temperature_sensors = 4;
};
service AristaProxy {