Add /devel/py-bhyve port to build
libvmmapi is the freebsd library responsible for managing bhyve, its used in bhyvectl(8) and bhyve(8).
We do a lot of usage of these utilities in VM plugin, it would be good to have a python library which could replace some recurrent use of these tools, avoiding spawning multiple processes every time a VM needs to be queried and to have better error handling.
We should investigate and implement how to use libvmmapi to perform at least the following operations:
bhyvectl --vm=foo --destroy
bhyvectl --vm=foo --force-poweroff
bhyvectl --vm=foo --force-reset
The API should be "pythonic", something along the lines:
vm = bhyve.get_vm('foo')