Home
last modified time | relevance | path

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

/openbmc/entity-manager/scripts/
H A Dvalidate_configs.py97 schema_file = args.schema
98 if schema_file is None:
101 schema_file = os.sep + os.path.join(
169 schema_file,
209 def validator_from_file(schema_file): argument
212 schema_path = os.path.dirname(schema_file)
243 if schema_file == full_file_path:
255 args, filename, config, expected_fails, schema_file argument
263 validator = validator_from_file(schema_file)
/openbmc/libcper/tests/
H A Dtest-utils.c206 const char *schema_file; in schema_validate_from_file() local
208 schema_file = "cper-json-section-log.json"; in schema_validate_from_file()
210 schema_file = "cper-json-full-log.json"; in schema_validate_from_file()
213 int size = strlen(schema_file) + 1 + strlen(LIBCPER_JSON_SPEC) + 1; in schema_validate_from_file()
215 snprintf(schema_path, size, "%s/%s", LIBCPER_JSON_SPEC, schema_file); in schema_validate_from_file()
/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/include/libcper/
H A Djson-schema.h15 int validate_schema_from_file(const char *schema_file, json_object *object,
/openbmc/bmcweb/scripts/
H A Dupdate_schemas.py138 ) as schema_file:
141 schema_file.write(content)
/openbmc/phosphor-logging/extensions/openpower-pels/registry/tools/
H A Dvalidate_registry.py177 schema = args.schema_file