POLICY_PROVISIONED=4;// Rule subscribed to Monitoring
POLICY_ACTIVE=5;// Rule is currently active (alarm is just thrown by Monitoring)
POLICY_PROVISIONED=4;// Rule subscribed to Analyzer
POLICY_ACTIVE=5;// Rule is currently active (alarm is just thrown by Analyzer)
POLICY_ENFORCED=6;// Rule action is successfully enforced
POLICY_INEFFECTIVE=7;// The applied rule action did not work as expected
POLICY_EFFECTIVE=8;// The applied rule action did work as expected
@@ -45,24 +43,26 @@ enum PolicyRuleStateEnum {
POLICY_REMOVED=10;// Operator requires to remove a policy
}
messagePolicyRuleState{
PolicyRuleStateEnumpolicyRuleState=1;
stringpolicyRuleStateMessage=2;
}
messagePolicyRuleId{
context.Uuiduuid=1;
}
messagePolicyRuleState{
PolicyRuleStateEnumpolicyRuleState=1;
stringpolicyRuleStateMessage=2;
messagePolicyRuleKpiId{
context.UuidpolicyRuleKpiUuid=1;// Same as defined in kpi_manager.proto
}
// Basic policy rule attributes
messagePolicyRuleBasic{
PolicyRuleIdpolicyRuleId=1;
PolicyRuleStatepolicyRuleState=2;//policy.proto:58:12: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.
uint32priority=3;
monitoring.KpiIdkpiId=4;// to be migrated to: "kpi_manager.KpiId"
// Event-Condition-Action (ECA) model
repeatedPolicyRuleActionactionList=5;// One or more actions should be applied
PolicyRuleIdpolicyRuleId=1;// Unique rule ID
PolicyRuleStatepolicyRuleState=2;// Rule lifecycle information
uint32policyRulePriority=3;// The priority of this rule
repeatedPolicyRuleActionactionList=4;// One or more actions should be applied
repeatedPolicyRuleKpiIdpolicyRuleKpiList=5;// List of KPIs associated with this policy