[ovs-dev] [PATCH] CA-37154: vswitch: Use MAC address of tagged PIF for VLAN fake-bridge

Ian Campbell Ian.Campbell at citrix.com
Mon Feb 1 11:34:32 UTC 2010


On Mon, 2010-02-01 at 10:53 +0000, Ian Campbell wrote:
> # HG changeset patch
> # User Ian Campbell <ian.campbell at citrix.com>
> # Date 1265020755 0
> # Node ID d7fc59d6a274334377fdbb09dcaf80a76431bcdb
> # Parent  a6f27b5a3096ce627b5003c7be19ca59f7dd9606
> CA-37154: vswitch: Use MAC address of tagged PIF for VLAN fake-bridge
> 
> This is because PIF.MAC for a VLAN is FE:FF:FF:FF:FF:FF. In bridge
> mode the VLAN and the bridge naturally pick up the underlying MAC
> address from the physical device but under vswitch we must explicitly
> specify it and we are currently specifying
> FE:FF:FF:FF:FF. interface-reconfigure needs to use the MAC address of
> the tagged PIF not the untagged PIF.
> 
> Signed-off-by: Ian Campbell <ian.campbell at citrix.com>
> 
> diff -r a6f27b5a3096 -r d7fc59d6a274 scripts/InterfaceReconfigureVswitch.py
> --- a/scripts/InterfaceReconfigureVswitch.py	Mon Feb 01 10:39:15 2010 +0000
> +++ b/scripts/InterfaceReconfigureVswitch.py	Mon Feb 01 10:39:15 2010 +0000

This diff was automatically generated from the xen-api.hg repository
rather than porting to the openvswitch.git repository and sending from
there. This is easier for me and I figured the mapping to paths within
openvswitch.git was fairly obvious, but if this is problematic for you
guys I can do the cross-port in the future.

Ian.






More information about the dev mailing list