Hi Chandan,
I assume you would be using VLANs for the logical ring; it that case; just enable OSPF on SVI.
Since, it would be broadcast network, you will see full mess of neighborship with each nodes in the ring.
Regards,
Smitesh
PS: Please rate helpful posts.