constants

Constants module.

wmflib.constants.ALL_DATACENTERS = ('eqiad', 'codfw', 'esams', 'ulsfo', 'eqsin', 'drmrs', 'magru')

all WMF datacenters.

Type:

tuple

wmflib.constants.CORE_DATACENTERS = ('eqiad', 'codfw')

WMF core datacenters.

Type:

tuple

wmflib.constants.PUBLIC_AUTHDNS = ('208.80.154.238', '208.80.153.231', '198.35.27.27')

publicly Authorative DNS servers for the WMF domains.

Type:

tuple

wmflib.constants.DATACENTER_NUMBERING_PREFIX = {'codfw': '2', 'drmrs': '6', 'eqiad': '1', 'eqsin': '5', 'esams': '3', 'magru': '7', 'ulsfo': '4'}

mapping of hostname prefix for numbered servers for each WMF datacenter.

Type:

dict