constants

Constants module.

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

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', '91.198.174.239')

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', 'ulsfo': '4'}

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

Type

dict