forked from goebelmeier/racktables2netbox
-
Notifications
You must be signed in to change notification settings - Fork 3
/
conf.sample.yaml
48 lines (48 loc) · 1.29 KB
/
conf.sample.yaml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#:===== 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: logs/migration.log
DEBUG_LOG: logs/debug.log
CLEAN_LOG: logs/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
#:===== Data to Migrate:======== #
Migrate:
TAGS: True
CUSTOM_ATTRIBUTES: True
INFRA: True
VLAN: True
SUBNETS: True
IPS: True
HARDWARE: True
PATCHPANELS: True
PDUS: True
VMS: True
FILES: False
#:===== Other settings:======== #
Misc:
FILE_SEARCH_URI: https://company_name.sharepoint.com/sites/company_name/Shared%20Documents/Shared/folder-name/rt_export/
DEFAULT_DEVICE_ROLE_ID: 1 # Numeral or False
DEFAULT_VM_CLUSTER_ID: 1
SITE_NAME_CLEANUP: True
SKIP_DEVICES_WITHOUT_TEMPLATE: True
SKIP_OBJECTS_WITH_TAGS: Decommissioned_gone
vm_objtype_ids: ",1507,50189"
CUSTOM_FIELD_MAPPER:
OEM S/N 1: serial
hardware_data_filter: >-
AND Object.has_problems = "no"
device_data_filter: >-
AND Object.has_problems = "no"
device_data_filter_obj_only: >-
Object.has_problems = "no"