syntax = "proto3";

import "types.proto";
import "types/enums.proto";
package SyssdmDB;


message SyscmdAgent {
    option (table_name) = "t_syscmd_agent";
    option (persistence) = "protect_power_off";

    SyssdmEnums.UpgradeState SysUpgradeState = 1 [(default) = "UpgradeIdle"];
}

message SysconfAgent {
    option (table_name) = "t_sysconf_agent";
    option (persistence) = "protect_power_off";

    string CertificatePath = 1 [(max_len) = 256, (default) = "etc"]; // 不能指定带/的系统路径？？？
    SyssdmEnums.ConfigState SysConfState = 2 [(default) = "ConfigIdle"];
}