-
Notifications
You must be signed in to change notification settings - Fork 15
/
nrx.conf
36 lines (36 loc) · 1.78 KB
/
nrx.conf
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
# NetBox API URL. Alternatively, use --api argument or NB_API_URL environmental variable
;NB_API_URL = 'https://demo.netbox.dev'
# NetBox API Token. Alternatively, use NB_API_TOKEN environmental variable
;NB_API_TOKEN = ''
# Peform TLS certification validation
;TLS_VALIDATE = true
# API request timeout, in seconds
;API_TIMEOUT = 10
# Output format to use for export: 'gml' | 'cyjs' | 'clab'. Alternatively, use --output argument
;OUTPUT_FORMAT = 'clab'
# Override output directory. By default, a subdirectory matching topology name will be created. Alternatively, use --dir argument. Env vars are supported
;OUTPUT_DIR = '$HOME/nrx'
# List of NetBox Device Roles to export
;EXPORT_DEVICE_ROLES = ['router', 'core-switch', 'distribution-switch', 'access-switch', 'tor-switch']
# NetBox Site to export. Alternatively, use --site or --sites arguments
;EXPORT_SITES = ['DC1']
# NetBox tags to export. Alternatively, use --tags argument
;EXPORT_TAGS = []
# Export device configurations, when available
;EXPORT_CONFIGS = true
# Templates search path. Default path is ['./templates','$HOME/.nr/templates']. Env vars are supported
;TEMPLATES_PATH = ['./templates','$HOME/.nr/custom','$HOME/.nr/templates']
# Platform map path. If not provided, 'platform_map.yaml' in the current directory is checked first, and then in the TEMPLATES_PATH folders. Env vars are supported
;PLATFORM_MAP = '$HOME/.nr/platform_map.yaml'
# Levels of device roles for visualization
[DEVICE_ROLE_LEVELS]
;unknown = 0
;server = 0
;tor-switch = 1
;access-switch = 1
;leaf = 1
;distribution-switch = 2
;spine = 2
;core-switch = 3
;super-spine = 3
;router = 4