Skip to content

Commit

Permalink
Fixed description
Browse files Browse the repository at this point in the history
Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
  • Loading branch information
vadymhlushko-mlnx committed Jul 22, 2021
1 parent a6fae69 commit 6a19368
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions config/plugins/pbh.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,13 @@ def PBH_HASH_FIELD():
)
@click.option(
"--hash-field",
help="Configure native hash field for this hash field",
help="Configures native hash field for this hash field",
required=True,
type=click.Choice(hash_field_types)
)
@click.option(
"--ip-mask",
help="""Configures IPv4/IPv6 address mask for this hash field, required when the value of --hash-field are - INNER_DST_IPV4 or
INNER_SRC_IPV4 or INNER_SRC_IPV4 or INNER_SRC_IPV4 """,
help="""Configures IPv4/IPv6 address mask for this hash field, required when the value of --hash-field is - INNER_DST_IPV4 or INNER_SRC_IPV4 or INNER_SRC_IPV6 or INNER_SRC_IPV6""",
callback=ip_address_validator,
)
@click.option(
Expand Down Expand Up @@ -350,7 +349,7 @@ def PBH_HASH_FIELD_add(db, hash_field_name, hash_field, ip_mask, sequence_id):
)
@click.option(
"--ip-mask",
help="Configures IPv4/IPv6 address mask for this hash field",
help="""Configures IPv4/IPv6 address mask for this hash field, required when the value of --hash-field is - INNER_DST_IPV4 or INNER_SRC_IPV4 or INNER_SRC_IPV6 or INNER_SRC_IPV6 """,
callback=ip_address_validator,
)
@click.option(
Expand Down Expand Up @@ -508,7 +507,7 @@ def PBH_RULE():
)
@click.option(
"--priority",
help="Configures priority",
help="Configures priority for this rule",
required=True,
type=click.INT,
)
Expand Down Expand Up @@ -545,11 +544,11 @@ def PBH_RULE():
@click.option(
"--hash",
required=True,
help="Configures the hash to apply",
help="The hash to apply with this rule",
)
@click.option(
"--packet-action",
help="Configures packet action",
help="Configures packet action for this rule",
type=click.Choice(packet_action_types)
)
@click.option(
Expand Down Expand Up @@ -623,7 +622,7 @@ def PBH_RULE_add(
)
@click.option(
"--priority",
help="Configures priority",
help="Configures priority for this rule",
type=click.INT,
)
@click.option(
Expand Down Expand Up @@ -662,7 +661,7 @@ def PBH_RULE_add(
)
@click.option(
"--packet-action",
help="Configures packet action",
help="Configures packet action for this rule",
type=click.Choice(packet_action_types)
)
@click.option(
Expand Down

0 comments on commit 6a19368

Please sign in to comment.