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
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
352c12c1
authored
Jul 19, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding ovs-executer
parent
9df57d8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
nwdriver.py
+6
-1
No files found.
nwdriver.py
View file @
352c12c1
#!/usr/bin/env python
from
subprocess
import
call
import
logging
class
NWDriver
:
...
...
@@ -7,7 +10,9 @@ class NWDriver:
pass
def
ovs_command_execute
(
self
,
command
):
pass
return_val
=
call
([
'sudo'
,
'ovs-vsctl'
,
command
])
logging
.
info
(
'OVS command:
%
s executed.'
,
command
)
return
return_val
def
nw_create
(
self
,
vm
):
pass
...
...
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