Module Import alias ImportFrom alias Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore Num ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad Num CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad Num CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareLt NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotIn Str NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad If CompareNotIn Str NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Return Call NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A logging polaris_health Error N/A __all__ N/A GlobalName N/A LOG N/A N/A logging getLogger __name__ N/A N/A N/A LOG addHandler N/A N/A logging NullHandler N/A MAX_NAME_LEN 256 N/A MAX_POOL_NAME_LEN 256 N/A MIN_TTL 1 GlobalName N/A N/A N/A Load-balnced DNS name __init__ N/A N/A self name pool_name ttl N/A N/A N/A 
        args:
            name: str, DNS name to be load-balanced
            pool_name: str, name of a pool to load balance against
            ttl: int, ttl value to return with responses
        
         N/A N/A self name N/A N/A name lower N/A N/A N/A N/A isinstance name str N/A N/A len name 0 N/A N/A len name MAX_NAME_LEN N/A N/A log_msg N/A N/A name "{}" must be a non-empty str, {} chars max format name MAX_NAME_LEN N/A N/A N/A LOG error log_msg N/A N/A Error log_msg N/A N/A self pool_name pool_name N/A N/A N/A N/A isinstance pool_name str N/A N/A len pool_name 0 N/A N/A len pool_name MAX_POOL_NAME_LEN N/A N/A log_msg N/A N/A pool_name "{}" must be a non-empty str, {} chars max format pool_name MAX_POOL_NAME_LEN N/A N/A N/A LOG error log_msg N/A N/A Error log_msg N/A N/A self ttl ttl N/A N/A N/A N/A isinstance ttl int N/A ttl MIN_TTL N/A N/A log_msg N/A N/A ttl must be an int greater or equal {} format ttl MIN_TTL N/A N/A N/A LOG error log_msg N/A N/A Error log_msg N/A from_config_dict N/A N/A cls name obj N/A N/A N/A Build a GlobalName object from a config dict.

        args:
            name: str, name of the globalname
            obj: dict, config dict

         N/A N/A pool obj N/A N/A log_msg N/A N/A "{}" is missing a mandatory parameter "pool" format name N/A N/A N/A LOG error log_msg N/A N/A Error log_msg N/A N/A ttl obj N/A N/A log_msg N/A N/A "{}" is missing a mandatory parameter "ttl" format name N/A N/A N/A LOG error log_msg N/A N/A Error log_msg N/A N/A cls name name pool_name N/A obj N/A pool ttl N/A obj N/A ttl N/A classmethod to_dist_dict N/A N/A self N/A N/A N/A Return a dict representation of the GlobalName required by 
        Polaris PDNS to perform distribution.

        Example:
            {
                'pool_name': 'pool1',
                'ttl': 1
            }

         N/A obj N/A N/A N/A obj N/A pool_name N/A self pool_name N/A N/A obj N/A ttl N/A self ttl N/A obj N/A N/A