blob: 4142ea74030befc702b29df7ab576482e33dffe7 [file] [log] [blame]
savex4448e132018-04-25 15:51:14 +02001"""Constants that is not to be changed and used in all other files
2"""
3
4from __future__ import print_function, absolute_import
5
6import itertools
7
8_cnt = itertools.count()
9NODE_DOWN = next(_cnt)
10NODE_UP = next(_cnt)
11
12del _cnt
13
14all_roles_map = {
15 "apt": "repository",
16 "bmk": "validation",
17 "cfg": "master",
18 "cid": "cicd",
19 "cmn": "storage_monitor",
20 "cmp": "compute",
21 "ctl": "openstack_controller",
22 "dbs": "database",
23 "gtw": "openstack_gateway",
24 "kvm": "foundation",
25 "log": "stacklight_logger",
26 "mon": "monitoring",
27 "msg": "messaging",
28 "mtr": "stacklight_metering",
29 "osd": "storage_node",
30 "prx": "proxy",
31 "rgw": "storage_rados"
32}