Changing the way the mac addrs is extracted from OVS switches. 91/22291/11
authorKailash Khalasi <kkhalasi@iix.net>
Wed, 10 Jun 2015 17:45:43 +0000 (17:45 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 10 Jun 2015 23:00:55 +0000 (23:00 +0000)
commitea8419aaafb07e6599cfcf26b4b0f5ddaf88c423
tree3df0c0d36c51c3d35f5bbe9b3f7fd6be7e10be46
parente3e764e1f674c57acd046e41addf611fa2e2997c
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>
test/csit/libraries/SwitchClasses/Ovs.py