stats: python vpp_stats rewrite to access stat segment directly
[vpp.git] / test / vpp_neighbor.py
index 6f54261..9ba8700 100644 (file)
@@ -83,5 +83,5 @@ class VppNeighbor(VppObject):
         return ("%d:%s" % (self.sw_if_index, self.nbr_addr))
 
     def get_stats(self):
-        c = self._test.statistics.get_counter("/net/adjacency")
+        c = self._test.statistics["/net/adjacency"]
         return c[0][self.stats_index]