#
# Copyright (C) 2005-2018 Inverse inc.
#
# See the enclosed file COPYING for license information (GPL).
# If you did not receive this file, see
# http://www.fsf.org/licensing/licenses/gpl.html
[default]
mode=testing
vlans=1,2,3,4
normalVlan=1
isolationVlan=2
registrationVlan=3
guestVlan = 5
macDetectionVlan=4
voiceVlan=10
customVlan1=patate
customVlan2=
customVlan3=
customVlan4=
customVlan5=
custom1Vlan=patate
ExternalPortalEnforcement=N

macSearchesMaxNb=30
macSearchesSleepInterval=2
switchTypesToExclude=
VoIPEnabled=no
type=
uplink=dynamic

# SNMP
SNMPVersionTrap=2c
SNMPUserNameTrap=readUser
SNMPAuthProtocolTrap=MD5
SNMPAuthPasswordTrap=authpwdread
SNMPPrivProtocolTrap=DES
SNMPPrivPasswordTrap=privpwdread
SNMPVersion=2c
SNMPCommunityRead=readCommunity
SNMPCommunityWrite=writeCommunity
SNMPCommunityTrap=trapCommunity
SNMPEngineID=SNMPEngineID
SNMPUserNameRead=userRead
SNMPAuthProtocolRead=AutProtoRead
SNMPAuthPasswordRead=AuthPassRead
SNMPPrivProtocolRead=PrivProtoRead
SNMPPrivPasswordRead=PrivPassRead
SNMPUserNameWrite=UserWrite
SNMPAuthProtocolWrite=authProtoWrite
SNMPAuthPasswordWrite=authPassWrite
SNMPPrivProtocolWrite=privProtoWrite
SNMPPrivPasswordWrite=privPassWrite

# Command Line Interface 
cliTransport=Telnet
cliUser=
cliPwd=
cliEnablePwd=

# Web Services Interface 
wsTransport=http
wsUser=
wsPwd=

# RADIUS shared secret
radiusSecret=

[127.0.0.1]
type=PacketFence
mode=production
uplink=dynamic
SNMPVersion=2c
SNMPCommunityTrap=public
SNMPVersionTrap=2c

[192.168.0.1]
type=Cisco::Catalyst_2900XL
uplink=23
SNMPVersionTrap=3
SNMPUserNameTrap=readUser
SNMPAuthProtocolTrap=MD5
SNMPAuthPasswordTrap=authpwdread
SNMPPrivProtocolTrap=DES
SNMPPrivPasswordTrap=privpwdread
mode=production
SNMPVersion=2c
SNMPCommunityRead=readCommunity
SNMPCommunityWrite=writeCommunity
SNMPCommunityTrap=trapCommunity

cliTransport=ssh
cliUser=cliUser
cliPwd=cliPwd
cliEnablePwd=cliEnable

wsTransport=https
wsUser=webservices_user
wsPwd=webservices_pwd

radiusSecret=bigsecret

voiceVlan=10
SNMPEngineID=0123456
SNMPUserNameRead=userRead
SNMPAuthProtocolRead=AutProtoRead
SNMPAuthPasswordRead=AuthPassRead
SNMPPrivProtocolRead=PrivProtoRead
SNMPPrivPasswordRead=PrivPassRead
SNMPUserNameWrite=UserWrite
SNMPAuthProtocolWrite=authProtoWrite
SNMPAuthPasswordWrite=authPassWrite
SNMPPrivProtocolWrite=privProtoWrite
SNMPPrivPasswordWrite=privPassWrite

# switch for Wired MAC Auth test (radius.t)
[192.168.0.2]
type=Cisco::Catalyst_2960
mode=production

[10.0.0.1]
type=Cisco::Catalyst_2960

[10.0.0.2]
type=Cisco::Catalyst_2960
normalVlan=15
defaultVlan=15

[10.0.0.3]
type=ThreeCom::Switch_4200G

[10.0.0.4]
type=Cisco::Catalyst_3750

# regression test switch for #1354
[10.0.0.5]
type=Cisco::Catalyst_2900XL
SNMPVersionTrap=3
SNMPEngineID=6543210
SNMPUserNameTrap=readUser
SNMPAuthProtocolTrap=MD5
SNMPAuthPasswordTrap=authpwdread
SNMPPrivProtocolTrap=DES
SNMPPrivPasswordTrap=privpwdread

# Role tests
[10.0.0.6]
type=Aruba
adminRole=full-access
guestRole=restricted

[10.0.0.7]
type=Aruba
adminRole=full-access
guestRole=

[10.0.0.8]
type=Aruba
adminRole=

[10.0.0.9]
type=Aruba

[10.0.0.10]
type=Cisco::Catalyst_3750G

# test using mac address as a switch id
[01:01:01:01:01:01]
type=Cisco::Catalyst_2960

# test switch controller
[01:01:01:01:01:02]
type=Cisco::Catalyst_2960
# test switch controller
[01:01:01:01:01:03]
type=Cisco::Catalyst_2960
controllerIp=1.2.3.4

[172.16.0.0/16]
type=Cisco::Catalyst_2960

[172.16.3.0/24]
type=Cisco::Catalyst_3750G

[172.16.3.2]
type=Cisco::Catalyst_2960G

[192.168.184.0/21]
type=Cisco::Catalyst_2960

[group zammits-stuff]
type=Meraki::MR
description=Zammit's access points
defaultVlan=-1
registrationVlan=25
RoleMap=N
ExternalPortalEnforcement=Y

[172.16.8.21]
description=Zammit's access point - 1
group=zammits-stuff

[172.16.8.22]
description=Zammit's access point - 2
group=zammits-stuff

[172.16.8.23]
description=Zammit's access point - 2
group=zammits-stuff
defaultVlan=42


