rhel: support persistent mac addresses on OVS bridges
authorLars Kellogg-Stedman <lars@redhat.com>
Fri, 23 May 2014 21:14:35 +0000 (17:14 -0400)
committerBen Pfaff <blp@nicira.com>
Thu, 12 Jun 2014 14:54:12 +0000 (07:54 -0700)
commitbb0bb5d14ca5ffbe14ef793df138e541aab8a6b7
treed457ea319a2ed6d31665172419f3ada693176466
parent6d83989b811bbc64632265d4bb8de7fe4a1042ab
rhel: support persistent mac addresses on OVS bridges

This patch adds support for RHEL-derived systems (RHEL/CentOS/Fedora)
for setting the persistent MAC address of an OVS bridge via the MACADDR
setting in the interface configuration file.

Without this change, when an administrator provides MACADDR in the
interface configuration file that address will be set in ifup-eth using
the "ip link set" command.  While this appears to work, any operation
that updates the OVS configuration will cause the MAC address to revert.

Persistent MAC addresses must be set using ovs-vsctl.

(Resubmitted with whitespace and grammar corrections)

Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
rhel/etc_sysconfig_network-scripts_ifup-ovs