Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
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
33c00658
authored
Jun 06, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: changed NATIVE_OVS to be parsed by celery worker
parent
e8f0b363
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vm.py
+2
-2
No files found.
vm.py
View file @
33c00658
import
lxml.etree
as
ET
from
os
import
getenv
from
vmcelery
import
native_ovs
NATIVE_OVS
=
getenv
(
'NATIVE_OVS'
)
==
'True'
# VM Instance class
...
...
@@ -265,7 +265,7 @@ class VMNetwork:
self
.
ipv6
=
ipv6
self
.
model
=
model
if
not
network_type
:
if
NATIVE_OVS
:
if
native_ovs
:
self
.
network_type
=
'bridge'
self
.
virtual_port
=
'openvswitch'
else
:
...
...
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