DISPATCH-461: rename 'policyStats' to 'vhostStats'
diff --git a/python/qpid_dispatch/management/qdrouter.json b/python/qpid_dispatch/management/qdrouter.json
index 472efe5..325a954 100644
--- a/python/qpid_dispatch/management/qdrouter.json
+++ b/python/qpid_dispatch/management/qdrouter.json
@@ -1427,7 +1427,7 @@
}
},
- "policyStats": {
+ "vhostStats": {
"description": "Virtual host connection and access statistics.",
"extends": "operationalEntity",
"attributes": {
diff --git a/python/qpid_dispatch_internal/management/agent.py b/python/qpid_dispatch_internal/management/agent.py
index 83ee8e6..d9c0382 100644
--- a/python/qpid_dispatch_internal/management/agent.py
+++ b/python/qpid_dispatch_internal/management/agent.py
@@ -320,7 +320,7 @@
return self.attributes.get('id')
-class PolicyStatsEntity(EntityAdapter):
+class VhostStatsEntity(EntityAdapter):
def _identifier(self):
return self.attributes.get('id')
diff --git a/python/qpid_dispatch_internal/policy/policy_local.py b/python/qpid_dispatch_internal/policy/policy_local.py
index b48aff3..c401e94 100644
--- a/python/qpid_dispatch_internal/policy/policy_local.py
+++ b/python/qpid_dispatch_internal/policy/policy_local.py
@@ -373,7 +373,7 @@
ruleset[PolicyKeys.KW_MAXCONNPERUSER],
ruleset[PolicyKeys.KW_MAXCONNPERHOST])
self._cstats = self._manager.get_agent().qd.qd_dispatch_policy_c_counts_alloc()
- self._manager.get_agent().add_implementation(self, "policyStats")
+ self._manager.get_agent().add_implementation(self, "vhostStats")
def update_ruleset(self, ruleset):
"""