# BUN configuration file for Solos 4615 reference design


# Layer the software devices with the physical devices

device : eth_ip175    = chameleon, eth_sw, bf_ether, unieth
#device : eth_lan      = chameleon, eth_sw, vmux
#device : eth_dmz      = chameleon, eth_sw, vmux
device : atm_turbo    = chameleon, atm_sw, turbo, utopia
device : usb_device   = chameleon, usb_sw, usb
device : voice_device = voip, chameleon

#use this configuration if solos-w has to be configured with eth-switch .

#start_configuration
#
# Uses MII1 port of switch for DMZ port creation. Hence add PVID[4] for the same
#

#port : raw_ethernet = eth_ip175/VLANEnabled=true/PVID[0]=2/PVID[1]=3/PVID[2]=4/PVID[3]=5/PVID[4]=6/NumVlans=4/vlanmask[0]=0x11/vlanmask[1]=0x12/vlanmask[2]=0x14/vlanmask[3]=0x18

#port : ethernet0 = eth_lan/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=2/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

#port : ethernet1 = eth_lan/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=3/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

#port : ethernet2 = eth_lan/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=4/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

#port : ethernet3 = eth_lan/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=5/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

#port : dmzethernet = eth_dmz/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=6/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

#end configuration

# Create the ports

# Raw ethernet port - opened by the vmux driver below
# This defines:
#  VLAN 1 contains ports 0123 (4 LAN ports)  and 5 (MII port)
#  VLAN 2 continas ports 4 (WAN port)
#port : raw_ethernet = eth_ip175/VLANEnabled=true/PVID[0]=2/PVID[1]=2/PVID[2]=2/PVID[3]=3/NumVlans=2/VlanMask[0]=0x17/VlanMask[1]=0x18

# Create the ports
# LAN port
# This uses VLAN 1 on the raw_ethernet port
#port : ethernet0 = eth_lan/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=2/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>/MapPortConnected=Connected/MapPortLinkSpeed=LinkSpeed/MapPortIndex=0

# dmz port
# This uses VLAN 2 on the raw_ethernet port.
# Also, tell the vmux driver to mirror the connected attribute from the
# raw_ethernet port, using index 4 of the connected vector attribute.
#port : dmz = eth_dmz/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=3/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>/MapPort=raw_ethernet/MapPortConnected=Connected/MapPortLinkSpeed=LinkSpeed/MapPortIndex=3


# Create the ports

# Ethernet - LAN port
# Use ip175
#port : ethernet0 = eth_ip175/PhysicalPort=0/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>
port : zcopyethernet0 = eth_ip175/PhysicalPort=0/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

# DSL port
port : a1 = atm_turbo/PhysicalPort=0/NewAttribute=<bool:outside=true>/NewAttribute=<bool:VMI=true>/ShowtimeLed=3/NewAttribute=<S32:StatusLedConnAct=3>

# Wireless LAN port
# Note that eth_wireless device is created by wireless.hw hardware file
port : wireless = eth_wireless/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>/NewAttribute=<S32:StatusLedConnAct=6>

# USB device port
port : usb = usb_device/Device=0/TraceTxMonitorSize=8/TraceRxMonitorSize=8/NewAttribute=<S32:StatusLedConnAct=6>

# 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
