Ejemplo n.º 1
0
 def initialize(self, connection, driver_type):
     LOG.info('%s(): caller(): %s', log_utils.get_fname(1),
              log_utils.get_fname(2))
     """Initialize agent extension."""
     self.resource_rpc = resources_rpc.ResourcesPullRpcApi()
     self._register_rpc_consumers()
     self.gateway_ip_qos_map = qos_base.RateLimitMaps(
         "gateway-ip-qos-cache")
Ejemplo n.º 2
0
 def initialize(self, connection, driver_type):
     """Initialize agent extension."""
     self.resource_rpc = resources_rpc.ResourcesPullRpcApi()
     self._register_rpc_consumers()
     self.gateway_ip_qos_map = qos_base.RateLimitMaps(
         "gateway-ip-qos-cache")
Ejemplo n.º 3
0
 def setUp(self):
     super(RateLimitMapsTestCase, self).setUp()
     self.policy_map = qos_base.RateLimitMaps("cache-lock")