projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sflow: Include Ethernet FCS in frame_length to comply with sFlow spec.
[openvswitch]
/
xenserver
/
opt_xensource_libexec_InterfaceReconfigure.py
diff --git
a/xenserver/opt_xensource_libexec_InterfaceReconfigure.py
b/xenserver/opt_xensource_libexec_InterfaceReconfigure.py
index 570ebccbe73cb454c53b627244d0034060a97f83..9723c6617ebae65e7b40e4b5cc8eaae4d928c5ca 100644
(file)
--- a/
xenserver/opt_xensource_libexec_InterfaceReconfigure.py
+++ b/
xenserver/opt_xensource_libexec_InterfaceReconfigure.py
@@
-863,7
+863,7
@@
def DatapathFactory(pif):
if network_backend == "bridge":
from InterfaceReconfigureBridge import DatapathBridge
return DatapathBridge(pif)
if network_backend == "bridge":
from InterfaceReconfigureBridge import DatapathBridge
return DatapathBridge(pif)
- elif network_backend
== "vswitch"
:
+ elif network_backend
in ["openvswitch", "vswitch"]
:
from InterfaceReconfigureVswitch import DatapathVswitch
return DatapathVswitch(pif)
else:
from InterfaceReconfigureVswitch import DatapathVswitch
return DatapathVswitch(pif)
else: