glusterfs  8.2
About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 8.x (latest version).
  Fossies Dox: glusterfs-8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

eventsapiconf.py File Reference

Go to the source code of this file.

Namespaces

 src.eventsapiconf
 

Functions

def src.eventsapiconf.get_glusterd_workdir ()
 

Variables

 src.eventsapiconf.glusterd_workdir = None
 
string src.eventsapiconf.SERVER_ADDRESS = "0.0.0.0"
 
string src.eventsapiconf.SERVER_ADDRESSv4 = "0.0.0.0"
 
string src.eventsapiconf.SERVER_ADDRESSv6 = "::1"
 
string src.eventsapiconf.DEFAULT_CONFIG_FILE = "/usr/local/etc/glusterfs/eventsconfig.json"
 
string src.eventsapiconf.CUSTOM_CONFIG_FILE_TO_SYNC = "/events/config.json"
 
def src.eventsapiconf.CUSTOM_CONFIG_FILE = get_glusterd_workdir() + CUSTOM_CONFIG_FILE_TO_SYNC
 
string src.eventsapiconf.WEBHOOKS_FILE_TO_SYNC = "/events/webhooks.json"
 
def src.eventsapiconf.WEBHOOKS_FILE = get_glusterd_workdir() + WEBHOOKS_FILE_TO_SYNC
 
string src.eventsapiconf.LOG_FILE = "/var/log/glusterfs/events.log"
 
string src.eventsapiconf.EVENTSD = "glustereventsd"
 
list src.eventsapiconf.CONFIG_KEYS = ["log-level", "port", "disable-events-log"]
 
list src.eventsapiconf.BOOL_CONFIGS = ["disable-events-log"]
 
list src.eventsapiconf.INT_CONFIGS = ["port"]
 
list src.eventsapiconf.RESTART_CONFIGS = ["port"]
 
int src.eventsapiconf.EVENTS_ENABLED = 1
 
def src.eventsapiconf.UUID_FILE = get_glusterd_workdir() + "/glusterd.info"
 
string src.eventsapiconf.PID_FILE = "/var/run/glustereventsd.pid"
 
list src.eventsapiconf.AUTO_BOOL_ATTRIBUTES = ["force", "push-pem", "no-verify"]
 
list src.eventsapiconf.AUTO_INT_ATTRIBUTES = ["ssh-port"]
 
def src.eventsapiconf.CERTS_DIR = get_glusterd_workdir() + "/events"
 
int src.eventsapiconf.ERROR_SAME_CONFIG = 2
 
int src.eventsapiconf.ERROR_ALL_NODES_STATUS_NOT_OK = 3
 
int src.eventsapiconf.ERROR_PARTIAL_SUCCESS = 4
 
int src.eventsapiconf.ERROR_WEBHOOK_ALREADY_EXISTS = 5
 
int src.eventsapiconf.ERROR_WEBHOOK_NOT_EXISTS = 6
 
int src.eventsapiconf.ERROR_INVALID_CONFIG = 7
 
int src.eventsapiconf.ERROR_WEBHOOK_SYNC_FAILED = 8
 
int src.eventsapiconf.ERROR_CONFIG_SYNC_FAILED = 9