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")
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")
def setUp(self): super(RateLimitMapsTestCase, self).setUp() self.policy_map = qos_base.RateLimitMaps("cache-lock")