Home
last modified time | relevance | path

Searched refs:schema_file (Results 1 – 7 of 7) sorted by relevance

/openbmc/entity-manager/scripts/
H A Dvalidate_configs.py73 schema_file = args.schema
74 if schema_file is None:
77 schema_file = os.sep + os.path.join(
90 with open(schema_file) as fd:
94 "Could not read schema file '{}'\n".format(schema_file)
140 os.path.split(os.path.realpath(schema_file))[0]
/openbmc/phosphor-power/phosphor-regulators/tools/
H A Dvalidate-regulators-config.py398 if not args.schema_file:
401 if not os.path.exists(args.schema_file):
404 if not os.access(args.schema_file, os.R_OK):
407 if not validate_JSON_format(args.schema_file):
423 config_json = validate_schema(args.configuration_file, args.schema_file)
/openbmc/libcper/
H A Djson-schema.c38 int validate_schema_from_file(const char *schema_file, json_object *object, in validate_schema_from_file() argument
42 json_object *schema_ir = json_object_from_file(schema_file); in validate_schema_from_file()
46 schema_file); in validate_schema_from_file()
51 char *schema_file_copy = malloc(strlen(schema_file) + 1); in validate_schema_from_file()
52 strcpy(schema_file_copy, schema_file); in validate_schema_from_file()
H A Djson-schema.h11 int validate_schema_from_file(const char *schema_file, json_object *object,
/openbmc/qemu/scripts/qapi/
H A Dmain.py31 def generate(schema_file: str,
50 schema = QAPISchema(schema_file)
/openbmc/bmcweb/scripts/
H A Dupdate_schemas.py110 ) as schema_file:
113 schema_file.write(content)
/openbmc/phosphor-logging/extensions/openpower-pels/registry/tools/
H A Dvalidate_registry.py177 schema = args.schema_file