Here is a very basic config of OSPF in area 0 on a Brocade switch below. Its just enough to get it up and running.
======= BASIC OSPF CONFIG ON BROCADE SWITCH ==============
!
!
vlan 399 name DEFAULT-VLAN by port
!
vlan 3 by port
untagged ethe 1
router-interface ve 3
!
!
!
!
default-vlan-id 399
router ospf
area 0
!
interface loopback 1
ip address 1.1.1.1 255.255.255.255
!
interface ve 3
ip address 172.16.3.2 255.255.255.252
ip ospf area 0
!
======= END BASIC OSPF CONFIG ON BROCADE SWITCH ==============