feat: support add redis queue with alarm/nbi_pm/nbi_kpi, support generate all nbi pm data
This commit is contained in:
1 parent
d4923d008c
commit
46ccc0ab83
26 files changed
+14059
-41
No files matched your search
@@ -29,3 +29,11 @@ func LoadAlarmRelationRules(path string) error {
|
||||
}
|
||||
return yaml.Unmarshal(data, &RelationRules)
|
||||
}
|
||||
|
||||
func LoadNbiRelationRulesConfig(path string) error {
|
||||
data, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return yaml.Unmarshal(data, &RelationRules)
|
||||
}
|
||||
Reference in new issue
Block a user