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
Commit
694e982b
authored
Jul 23, 2013
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing prefix and typo
parent
a907f92b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
networkdriver.py
+2
-2
vm.py
+0
-1
No files found.
networkdriver.py
View file @
694e982b
...
@@ -25,12 +25,12 @@ def ofctl_command_execute(command):
...
@@ -25,12 +25,12 @@ def ofctl_command_execute(command):
return
return_val
return
return_val
def
nw_
create
(
vm
):
def
create
(
vm
):
for
network
in
vm
.
network_list
:
for
network
in
vm
.
network_list
:
port_create
(
network
)
port_create
(
network
)
def
nw_
delete
(
vm
):
def
delete
(
vm
):
for
network
in
vm
.
network_list
:
for
network
in
vm
.
network_list
:
port_delete
(
network
)
port_delete
(
network
)
...
...
vm.py
View file @
694e982b
...
@@ -8,7 +8,6 @@ class VMInstance:
...
@@ -8,7 +8,6 @@ class VMInstance:
name
=
None
name
=
None
arch
=
None
arch
=
None
vm_type
=
None
vm_type
=
None
arch
=
None
os_boot
=
None
os_boot
=
None
vcpu
=
None
vcpu
=
None
cpu_share
=
None
cpu_share
=
None
...
...
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