Add correlation type "nsh" to both PPs and PCs

Add correlation type "nsh" to both Port Pair and Port Create
commands' help descriptions.

The NSH correlation/encapsulation has been added to networking-sfc
and this patch makes the client show the option in the help description.

Change-Id: Ib25d24cd05e994b7865641a8235d36c741533488
Partial-Bug: #1625278
This commit is contained in:
Igor Duarte Cardoso
2017-07-27 12:48:49 +00:00
committed by Igor D.C
parent 0907ccc4df
commit 937f640338
2 changed files with 3 additions and 2 deletions

View File

@@ -68,7 +68,8 @@ class CreateSfcPortChain(command.ShowOne):
action=parseractions.MultiKeyValueAction,
optional_keys=['correlation', 'symmetric'],
help=_('Dictionary of chain parameters. Supports '
'correlation=mpls and symmetric=true|false.'))
'correlation=(mpls|nsh) (default is mpls) '
'and symmetric=(true|false).'))
parser.add_argument(
'--port-pair-group',
metavar='<port-pair-group>',

View File

@@ -58,7 +58,7 @@ class CreateSfcPortPair(command.ShowOne):
action=parseractions.MultiKeyValueAction,
optional_keys=['correlation', 'weight'],
help=_('Dictionary of service function parameters. '
'Currently, correlation=(None|mpls) and weight '
'Currently, correlation=(None|mpls|nsh) and weight '
'are supported. Weight is an integer that influences '
'the selection of a port pair within a port pair group '
'for a flow. The higher the weight, the more flows will '