Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libvirt ListWatch should add reason to virtwrap.DomainStatus #82

Closed
rmohr opened this issue Feb 2, 2017 · 1 comment · Fixed by #83
Closed

Libvirt ListWatch should add reason to virtwrap.DomainStatus #82

rmohr opened this issue Feb 2, 2017 · 1 comment · Fixed by #83

Comments

@rmohr
Copy link
Member

rmohr commented Feb 2, 2017

Currently we are only collecting the Domain state and store it in virtwrap.DomainStatus.

We should also add the reason why the state was entered by the VM. Of special interest are the states

virDomainShutdownReason and virDomainShutoffReason.

They should be translated to a go constant and stored in a new field virtwrap.DomainStatus.Reason.

Currently the state is determined in cache.go#L36.

This is a prerequisite to #75.

@mpolednik
Copy link
Contributor

On it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants