You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
argget.add_argument('--desc', type=str, default='No desc', help='sysdescription for identifying logs')
361
362
argget.add_argument('--payload', type=str, help='mode to validate payloads [Tree, Single, SingleFile, TreeFile] followed by resource/filepath', nargs=2)
362
-
argget.add_argument('-v', action='store_true', help='verbose log output to stdout')
363
+
argget.add_argument('-v', action='store_const', const=True, default=None, help='verbose log output to stdout (parameter-only)')
363
364
argget.add_argument('--logdir', type=str, default='./logs', help='directory for log files')
argget.add_argument('-i', '--ip', type=str, help='ip to test on [host:port]')
372
-
argget.add_argument('-u', '--user', default='', type=str, help='user for basic auth')
373
-
argget.add_argument('-p', '--passwd', default='', type=str, help='pass for basic auth')
373
+
argget.add_argument('-u', '--user', type=str, help='user for basic auth')
374
+
argget.add_argument('-p', '--passwd', type=str, help='pass for basic auth')
374
375
argget.add_argument('--linklimit', type=str, help='Limit the amount of links in collections, formatted TypeName:## TypeName:## ..., default LogEntry:20 ', nargs='*')
375
-
argget.add_argument('--sample', type=int, default=0, help='sample this number of members from large collections for validation; default is to validate all members')
376
-
argget.add_argument('--timeout', type=int, default=30, help='requests timeout in seconds')
377
-
argget.add_argument('--nochkcert', action='store_true', help='ignore check for certificate')
378
-
argget.add_argument('--nossl', action='store_true', help='use http instead of https')
379
-
argget.add_argument('--forceauth', action='store_true', help='force authentication on unsecure connections')
380
-
argget.add_argument('--authtype', type=str, default='Basic', help='authorization type (None|Basic|Session|Token)')
381
-
argget.add_argument('--localonly', action='store_true', help='only use locally stored schema on your harddrive')
argget.add_argument('--service', action='store_true', help='only use uris within the service')
384
-
argget.add_argument('--ca_bundle', default="", type=str, help='path to Certificate Authority bundle file or directory')
385
-
argget.add_argument('--token', default="", type=str, help='bearer token for authtype Token')
386
-
argget.add_argument('--http_proxy', type=str, default='', help='URL for the HTTP proxy')
387
-
argget.add_argument('--https_proxy', type=str, default='', help='URL for the HTTPS proxy')
388
-
argget.add_argument('--cache', type=str, help='cache mode [Off, Fallback, Prefer] followed by directory', nargs=2)
389
-
argget.add_argument('--uri_check', action='store_true', help='Check for URI if schema supports it')
376
+
argget.add_argument('--sample', type=int, help='sample this number of members from large collections for validation; default is to validate all members')
377
+
argget.add_argument('--timeout', type=int, help='requests timeout in seconds')
378
+
argget.add_argument('--nochkcert', action='store_const', const=True, default=None, help='ignore check for certificate')
379
+
argget.add_argument('--nossl', action='store_const', const=True, default=None, help='use http instead of https')
380
+
argget.add_argument('--forceauth', action='store_const', const=True, default=None, help='force authentication on unsecure connections')
381
+
argget.add_argument('--authtype', type=str, help='authorization type (None|Basic|Session|Token)')
382
+
argget.add_argument('--localonly', action='store_const', const=True, default=None, help='only use locally stored schema on your harddrive')
argget.add_argument('--service', action='store_const', const=True, default=None, help='only use uris within the service')
385
+
argget.add_argument('--ca_bundle', type=str, help='path to Certificate Authority bundle file or directory')
386
+
argget.add_argument('--token', type=str, help='bearer token for authtype Token')
387
+
argget.add_argument('--http_proxy', type=str, help='URL for the HTTP proxy')
388
+
argget.add_argument('--https_proxy', type=str, help='URL for the HTTPS proxy')
389
+
argget.add_argument('--cache', type=str, help='cache mode [Off, Fallback, Prefer] followed by directory to fallback or override problem service JSON payloads', nargs=2)
390
+
argget.add_argument('--uri_check', action='store_const', const=True, default=None, help='Check for URI if schema supports it')
391
+
argget.add_argument('--version_check', type=str, help='Change default tool configuration based on the version provided (default use target version)')
390
392
391
393
# metadata
392
-
argget.add_argument('--schemadir', type=str, default='./SchemaFiles/metadata', help='directory for local schema files')
393
-
argget.add_argument('--schema_pack', type=str, default='', help='Deploy DMTF schema from zip distribution, for use with --localonly (Specify url or type "latest", overwrites current schema)')
394
-
argget.add_argument('--suffix', type=str, default='_v1.xml', help='suffix of local schema files (for version differences)')
394
+
argget.add_argument('--schemadir', type=str, help='directory for local schema files')
395
+
argget.add_argument('--schema_pack', type=str, help='Deploy DMTF schema from zip distribution, for use with --localonly (Specify url or type "latest", overwrites current schema)')
396
+
argget.add_argument('--suffix', type=str, help='suffix of local schema files (for version differences)')
395
397
396
398
# Config information unique to Interop Validator
397
399
argget.add_argument('profile', type=str, default='sample.json', help='interop profile with which to validate service against')
398
400
argget.add_argument('--schema', type=str, default=None, help='schema with which to validate interop profile against')
399
401
argget.add_argument('--warnrecommended', action='store_true', help='warn on recommended instead of pass')
400
402
401
-
rsvLogger.info("Redfish Interop Validator, version {}".format(tool_version))
0 commit comments