@ pmazurkiewicz you have a couple of options. 1 would be to just create the L2 only VLAN/subnet. As long as no L3, these devices should only be able to talk to each other - the devices would need to L3 Def Gateway as it would be useless.
Option 2 is to create a routing-instance of virtual-router (supported on EX, both legacy and newer ELS based platforms) but just do not assign any L3 interfaces to members of this routing-instance. In this case, routing-instance of virtual-router will act like virtual-switch.
I believe the actual difference between virtual-switch and virtual-router with no L3, is that vritual-switch knob may not allow any L3 to even be created.