1 # Copyright (c) 2016-2018 Intel Corporation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 """ Fixed traffic profile definitions """
20 from yardstick.network_services.traffic_profile.prox_profile import ProxProfile
22 LOG = logging.getLogger(__name__)
25 class ProxIrqProfile(ProxProfile):
27 This profile adds a single stream at the beginning of the traffic session
30 def __init__(self, tp_config):
31 super(ProxIrqProfile, self).__init__(tp_config)
33 def init(self, queue):
35 self.queue.cancel_join_thread()
37 def execute_traffic(self, traffic_generator):
38 LOG.debug("Prox_IRQ Execute Traffic....")
48 LOG.info("Prox_IRQ ....")