also link to manual topology from device ports fix tooltip reinit on datatables paging Squashed commit of the following: commit85d52ed174Merge:66e3536607446ed7Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 31 08:59:19 2017 +0000 Merge branch 'master' into og-newnetmap commit66e353669dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 31 00:16:49 2017 +0000 add docs link commit809f1ede76Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 31 00:11:29 2017 +0000 node links to other devices commit187e1ea803Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 23:58:56 2017 +0000 add node infostring commit6453f99b28Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 23:41:19 2017 +0000 link infostrings! commitf3ba260142Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 22:42:09 2017 +0000 maxnoderadius is now based on dynamic size calc commit0af415e391Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 22:33:22 2017 +0000 fix to get aggregate ports in matching order on left and right side commit3f36121a4cAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 22:07:28 2017 +0000 initial aggregate link summing commite5b96b0781Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 14:55:00 2017 +0000 tidy and refactor commit79f22a47b3Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 13:42:58 2017 +0000 get rid of d3 v3/v4 and only have v3 commit18c3f16c8fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 12:54:45 2017 +0000 fullscreen exit now works commit93f8181fc8Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 30 08:58:04 2017 +0000 implement show link speeds on links commit72961f172dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Dec 28 23:51:26 2017 +0000 add speed to retrieved devicelinks commitae5496310eAuthor: Oliver Gorwits <oliver@cpan.org> Date: Tue Dec 26 11:21:12 2017 +0000 remove annealing on label change commit885cb92bd3Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Dec 26 11:15:21 2017 +0000 reorder options commit015a1debe0Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Dec 26 11:11:01 2017 +0000 fix d3-force debug link messing up svg text elements commit10ccaa78b1Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Dec 26 10:52:47 2017 +0000 show ips functionality; improvement to maximise icon; bugfix d3-force label wrap commit71a1a20909Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Dec 25 13:21:23 2017 +0000 move labels on neighbor view commit9578215349Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Dec 25 13:13:13 2017 +0000 force running spinner commit6618fba548Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 23:13:33 2017 +0000 fix neighbors pinning commit938848551eAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 18:12:04 2017 +0000 implement dynamic sizing option commite4b19be5d7Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 13:25:00 2017 +0000 zoom to device on neighbor show; do not save positions on neighbor show commit58b576b464Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 13:10:48 2017 +0000 better neighbors/save interaction commit2c77660f2fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 13:03:46 2017 +0000 fix labels on checkboxes to be clickable commit2c2dc62cdaAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 12:50:26 2017 +0000 prevent save positions when in neighbor view mode commit78c558b5beAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 12:37:51 2017 +0000 add tooltip to show why host groups radio is disabled commit7000d4b0ebAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 12:12:29 2017 +0000 allow port control role to edit manual topology commit547d2934cbAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 12:09:40 2017 +0000 working save/restore node positions with groups commitbf7e231ffeAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 24 10:09:26 2017 +0000 node colors! commite23594b041Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 23 23:42:17 2017 +0000 wooo device group selection is working commitb1b22c9811Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 23 22:31:23 2017 +0000 send full query str from netmap for json commit9a13bb7f9bAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 23 22:06:24 2017 +0000 implement host_group_displaynames and fix vlan save bug commit35ed34ed2fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 23 17:52:14 2017 +0000 when neighbors only can restrict the links search commitf9e5ec02abAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 23 17:44:41 2017 +0000 tweak mapshow commit9f9971ff4eAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 23 00:47:17 2017 +0000 better sidebar look and layout commit1def41da67Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Dec 21 23:54:44 2017 +0000 sidebar with many options!! commit4203cbb225Merge:7c12df6b7db65932Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Dec 21 20:14:55 2017 +0000 Merge branch 'master' into og-newnetmap commit7c12df6b83Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Dec 21 00:13:03 2017 +0000 refresh tooltips when the datatables table is updated commit081b89d5dcAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Dec 20 23:59:15 2017 +0000 shortcut from device port to manual topology commit9520438960Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Dec 20 23:34:44 2017 +0000 tighten the sql for neighbor links commitd6b0275931Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Dec 20 23:26:22 2017 +0000 tweak layout again commit9e5e2f0ed5Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Dec 20 23:18:57 2017 +0000 fullscreen mode for netmap commitaba359d2a9Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Dec 20 22:05:51 2017 +0000 save and load netmap positions for same device groups commitb7cd0251ffAuthor: Oliver Gorwits <oliver@cpan.org> Date: Tue Dec 19 23:24:47 2017 +0000 basic positions upload commit786115ebdaAuthor: Oliver Gorwits <oliver@cpan.org> Date: Tue Dec 19 22:13:16 2017 +0000 working group drag commit91f98d4f33Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Dec 18 23:00:16 2017 +0000 drag all selected nodes commitba48eee5f7Merge:60412cd67f8e3edfAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Dec 18 20:14:20 2017 +0000 Merge branch 'master' into og-newnetmap commit60412cd6e6Merge:39ca14917dc79f72Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 17 20:23:41 2017 +0000 Merge branch 'master' into og-newnetmap commit39ca1491b0Merge:69622582c8806beaAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 17 19:52:49 2017 +0000 Merge branch 'master' into og-newnetmap commit6962258223Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 17 19:52:26 2017 +0000 bleed versions commit444e82b8a3Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 16 15:33:41 2017 +0000 use d3 v4 only commit01cd7a908dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sat Dec 16 15:22:08 2017 +0000 two d3 connected commit854f37fc94Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Dec 14 21:34:49 2017 +0000 more fiddling with d3 commit61a3a9e06dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Dec 14 19:15:21 2017 +0000 working worker commitebadebe69aAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Dec 14 07:57:55 2017 +0000 borken worker commitc327b28513Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Dec 13 13:45:03 2017 +0000 fix node center commit33bd9d39daAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Dec 13 01:14:50 2017 +0000 improvements to graphing commit6178bf2298Merge:1c627eaf925940c9Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Dec 12 23:44:48 2017 +0000 Merge branch 'master' into og-newnetmap commit1c627eaf3cMerge:77ca8f96000cbaa1Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Dec 12 23:38:00 2017 +0000 Merge branch 'master' into og-newnetmap commit77ca8f96e1Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Dec 11 00:09:08 2017 +0000 working rendering using d3-force plugin commit187265fc03Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Dec 10 23:19:23 2017 +0000 initial work on moving to d3-force-apex-plugin - json data
		
			
				
	
	
		
			450 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			450 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# This is the main configuration file for Netdisco web and backend apps
 | 
						|
#
 | 
						|
#    DO NOT EDIT THIS FILE
 | 
						|
#
 | 
						|
# Overrides should go to ~/environments/deployment.yml
 | 
						|
# See App::Netdisco::Manual::Configuration for explanations
 | 
						|
 | 
						|
# ----------------
 | 
						|
# GENERAL SETTINGS
 | 
						|
# ----------------
 | 
						|
 | 
						|
log: 'warning'
 | 
						|
logger_format: '[%P] %U %L %m'
 | 
						|
include_paths:  []
 | 
						|
template_paths: []
 | 
						|
site_local_files: false
 | 
						|
external_databases: []
 | 
						|
 | 
						|
# ------------
 | 
						|
# WEB FRONTEND
 | 
						|
# ------------
 | 
						|
 | 
						|
domain_suffix: ""
 | 
						|
no_auth: false
 | 
						|
suggest_guest: false
 | 
						|
navbar_autocomplete: true
 | 
						|
trust_remote_user: false
 | 
						|
trust_x_remote_user: false
 | 
						|
#ldap:
 | 
						|
#  servers: []
 | 
						|
#  user_string: 'MYDOMAIN\%USER%'
 | 
						|
#  base: ""
 | 
						|
#  proxy_user: ""
 | 
						|
#  proxy_pass: ""
 | 
						|
#  opts:
 | 
						|
#    debug: 3
 | 
						|
#  tls_opts: {}
 | 
						|
path: '/'
 | 
						|
web_plugins:
 | 
						|
  - Inventory
 | 
						|
  - Report::PortVLANMismatch
 | 
						|
  - Report::PortAdminDown
 | 
						|
  - Report::PortBlocking
 | 
						|
  - Report::PortMultiNodes
 | 
						|
  - Report::PortSsid
 | 
						|
  - Report::PortUtilization
 | 
						|
  - Report::ApChannelDist
 | 
						|
  - Report::ApClients
 | 
						|
  - Report::ApRadioChannelPower
 | 
						|
  - Report::HalfDuplex
 | 
						|
  - Report::DeviceAddrNoDNS
 | 
						|
  - Report::DeviceByLocation
 | 
						|
  - Report::InventoryByModelByOS
 | 
						|
  - Report::DeviceDnsMismatch
 | 
						|
  - Report::DevicePoeStatus
 | 
						|
  - Report::DuplexMismatch
 | 
						|
  - Report::IpInventory
 | 
						|
  - Report::ModuleInventory
 | 
						|
  - Report::Netbios
 | 
						|
  - Report::NodeMultiIPs
 | 
						|
  - Report::NodeVendor
 | 
						|
  - Report::NodesDiscovered
 | 
						|
  - Report::SsidInventory
 | 
						|
  - Report::VlanInventory
 | 
						|
  - Report::SubnetUtilization
 | 
						|
  - Report::PortLog
 | 
						|
  - AdminTask::JobQueue
 | 
						|
  - AdminTask::Topology
 | 
						|
  - AdminTask::PollerPerformance
 | 
						|
  - AdminTask::PseudoDevice
 | 
						|
  - AdminTask::SlowDevices
 | 
						|
  - AdminTask::UndiscoveredNeighbors
 | 
						|
  - AdminTask::OrphanedDevices
 | 
						|
  - AdminTask::DuplicateDevices
 | 
						|
  - AdminTask::TimedOutDevices
 | 
						|
  - AdminTask::UserLog
 | 
						|
  - AdminTask::Users
 | 
						|
  - Search::Device
 | 
						|
  - Search::Node
 | 
						|
  - Search::VLAN
 | 
						|
  - Search::Port
 | 
						|
  - Device::Details
 | 
						|
  - Device::Ports
 | 
						|
  - Device::Modules
 | 
						|
  - Device::Neighbors
 | 
						|
  - Device::Addresses
 | 
						|
extra_web_plugins: []
 | 
						|
sidebar_defaults:
 | 
						|
  search_node:
 | 
						|
    stamps:      { default: checked }
 | 
						|
    deviceports: { default: checked }
 | 
						|
    show_vendor: { default: null }
 | 
						|
    archived:    { default: null }
 | 
						|
    partial:     { default: null }
 | 
						|
    age_invert:  { default: null }
 | 
						|
    daterange:   { default: null }
 | 
						|
    mac_format:  { default: IEEE }
 | 
						|
  search_port:
 | 
						|
    partial:     { default: null }
 | 
						|
    uplink:      { default: null }
 | 
						|
    ethernet:    { default: checked }
 | 
						|
  search_device:
 | 
						|
    matchall:    { default: checked }
 | 
						|
  device_ports:
 | 
						|
    c_admin:      { label: 'Port Controls', default: null, idx: 0 }
 | 
						|
    c_port:       { label: 'Port', default: checked, idx: 1 }
 | 
						|
    c_descr:      { label: 'Description', default: null, idx: 2 }
 | 
						|
    c_comment:    { label: 'Last Comment', default: null, idx: 3 }
 | 
						|
    c_type:       { label: 'Type', default: null, idx: 4 }
 | 
						|
    c_duplex:     { label: 'Duplex', default: null, idx: 5 }
 | 
						|
    c_lastchange: { label: 'Last Change', default: null, idx: 6 }
 | 
						|
    c_name:       { label: 'Name', default: checked, idx: 7 }
 | 
						|
    c_speed:      { label: 'Speed', default: null, idx: 8 }
 | 
						|
    c_mac:        { label: 'Port MAC', default: null, idx: 9 }
 | 
						|
    c_mtu:        { label: 'MTU', default: null, idx: 10 }
 | 
						|
    c_pvid:       { label: 'Native VLAN', default: checked, idx: 11 }
 | 
						|
    c_vmember:    { label: 'VLAN Membership', default: checked, idx: 12 }
 | 
						|
    c_power:      { label: 'PoE', default: null, idx: 13 }
 | 
						|
    c_ssid:       { label: 'SSID', default: null, idx: 14 }
 | 
						|
    c_nodes:      { label: 'Connected Nodes', default: null, idx: 15 }
 | 
						|
    c_neighbors:  { label: 'Connected Devices', default: checked, idx: 16 }
 | 
						|
    c_stp:        { label: 'Spanning Tree', default: null, idx: 17 }
 | 
						|
    c_up:         { label: 'Status', default: null, idx: 18 }
 | 
						|
    n_age:        { label: 'Age Stamp', default: null, idx: 0 }
 | 
						|
    n_ip4:        { label: 'IPv4 Addresses', default: checked, idx: 1 }
 | 
						|
    n_ip6:        { label: 'IPv6 Addresses', default: checked, idx: 2 }
 | 
						|
    n_netbios:    { label: 'NetBIOS Name', default: checked, idx: 3 }
 | 
						|
    n_ssid:       { label: 'SSID', default: checked, idx: 4 }
 | 
						|
    n_vendor:     { label: 'Vendor', default: null, idx: 5 }
 | 
						|
    n_archived:   { label: 'Archived Data', default: null, idx: 6 }
 | 
						|
    age_num:      { default: 3 }
 | 
						|
    age_unit:     { default: months }
 | 
						|
    mac_format:   { default: IEEE }
 | 
						|
    neigh_id:     { default: null }
 | 
						|
  device_netmap:
 | 
						|
    showips:     { default: null }
 | 
						|
    showspeed:   { default: null }
 | 
						|
    mapshow:     { default: neighbors }
 | 
						|
    colorgroups: { default: checked }
 | 
						|
    dynamicsize: { default: null }
 | 
						|
  report_moduleinventory:
 | 
						|
    fruonly:     { default: checked }
 | 
						|
    matchall:    { default: checked }
 | 
						|
device_port_col_idx_left: 0
 | 
						|
device_port_col_idx_mid: 2
 | 
						|
device_port_col_idx_right: -1
 | 
						|
jobqueue_refresh: 10
 | 
						|
safe_password_store: true
 | 
						|
reports: []
 | 
						|
table_pagesize: 10
 | 
						|
table_showrecordsmenu:
 | 
						|
  - [10, 25, 50, 100, '-1']
 | 
						|
  - [10, 25, 50, 100, 'All']
 | 
						|
vlanctl: true
 | 
						|
portctl_nameonly: false
 | 
						|
portctl_nophones: false
 | 
						|
portctl_vlans: false
 | 
						|
portctl_uplinks: false
 | 
						|
port_control_reasons:
 | 
						|
  address:     'Address Allocation Abuse'
 | 
						|
  copyright:   'Copyright Violation'
 | 
						|
  dos:         'Denial of Service'
 | 
						|
  bandwidth:   'Excessive Bandwidth'
 | 
						|
  polling:     'Excessive Polling of DNS/DHCP/SNMP'
 | 
						|
  noserv:      'Not In Service'
 | 
						|
  exploit:     'Remote Exploit Possible'
 | 
						|
  compromised: 'System Compromised'
 | 
						|
  other:       'Other'
 | 
						|
  resolved:    'Issue Resolved'
 | 
						|
check_userlog: true
 | 
						|
devport_vlan_limit: 150
 | 
						|
login_logo: ""
 | 
						|
 | 
						|
# -------------
 | 
						|
# NETDISCO CORE
 | 
						|
# -------------
 | 
						|
 | 
						|
# mibhome is discovered from environment
 | 
						|
# mibdirs defaults to contents of mibhome
 | 
						|
host_groups:
 | 
						|
  __ANY__:
 | 
						|
    - 'any'
 | 
						|
  __LOCAL_ADDRESSES__:
 | 
						|
    - '::1'
 | 
						|
    - 'fe80::/10'
 | 
						|
    - '127.0.0.0/8'
 | 
						|
host_group_displaynames: {}
 | 
						|
device_identity: []
 | 
						|
community: []
 | 
						|
community_rw: []
 | 
						|
device_auth: []
 | 
						|
get_community: ""
 | 
						|
bulkwalk_off: false
 | 
						|
bulkwalk_no: []
 | 
						|
bulkwalk_repeaters: 20
 | 
						|
nonincreasing: false
 | 
						|
snmpver: 3
 | 
						|
snmptimeout: 3000000
 | 
						|
snmpretries: 2
 | 
						|
devices_no: []
 | 
						|
devices_only: []
 | 
						|
discover_no: []
 | 
						|
discover_only: []
 | 
						|
discover_no_type:
 | 
						|
  - '(?i)phone'
 | 
						|
  - '(?i)(?:wap|wireless)'
 | 
						|
discover_min_age: 0
 | 
						|
macsuck_no: []
 | 
						|
macsuck_only: []
 | 
						|
macsuck_all_vlans: false
 | 
						|
macsuck_no_unnamed: false
 | 
						|
macsuck_no_vlan:
 | 
						|
  - 'fddi-default'
 | 
						|
  - 'token-ring-default'
 | 
						|
  - 'fddinet-default'
 | 
						|
  - 'trnet-default'
 | 
						|
macsuck_no_devicevlan: []
 | 
						|
macsuck_unsupported: []
 | 
						|
macsuck_unsupported_type: []
 | 
						|
macsuck_bleed: false
 | 
						|
macsuck_min_age: 0
 | 
						|
snmpforce_v1: []
 | 
						|
snmpforce_v2: []
 | 
						|
snmpforce_v3: []
 | 
						|
arpnip_no: []
 | 
						|
arpnip_only: []
 | 
						|
arpnip_min_age: 0
 | 
						|
nbtstat_no: []
 | 
						|
nbtstat_only: []
 | 
						|
nbtstat_max_age: 7
 | 
						|
nbtstat_interval: 0.02
 | 
						|
nbtstat_timeout: 1
 | 
						|
node_freshness: 0
 | 
						|
expire_devices: 60
 | 
						|
expire_nodes: 90
 | 
						|
expire_nodes_archive: 60
 | 
						|
expire_jobs: 14
 | 
						|
store_wireless_clients: true
 | 
						|
store_modules: true
 | 
						|
ignore_interfaces:
 | 
						|
  - 'EOBC'
 | 
						|
  - 'unrouted VLAN(?: \d+)?'
 | 
						|
  - 'StackPort'
 | 
						|
  - 'Control Plane Interface'
 | 
						|
  - 'SPAN (S|R)P Interface'
 | 
						|
  - 'StackSub-.*'
 | 
						|
  - 'StackPort\d+'
 | 
						|
  - 'netflow'
 | 
						|
  - 'Vlan\d+-mpls layer'
 | 
						|
  - 'BRI\S+-Bearer Channel'
 | 
						|
  - 'BRI\S+-Physical'
 | 
						|
  - 'BRI\S+-Signalling'
 | 
						|
  - 'Embedded-Service-Engine\d+\/\d+'
 | 
						|
  - 'Virtual-Template\d+'
 | 
						|
  - 'Virtual-Access\d+'
 | 
						|
  - '(E|T)\d \d\/\d\/\d'
 | 
						|
  - 'InLoopback0'
 | 
						|
  - 'NULL\d'
 | 
						|
  - 'Register-Tunnel\d'
 | 
						|
  - 'Blade-Aggregation\d'
 | 
						|
  - 'M-GigabitEthernet\d/\d/\d'
 | 
						|
ignore_private_nets: false
 | 
						|
reverse_sysname: false
 | 
						|
phone_capabilities:
 | 
						|
  - '(?i:phone)'
 | 
						|
phone_platforms:
 | 
						|
  - '(?i:mitel.5\d{3})'
 | 
						|
wap_capabilities:
 | 
						|
  - 'wlanAccessPoint'
 | 
						|
wap_platforms:
 | 
						|
  - '(?i:\bw?ap\b)'
 | 
						|
  - 'cisco\s+AIR-[L|C]?AP'
 | 
						|
  - '-K9W8-'
 | 
						|
 | 
						|
# --------------
 | 
						|
# BACKEND DAEMON
 | 
						|
# --------------
 | 
						|
 | 
						|
workers:
 | 
						|
  tasks: 'AUTO * 2'
 | 
						|
  sleep_time: 1
 | 
						|
  min_runtime: 0
 | 
						|
  max_deferrals: 10
 | 
						|
  retry_after: '7 days'
 | 
						|
  queue: PostgreSQL
 | 
						|
 | 
						|
dns:
 | 
						|
  max_outstanding: 50
 | 
						|
  hosts_file: '/etc/hosts'
 | 
						|
  no: ['group:__LOCAL_ADDRESSES__','169.254.0.0/16']
 | 
						|
 | 
						|
schedule:
 | 
						|
  discoverall:
 | 
						|
    when: '5 7 * * *'
 | 
						|
  macwalk:
 | 
						|
    when:
 | 
						|
      min: 20
 | 
						|
  arpwalk:
 | 
						|
    when:
 | 
						|
      min: 50
 | 
						|
  nbtwalk:
 | 
						|
    when: '0 8,13,21 * * *'
 | 
						|
  expire:
 | 
						|
    when: '30 23 * * *'
 | 
						|
 | 
						|
job_prio:
 | 
						|
  high:
 | 
						|
    - location
 | 
						|
    - contact
 | 
						|
    - portcontrol
 | 
						|
    - portname
 | 
						|
    - vlan
 | 
						|
    - power
 | 
						|
  normal:
 | 
						|
    - discoverall
 | 
						|
    - discover
 | 
						|
    - arpwalk
 | 
						|
    - arpnip
 | 
						|
    - macwalk
 | 
						|
    - macsuck
 | 
						|
    - nbtwalk
 | 
						|
    - nbtstat
 | 
						|
    - expire
 | 
						|
 | 
						|
worker_plugins:
 | 
						|
  - 'Arpnip'
 | 
						|
  - 'Arpnip::Nodes'
 | 
						|
  - 'Arpnip::Subnets'
 | 
						|
  - 'Arpwalk'
 | 
						|
  - 'Contact'
 | 
						|
  - 'Delete'
 | 
						|
  - 'Discover'
 | 
						|
  - 'Discover::CanonicalIP'
 | 
						|
  - 'Discover::Entities'
 | 
						|
  - 'Discover::Neighbors'
 | 
						|
  - 'Discover::PortPower'
 | 
						|
  - 'Discover::Properties'
 | 
						|
  - 'Discover::VLANs'
 | 
						|
  - 'Discover::Wireless'
 | 
						|
  - 'Discover::WithNodes'
 | 
						|
  - 'DiscoverAll'
 | 
						|
  - 'DumpConfig'
 | 
						|
  - 'Expire'
 | 
						|
  - 'ExpireNodes'
 | 
						|
  - 'Graph'
 | 
						|
  - 'Location'
 | 
						|
  - 'Macsuck'
 | 
						|
  - 'Macsuck::Nodes'
 | 
						|
  - 'Macsuck::WirelessNodes'
 | 
						|
  - 'Macwalk'
 | 
						|
  - 'Monitor'
 | 
						|
  - 'Nbtstat'
 | 
						|
  - 'Nbtstat::Core'
 | 
						|
  - 'Nbtwalk'
 | 
						|
  - 'PortControl'
 | 
						|
  - 'PortName'
 | 
						|
  - 'Power'
 | 
						|
  - 'Psql'
 | 
						|
  - 'Renumber'
 | 
						|
  - 'Show'
 | 
						|
  - 'Stats'
 | 
						|
  - 'Vlan'
 | 
						|
  - 'Vlan::Core'
 | 
						|
 | 
						|
extra_worker_plugins: []
 | 
						|
#  - Discover::ConfigBackup::CLI
 | 
						|
 | 
						|
driver_priority:
 | 
						|
  restconf: 500
 | 
						|
  netconf:  400
 | 
						|
  eapi:     300
 | 
						|
  cli:      200
 | 
						|
  snmp:     100
 | 
						|
 | 
						|
# ---------------
 | 
						|
# GraphViz Export
 | 
						|
# ---------------
 | 
						|
 | 
						|
graph:
 | 
						|
  # ---- Graph Settings ----
 | 
						|
  edge_color      : wheat
 | 
						|
 | 
						|
  graph           : 'graph/netmap.gif'
 | 
						|
  graph_png       : 'graph/netmap.png'
 | 
						|
  graph_bg        : black
 | 
						|
  graph_clusters  : false  # try fdp layout
 | 
						|
  graph_color     : white
 | 
						|
  graph_default   : png
 | 
						|
  #graph_dir      : net_dir.gif
 | 
						|
  graph_epsilon   : 6
 | 
						|
  graph_layout    : twopi  # try neato or fdp too
 | 
						|
  graph_map       : 'graph/netmap.map'
 | 
						|
  graph_overlap   : scale
 | 
						|
  graph_nodesep   : 2
 | 
						|
  graph_ranksep   : .3
 | 
						|
  graph_raw       : 'graph/graph_raw.dot'
 | 
						|
  graph_splines   : false
 | 
						|
  graph_svg       : 'graph/netmap.svg'
 | 
						|
  graph_timeout   : 90
 | 
						|
  graph_x         : 30
 | 
						|
  graph_y         : 30
 | 
						|
 | 
						|
  node_fillcolor  : dimgrey
 | 
						|
  node_font       : lucon
 | 
						|
  node_fontsize   : 46.0
 | 
						|
  node_fontcolor  : white
 | 
						|
  node_problem    : red
 | 
						|
  node_shape      : box
 | 
						|
  node_style      : filled
 | 
						|
  #edge_style      : setlinewidth(10)
 | 
						|
 | 
						|
  # ---- Node Maps ----
 | 
						|
  # variable:matching pattern:node attribute:attribute value:key:key name
 | 
						|
  #node_map:
 | 
						|
  #  - 'label:cat(?!-g):fillcolor:blue:cat:Blue Box - Catalyst Device'
 | 
						|
  #  - 'label:-g:fillcolor:darkgreen:dev-g:Green Box - Gateway / Router'
 | 
						|
  #  - 'ip:^192.168\.:color:yellow:dev:Yellow Border - ResNet'
 | 
						|
 | 
						|
# ---------------
 | 
						|
# DANCER INTERNAL
 | 
						|
# ---------------
 | 
						|
 | 
						|
charset: 'UTF-8'
 | 
						|
warnings: false
 | 
						|
show_errors: false
 | 
						|
logger: 'console'
 | 
						|
engines:
 | 
						|
  netdisco_template_toolkit:
 | 
						|
    encoding: 'utf8'
 | 
						|
    start_tag: '[%'
 | 
						|
    end_tag: '%]'
 | 
						|
    PRE_CHOMP: 1
 | 
						|
    INCLUDE_PATH: []
 | 
						|
layout: 'main'
 | 
						|
plugins:
 | 
						|
  Auth::Extensible:
 | 
						|
    no_api_change_warning: true
 | 
						|
    no_default_pages: true
 | 
						|
    no_login_handler: true
 | 
						|
    realms:
 | 
						|
      users:
 | 
						|
        provider: 'App::Netdisco::Web::Auth::Provider::DBIC'
 | 
						|
        schema_name: 'netdisco'
 | 
						|
session: 'cookie'
 | 
						|
session_cookie_key: 'this_will_be_overridden_on_webapp_startup'
 | 
						|
template: 'netdisco_template_toolkit'
 | 
						|
route_cache: true
 | 
						|
appname: 'Netdisco'
 | 
						|
behind_proxy: false
 |