Open Kilda Java Documentation
config.py File Reference

Go to the source code of this file.

Namespaces

 topologylistener.config
 

Functions

def topologylistener.config.read_option (section, name, conv=None, default=_dummy)
 
def topologylistener.config.get (section, option)
 
def topologylistener.config.getint (section, option)
 
def topologylistener.config.getboolean (section, option)
 
def topologylistener.config.read_and_format_with_env_name (name)
 

Variables

 topologylistener.config.config = ConfigParser.RawConfigParser()
 
 topologylistener.config.path = os.path.join(_root, os.pardir, 'topology_engine.ini')
 
 topologylistener.config.ENVIRONMENT_NAMING_PREFIX = None
 
def topologylistener.config.KAFKA_BOOTSTRAP_SERVERS = _get_bootstrap_servers()
 
def topologylistener.config.KAFKA_FLOW_TOPIC = read_and_format_with_env_name('flow.topic')
 
def topologylistener.config.KAFKA_CACHE_TOPIC = read_and_format_with_env_name('cache.topic')
 
def topologylistener.config.KAFKA_SPEAKER_TOPIC = read_and_format_with_env_name('speaker.topic')
 
def topologylistener.config.KAFKA_TOPO_ENG_TOPIC = read_and_format_with_env_name('topo.eng.topic')
 
def topologylistener.config.KAFKA_NORTHBOUND_TOPIC = read_and_format_with_env_name('northbound.topic')
 
def topologylistener.config.KAFKA_CONSUMER_GROUP = read_and_format_with_env_name('consumer.group')
 
def topologylistener.config.ZOOKEEPER_HOSTS = config.get('zookeeper', 'hosts')
 
def topologylistener.config.NEO4J_SOCKET_TIMEOUT
 
def topologylistener.config.ISL_COST_WHEN_PORT_DOWN