introduced new counter classes and implemented unixsocket counters
- implemented a base class Counter and a concrete XfroutCounter as an external module under isc.statistics. Because it is easy to implement another concrete Counter class for other module in future. The caller module can statically import it. The new counter class provides a getter method for each statistics item. It is intended for making loose relationship between the counter class and the caller module. - added implementation of unixsocket counter into the existing UnixSockServer Class. - added new tests for checking counters implemented in UnixSockServer are working properly into xfrout_test.py. - implemented enabling/disabling counting in the new counter class.
Showing with 513 additions and 1 deletion