Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2582b225
authored
Aug 01, 2013
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding state dict
parent
a35db8fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
vmdriver.py
+10
-0
No files found.
vmdriver.py
View file @
2582b225
...
...
@@ -6,6 +6,16 @@ import logging
connection
=
None
state_dict
=
{
0
:
'NOSTATE'
,
1
:
'RUNNING'
,
2
:
'BLOCKED'
,
3
:
'PAUSED'
,
4
:
'SHUTDOWN'
,
5
:
'SHUTOFF'
,
6
:
'CRASHED'
,
7
:
'PMSUSPENDED'
}
def
req_connection
(
original_function
):
'''Connection checking decorator for libvirt.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment