aboutsummaryrefslogtreecommitdiffstats
path: root/.coveragerc
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-07-04 17:54:05 +0100
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-07-13 17:14:06 +0000
commitf3cae5191bb3c944fd08780d8a8940d2aa60c4d0 (patch)
treec3e037bd041f0bbc4391028f1eb5b283771429ab /.coveragerc
parentf6fa0d7422f0669d049dbf07a51eb39b1dc25830 (diff)
Create a SampleVNF MQ consumer class
This new class is designed to be used in a ``GenericVNF`` object (VNF or traffic generator) in a builder pattern. This consumer class will be instantiated when initializing the ``GenericVNF`` derived object. The ``GenericVNFConsumer`` endpoint is the ``GenericVNF``derived object itself. ``GenericVNFEndpoint`` is an interface class to be inherited in a ``GenericVNF`` child object; the VNF object will implement the endpoints methods. NewVNF(GenericVNF, GenericVNFEndpoint): def __init__(self, name, vnfd, task_id): ... self._consumer = vnf_base.GenericVNFConsumer([task_id], self) self._consumer.start_rpc_server() JIRA: YARDSTICK-1293 Change-Id: I1bcd980352099e9ebefdab0c96d51aa46f6a1e54 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Diffstat (limited to '.coveragerc')
0 files changed, 0 insertions, 0 deletions