Changing the way the mac addrs is extracted from OVS switches. 11/22311/1
authorKailash Khalasi <kkhalasi@iix.net>
Wed, 10 Jun 2015 17:45:43 +0000 (17:45 +0000)
committerJamo Luhrsen <james.luhrsen@hp.com>
Wed, 10 Jun 2015 23:01:01 +0000 (23:01 +0000)
commit3682c148c7433fe09259e34f9c99cd9747bd1b01
treee28fff842b0b059030d764bc98177a2a70725e0a
parentc7306b5d2ec560013e6fa5d2090c17afb66a97f5
Changing the way the mac addrs is extracted from OVS switches.

Since the "s1" interface and "s1" is hard-coded, this is a safer approach.

On Fedora, I found that the mac addr wasnt being extracted(but worked for Ubuntu).

This command will work for both platforms, and others as it uses
regular expression.

Change-Id: I008b1a3681eabdace6fbe26346750fb3b1169f7d
Signed-off-by: Kailash Khalasi <kkhalasi@iix.net>
(cherry picked from commit ea8419aaafb07e6599cfcf26b4b0f5ddaf88c423)
test/csit/libraries/SwitchClasses/Ovs.py