def _get_key_net(): """Returns an str with the next network key id.""" return str(red.incr(_KEY_NET_ID))
def _get_key_api(): """Returns an str with the next api-key id.""" return str(red.incr(_KEY_APIK_ID))
def _get_key_entry(): """Returns a str with the next entry key.""" return str(red.incr(_KEY_ENTRY_ID))
def _get_key_host(): """Returns a str with the next host id.""" return str(red.incr(_KEY_HOST_ID))
def _get_key_event(): """Returns an str with the next alert key id.""" return str(red.incr(_KEY_EVENT_ID))