Skip to content

Commit

Permalink
Merge pull request sonata-nfv#83 from mpeuster/master
Browse files Browse the repository at this point in the history
Made tng-bench compatible to https://github.com/sonata-nfv/son-emu/is…
  • Loading branch information
Manuel Peuster committed Apr 13, 2019
2 parents daf461f + 176b9fb commit c27e0e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tngsdk/benchmark/pdriver/vimemu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
MP_IN_KEY = "ep::function::mp.input::"
MP_OUT_KEY = "ep::function::mp.output::"
# FIXME currently the keys for selecting the MPs are fixed
MP_IN_NAME = "mp.input.vdu01"
MP_OUT_NAME = "mp.output.vdu01"
MP_IN_NAME = "mp.input.vdu01.0"
MP_OUT_NAME = "mp.output.vdu01.0"


class VimEmuDriver(object):
Expand Down Expand Up @@ -241,7 +241,7 @@ def get_cname_by_parameter(self, ec, param_func_name, param_unit_name):
"""
if param_unit_name is None: # case (a)
param_unit_name = "vdu01" # FIXME thus we use "vdu01" as default
return "{}.{}".format(
return "{}.{}.0".format( # FIXME assumes single service instance ".0"
ec.function_ids.get(
param_func_name, param_func_name), param_unit_name)

Expand Down

0 comments on commit c27e0e8

Please sign in to comment.