# keystone.limit.models.strict_two_level module

class keystone.limit.models.strict_two_level.StrictTwoLevelModel

  Bases: `ModelBase`

  DESCRIPTION: str = 'This model requires project hierarchy never exceeds a depth of two'
  MAX_PROJECT_TREE_DEPTH: ty.Optional[int] = 2
  NAME: str = 'strict_two_level'
  check_limit(limits)

    Check the input limits satisfy the related project tree or not.

    1. Ensure the input is legal.

    2. Ensure the input will not break the exist limit tree.

this page last updated: 2026-06-11 21:52:50

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug