From cfbfff75caf230353ddcc5ab10beb72dce85d039 Mon Sep 17 00:00:00 2001 From: Anish Mehta Date: Mon, 22 Feb 2016 22:43:00 -0800 Subject: [PATCH] viz.sandesh schema additions for VN ACL rule stats and VMI ACL rule Change-Id: I9b810196e2aa6a7fe5a8ac1075a56e1f0e3e9a13 Partial-Bug: 1548623 --- src/analytics/viz.sandesh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/analytics/viz.sandesh b/src/analytics/viz.sandesh index f1dc35c1758..cb929bef471 100644 --- a/src/analytics/viz.sandesh +++ b/src/analytics/viz.sandesh @@ -1029,6 +1029,16 @@ const list _STAT_TABLES = [ { 'name' : 'vn_stats.out_bytes', 'datatype' : 'int', 'index' : false}, ] }, + { + 'display_name' : 'VN ACL Rule Statistics', + 'stat_type' : 'UveVirtualNetworkAgent', + 'stat_attr' : 'policy_rule_stats', + 'obj_table' : VN_TABLE, + 'attributes': [ + { 'name' : 'policy_rule_stats.rule', 'datatype' : 'string', 'index' : true}, + { 'name' : 'policy_rule_stats.count', 'datatype' : 'int', 'index' : false}, + ] + }, { 'display_name' : 'Database Purge Statistics', 'stat_type' : 'DatabasePurgeInfo' @@ -1386,6 +1396,16 @@ const list _STAT_TABLES = [ { 'name' : 'fip_diff_stats.out_bytes', 'datatype' : 'int', 'index' : false } ] }, + { + 'display_name' : 'VMI ACL Rule Statistics', + 'stat_type' : 'UveVMInterfaceAgent', + 'stat_attr' : 'sg_rule_stats', + 'obj_table' : VMI_TABLE, + 'attributes': [ + { 'name' : 'sg_rule_stats.rule', 'datatype' : 'string', 'index' : true}, + { 'name' : 'sg_rule_stats.count', 'datatype' : 'int', 'index' : false}, + ] + }, { 'display_name' : 'Virtual Machine Interface Statistics', 'stat_type' : 'UveVMInterfaceAgent'