rctab.routers.accounting.desired_states

Calculate and disseminate the desired states of subscriptions.

Functions

authenticate_app([token])

Authenticate the controller app.

get_desired_states([_, conn])

Get the desired states of subscriptions that need to be enabled/disabled.

refresh_desired_states(conn, admin_oid[, ...])

Inserts new status rows for if the desired status has changed.

Classes

TmpReturnStatus(*, status)

A wrapper for a status message.