diff options
author | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-07-04 17:54:05 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-07-18 09:31:28 +0000 |
commit | e7c55fc16d2e402b38e803ead9a2227b0f9bf38f (patch) | |
tree | 4b94def21abaf2a2aae271de774d5e68c79c4e99 /docs/glossary | |
parent | 0f88066c52fb818bc37768f681e1d41be39614c5 (diff) |
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- 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 'docs/glossary')
0 files changed, 0 insertions, 0 deletions