Project

General

Profile

Feature #41228

Add /devel/py-bhyve port to build

Added by William Grzybowski over 1 year ago. Updated 7 months ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Estimated time:
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

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
bhyvectl --vm=foo --destroy
bhyvectl --vm=foo --force-poweroff
bhyvectl --vm=foo --force-reset

The API should be "pythonic", something along the lines:

import bhyve
vm = bhyve.get_vm('foo')
vm.destroy()
vm.force_poweroff()
vm.force_reset()
vm.get_stats()

Associated revisions

Revision 79121601 (diff)
Added by Waqar Ahmed about 1 year ago

Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

Revision 5e227f0e (diff)
Added by Waqar Ahmed about 1 year ago

Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

Revision ef6d6f99 (diff)
Added by Waqar Ahmed about 1 year ago

Port for py-bhyve module (#140) Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

Revision 83912f13 (diff)
Added by Waqar Ahmed 7 months ago

Port for py-bhyve module (#140) Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

Revision 2233c9aa (diff)
Added by Waqar Ahmed 7 months ago

Port for py-bhyve module (#140) Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

Revision 4ca9a559 (diff)
Added by Waqar Ahmed 7 months ago

Port for py-bhyve module (#140) Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

Revision a0e894a5 (diff)
Added by Waqar Ahmed 7 months ago

Port for py-bhyve module (#140) Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

Revision ab0b139f (diff)
Added by Waqar Ahmed 4 months ago

Port for py-bhyve module (#140) Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

Revision 777bba5e (diff)
Added by Waqar Ahmed 2 months ago

Port for py-bhyve module (#140) Port for py-bhyve module This commit adds a new port for py-bhyve module which is a python wrapper around freebsd's libvmmapi. Ticket: #41228

History

#1 Updated by Waqar Ahmed over 1 year ago

  • Status changed from Unscreened to In Progress

#2 Updated by Dru Lavigne about 1 year ago

#3 Updated by Waqar Ahmed about 1 year ago

  • Status changed from In Progress to Ready for Testing

#4 Updated by William Grzybowski about 1 year ago

  • Status changed from Ready for Testing to Done
  • Needs QA changed from Yes to No

There isnt anything QA can test here.

#5 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Cython module for bhyve to Add py-bhyve port
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#6 Updated by Dru Lavigne 12 months ago

  • Subject changed from Add py-bhyve port to Add py-bhyve port, a Python wrapper for FreeBSD's libvmmapi

#7 Updated by Dru Lavigne 10 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#8 Updated by Dru Lavigne 10 months ago

  • Subject changed from Add py-bhyve port, a Python wrapper for FreeBSD's libvmmapi to Add /devel/py-bhyve port to build

#9 Updated by Dru Lavigne 7 months ago

  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1

Also available in: Atom PDF