mirror of
https://opendev.org/openstack/python-neutronclient.git
synced 2026-01-16 23:12:23 +00:00
Add friendly event hints for logging
When creating a network log with the '--event' parameter, it is impossible to know which parameter values can be specified, and it is necessary to add a prompt. Change-Id: I6aa4f95b650cdc7b04e74b851a78a2ae42fc288a
This commit is contained in:
parent
cf95be3ea5
commit
34924865b3
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class CreateNetworkLog(command.ShowOne):
|
|||
help=_('Name for the network log'))
|
||||
parser.add_argument(
|
||||
'--event',
|
||||
metavar='<event>',
|
||||
metavar='{ALL,ACCEPT,DROP}',
|
||||
choices=['ALL', 'ACCEPT', 'DROP'],
|
||||
type=nc_utils.convert_to_uppercase,
|
||||
help=_('An event to store with log'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue