apps.crc_sus ====================== .. autoapi-nested-parse:: Print an account's service unit allocation, with a usage value relative to that amount. This application is designed to interface with the Keystone banking system and will not work without a running keystone installation. Module Contents --------------- .. py:class:: CrcSus Bases: :py:obj:`apps.utils.cli.BaseParser` Display the number of service units allocated to an account. .. py:method:: build_output_string(account: str, used: int, total: int, cluster: str) -> str :staticmethod: Build a string describing an account's service unit allocation :param account: The name of the account :param total: The number of service units allocated for each cluster :param used: number of SUs used on the cluster :param cluster: name of cluster :returns: A string summarizing the account allocation .. py:method:: app_logic(args: argparse.Namespace) -> None Logic to evaluate when executing the application :param args: Parsed command line arguments