1 lutego 2019

Web-ui

Diagnose web-ui cli-schema

Firmware – FortiOS: 5.4
This command is used to display the CLI schema.

Syntax
diagnose web-ui cli-schema: To display the entire schema
diagnose web-ui cli-schema : To display just a single branch of the tree
diagnose web-ui cli-schema firewall policy: To display the firewall policy schema

Example
diagnose web-ui cli-schema
[cmdb_find_node:1280] Unexpected path = NULL
Traceback (most recent call last):
File „manage.py”, line 37, in
execute_manager(settings)
File „/usr/lib/py-libs/django/core/management/__init__.py”, line 438, in execute_manager
utility.execute()
File „/usr/lib/py-libs/django/core/management/__init__.py”, line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File „/usr/lib/py-libs/django/core/management/base.py”, line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File „/usr/lib/py-libs/django/core/management/base.py”, line 218, in execute
output = self.handle(*args, **options)
File „/usr/lib/proj/utils/management/commands/schema.py”, line 25, in handle
print(CMDB.get_schema(path, name, use_json=True))
File „cmdb.pyx”, line 654, in cmdb.CMDB.get_schema (/src/FortiOS/fortinet/fortiweb/packages/ext/obj/release-arm-fg/cmdb.c:9520)