forked from goebelmeier/racktables2netbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.sample
25 lines (25 loc) · 980 Bytes
/
conf.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# ====== MySQL Source (Racktables) ====== #
[MySQL]
DB_IP = racktables.example.net
DB_PORT = 3306
DB_NAME = racktables
DB_USER = netbox
DB_PWD = PASSWORD
# ====== Log settings ==================== #
[Log]
LOGFILE = migration.log
DEBUG_LOG = debug.log
CLEAN_LOG = clean_netbox.log
STDOUT = True # print to STDOUT
DEBUG = True # write debug log
# ====== NetBox upload settings ========= #
[NetBox]
NETBOX_TOKEN = NETBOX_API_TOKEN
NETBOX_HOST = https://netbox.example.net
# ====== Other settings ========= #
[Misc]
CHILD_AS_BUILDING = True # use RTs sub-location as Device42 building. If False, use it as a Device42 room.
ROW_AS_ROOM = True # use RTs row as Device42 room.
# Note: Rooms are required because racks are mounted to rooms, not to buildings!
PDU_MOUNT = left # Can be one of: left, right, above, below. Used for Zero-U PDU migration. Default is left
PDU_ORIENTATION = front # can be one of: front, back. Used for Zero-U PDU migration. Default is front