Update git submodules
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 9 Jul 2018 07:07:57 +0000 (07:07 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Mon, 9 Jul 2018 07:07:57 +0000 (07:07 +0000)
commita28a79c911e1293edf901abee79eb88dbf3d7b5b
treedf7fb8734582ca0149004d347ed57c259f03672b
parent49a8dd3ae23fc2aec009e380c1a1463b8725815d
Update git submodules

* Update docs/submodules/yardstick from branch 'master'
  - Merge changes from topics 'YARDSTICK-1286', 'YARDSTICK-1127'

    * changes:
      Make "IterationIPC" MQ producer for VNF control messages
      Enable traffic generator PID in "NSPerf" scenario setup
      Enable the MQ producer in "SampleVNFTrafficGen" class
      Add "TrafficGeneratorProducer" for "GenericTrafficGen" instances
      Add "IterationIPC" runner

  - Make "IterationIPC" MQ producer for VNF control messages

    "IterationIPC" runner class is a consumer for MQ aware VNFs. A MQ aware
    traffic generator can send "started", "finished" and "iteration"
    messages.

    This feature implements a MQ producer in the runner in order to send
    messages to the VNFs. The messages implemented are:
      - "start_iteration"
      - "stop_iteration"

    JIRA: YARDSTICK-1286

    Change-Id: I706f9a9dda5e5beed52231be7d71452945a7dbed
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
  - Enable traffic generator PID in "NSPerf" scenario setup

    Now "NSPerf" scenario will inform about the traffic generator PIDs after
    setup process. With this information, IterationIPC runner will be able
    to receive the messages sent by those traffic generators and control
    the main iteration loop.

    The following example, using vFW as VNF and OpenStack as context, makes
    use of this new runner implementation:
      /samples/vnf_samples/nsut/vfw/
        tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex_iterationipc.yaml

    JIRA: YARDSTICK-1127

    Change-Id: I46b1368bc209680b88ff9fb5c3b9beadf6271ac9
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
  - Enable the MQ producer in "SampleVNFTrafficGen" class

    Now all traffic generators using the default implementation of
    "ClientResourceHelper.run_traffic" will update the status of
    the traffic injection using the MQ.

    The available methods are listed in common.messsaging (VNF_METHOD_*):
    - tg_method_started: VNF app started
    - tg_method_finished: VNF app finished
    - tg_method_iteration: VNF app execution loop started

    JIRA: YARDSTICK-1127

    Change-Id: I12829e1762fc20cc95da3b50767a66f031e25ee8
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
  - Add "TrafficGeneratorProducer" for "GenericTrafficGen" instances

    Added "TrafficGeneratorProducer" class, a message producer specific for
    "GenericTrafficGen" derived classes.

    JIRA: YARDSTICK-1127

    Change-Id: Icc87a6920155612e759a1d4d2f29028940c2e040
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
  - Add "IterationIPC" runner

    "IterationIPC" is a runner that runs a configurable number of times before
    it returns. Each iteration has a configurable timeout. The loop control
    depends on the feedback received from the running VNFs. The context PIDs
    from the VNFs to listen the messages from are given in the scenario
    "setup" method.

    The MQ consumer, "RunnerIterationIPCConsumer", is subscribed to messages
    sent to topic "messaging.TOPIC_TG". The endpoints are defined in the
    class "RunnerIterationIPCEndpoint". Three are implemented:
    "messaging.TG_METHOD_STARTED", "messaging.TG_METHOD_FINISHED" and
    "messaging.TG_METHOD_ITERATION".

    JIRA: YARDSTICK-1127

    Change-Id: I4b2f11a15ef41e6f3c70bd64188d5c7fbcdb7eed
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
docs/submodules/yardstick