smf(5) GUI construction?

Darren has a neat example of using zenity(1) and smf(5) to make an “on-off” switch for his laptop’s network connection. The result:

where “Up” brings up network/physical and “Down” shuts it down—convenient for Solaris laptop users. zenity, by Glynn Foster, makes writing little panels like this so easy I suspect there might be a naescent cottage industry of smfzenity panels. Let me know if you’ve written your own.

Update: Darren’s new zsvcadm example is even better!