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
814d7bb7
authored
May 18, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix VMNetwork.__init__
parent
9ae3ee8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
vm.py
+3
-1
No files found.
vm.py
View file @
814d7bb7
...
...
@@ -270,6 +270,7 @@ class VMNetwork:
self
.
virtual_port
=
'openvswitch'
else
:
self
.
network_type
=
'ethernet'
self
.
virtual_port
=
virtual_port
else
:
self
.
network_type
=
network_type
self
.
virtual_port
=
virtual_port
...
...
@@ -303,4 +304,4 @@ class VMNetwork:
def
dump_xml
(
self
):
return
ET
.
tostring
(
self
.
build_xml
(),
encoding
=
'utf8'
,
method
=
'xml'
,
pretty_print
=
True
)
pretty_print
=
True
)
\ No newline at end of file
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