Fixed P4Runtime spelling (#162)

As agreed in the P4 API WG
This commit is contained in:
Carmelo Cascone
2018-06-01 11:16:13 -07:00
committed by Nate Foster
parent 08445e0b18
commit 948a890700
6 changed files with 21 additions and 21 deletions

View File

@@ -38,7 +38,7 @@ def configureP4Switch(**switch_args):
switch's thrift server is using a unique port.
"""
if "sw_path" in switch_args and 'grpc' in switch_args['sw_path']:
# If grpc appears in the BMv2 switch target, we assume will start P4 Runtime
# If grpc appears in the BMv2 switch target, we assume will start P4Runtime
class ConfiguredP4RuntimeSwitch(P4RuntimeSwitch):
def __init__(self, *opts, **kwargs):
kwargs.update(switch_args)