Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMod Str NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad If UnaryOpNot ListComp NameLoad comprehension NameStore NameLoad CompareEq SubscriptLoad NameLoad Index Str Str body Raise Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A json N/A jsonschema N/A os bareon errors bareon.openstack.common log logging N/A LOG N/A N/A logging getLogger __name__ validate N/A N/A data schema_file N/A nailgun N/A N/A Validates a given partition scheme using jsonschema.

    :param scheme: partition scheme to validate
     N/A base_path N/A N/A N/A os path dirname __file__ N/A schemas_path N/A N/A N/A os path join base_path json_schemes N/A N/A open N/A N/A N/A os path join schemas_path N/A %s.json schema_file file N/A N/A schema N/A N/A json load file N/A N/A N/A checker N/A N/A jsonschema FormatChecker N/A N/A N/A jsonschema validate data schema format_checker checker N/A N/A N/A Exception N/A exc N/A N/A N/A N/A LOG exception exc N/A N/A N/A errors WrongPartitionSchemeError N/A str exc N/A N/A N/A d N/A d data N/A N/A d N/A type disk N/A N/A N/A N/A errors WrongPartitionSchemeError Partition scheme seems empty N/A