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

@@ -145,11 +145,11 @@ def printCounter(p4info_helper, sw, counter_name, index):
def main(p4info_file_path, bmv2_file_path):
# Instantiate a P4 Runtime helper from the p4info file
# Instantiate a P4Runtime helper from the p4info file
p4info_helper = p4runtime_lib.helper.P4InfoHelper(p4info_file_path)
# Create a switch connection object for s1 and s2;
# this is backed by a P4 Runtime gRPC connection.
# this is backed by a P4Runtime gRPC connection.
# Also, dump all P4Runtime messages sent to switch to given txt files.
s1 = p4runtime_lib.bmv2.Bmv2SwitchConnection(
name='s1',