#!/usr/bin/env python3
# Copyright (c) 2018 Arista Networks, Inc.  All rights reserved.
# Arista Networks, Inc. Confidential and Proprietary.

import syslog
import GrpcCounterAgent

if __name__ == '__main__':
   syslog.openlog( 'CounterGrpcDialOut', syslog.LOG_PID, syslog.LOG_LOCAL4 )
   agent = GrpcCounterAgent.CounterDialOutAgent( 'ar' )
   if agent.initialized:
      try:
         agent.run()
      except KeyboardInterrupt:
         agent.cleanup()

