[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] [PATCH 01 of 12] [PATCH] xenserver: Fix comment in interface-reconfigure
# HG changeset patch # User Ben Pfaff <blp@xxxxxxxxxx> # Date 1278595521 -3600 # Node ID ca45394bb03819b897483e1e3872b7329a70a00d # Parent b850899f93f496ccaf38613b6b5f3351e87b7113 [PATCH] xenserver: Fix comment in interface-reconfigure. >From 3b1acc9955fa9c595f6b9e41999aa40041c7b049 Mon Sep 17 00:00:00 2001 Date: Mon, 22 Feb 2010 12:37:20 -0800 This comment was accurate, but didn't actually say what the function did. Signed-off-by: Ben Pfaff <blp@xxxxxxxxxx> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- ...ensource_libexec_InterfaceReconfigureVswitch.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -r b850899f93f4 -r ca45394bb038 scripts/InterfaceReconfigureVswitch.py --- a/scripts/InterfaceReconfigureVswitch.py Thu Jul 08 14:24:19 2010 +0100 +++ b/scripts/InterfaceReconfigureVswitch.py Thu Jul 08 14:25:21 2010 +0100 @@ -89,8 +89,9 @@ def pif_datapath(pif): """Return the datapath PIF associated with PIF. -For a non-VLAN PIF, the datapath name is the bridge name. -For a VLAN PIF, the datapath name is the bridge name for the PIF's VLAN slave. +A non-VLAN PIF is its own datapath PIF, except that a bridgeless PIF has +no datapath PIF at all. +A VLAN PIF's datapath PIF is its VLAN slave's datapath PIF. """ if pif_is_vlan(pif): return pif_datapath(pif_get_vlan_slave(pif)) scripts/InterfaceReconfigureVswitch.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Attachment:
xenserver_Fix_comment_in_interface-reconfigure.patch _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |