# Hardware specific BUN configuration runes

class : Gateway = PortClassGateway
class : ExposedToVvb = PortClassExposedToVvb

device : atm_transport = utopia
device : atm_phy = turbo
device : atm = meter,classifier,scheduler, chameleon, pppoe, rfc1483, atm_phy, atm_transport
device : e1 = tx_meter , meter,classifier,scheduler, chameleon, pppoe, packetfilter, icplus , bf_ether
device : w1 = tx_meter , meter,classifier,scheduler, chameleon, wpa-cfg , crossbow

device : wds_device = chameleon, wds
device : voice_device = voip, chameleon

port : ciao = ciao/GdpPortmode=2
port : ethernet  = e1/PhysicalPort=0/VLAN=disabled/FullDuplexEnable=true/NewAttribute=<bool:VMI=true> /NewAttribute=<bool:Inside=true>
port : ethernet1 = e1/VLAN=disabled/FullDuplexEnable=true/NewAttribute=<bool:VMI=true> /NewAttribute=<bool:Inside=true>
port : ethernet2 = e1/VLAN=disabled/FullDuplexEnable=true/NewAttribute=<bool:VMI=true> /NewAttribute=<bool:Inside=true>
port : ethernet3 = e1/VLAN=disabled/FullDuplexEnable=true/NewAttribute=<bool:VMI=true> /NewAttribute=<bool:Inside=true>
port : a1 = atm/DyingGasp=Enable/PhysicalPort=0/PortSpeed=59111/NewAttribute=<bool:VMI=true> /NewAttribute=<bool:Outside=true>
port : wireless = w1/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

port : wds_local = wds_device/NewAttribute=<bool:VMI=true>/NewAttribute=<bool:inside=true>/ControlPort=true/Interface=<802_11:0>
port : wds_1 = wds_device/NewAttribute=<bool:VMI=true>/NewAttribute=<bool:inside=true>
port : wds_1 = wds_device/NewAttribute=<bool:VMI=true>/NewAttribute=<bool:inside=true>
port : wds_2 = wds_device/NewAttribute=<bool:VMI=true>/NewAttribute=<bool:inside=true>
port : wds_3 = wds_device/NewAttribute=<bool:VMI=true>/NewAttribute=<bool:inside=true>
port : wds_4 = wds_device/NewAttribute=<bool:VMI=true>/NewAttribute=<bool:inside=true>

# The pi & qi devices, and the p1 & q1 ports enable support for 
# multiple PPPoE sessions over a single transport (e.g. an RFC1483 VC)
device : pi = meter,classifier,scheduler,chameleon, debug, pppoe, pppoe-mux
device : qi = qInterface

port : q1 = qi/interface=<//bridge/TYPE=PPPOE>
port : pppoe = pi/interface=<port=q1>/NewAttribute=<bool:Outside=true>

# Create a class to mark ports that should be managed by 802.1x
class : 802_1x = PortClass802_1x
		
device : dot1x_f1 = chameleon, filtermac, filter
		
# 802.1x setup (inactive if 802.1x not in build)
port : wlan_filtered = dot1x_f1/interface=<wds_local>/wirelessInterface=<802_11:0>/NewAttribute = <bool:inside=true>/NewAttribute=<bool:VMI=true>/DefaultFilterMulticastOnly=false/DefaultAlwaysAllowMulticast=false/DefaultAlwaysAllowBroadcast=false/DefaultMacAddrOffset=6/NewAttribute=<bool:PortClass802_1x=true>
# USB modem
device : umodem = tx_meter , meter,classifier,scheduler,usbmodem
port : um1 = umodem //NewAttribute=<bool:VMI=true> /NewAttribute=<bool:Inside=true>
# Voip
port : voipfxs0 = voice_device/NewAttribute=<bool:VMI=true>/dspId=0/dspPortId=0/portType=fxs
port : voipfxs1 = voice_device/NewAttribute=<bool:VMI=true>/dspId=0/dspPortId=1/portType=fxs
port : voipcmdstat = voice_device/NewAttribute=<bool:VMI=true>/portType=cmdstat/pool=control
port : slic = slic
# iBurst modem tx_meter , meter,classifier,scheduler,chameleon,
device : ibmodem = tx_meter , meter,classifier,scheduler,chameleon,pppoe, iburstmodem
port : ib1 = ibmodem/NewAttribute=<bool:VMI=true>/NewAttribute=<bool:Outside=true> 
#//NewAttribute=<bool:VMI=true> /NewAttribute=<bool:Inside=true>

