[VOL-4590] Added Mac Learner test support in TT Sanity

Change-Id: Ib41226d7a97d81114325977e2cf433111b47e2ac
diff --git a/tests/tt-workflow/Voltha_TT_PODTests.robot b/tests/tt-workflow/Voltha_TT_PODTests.robot
index f5caa13..483ca6e 100755
--- a/tests/tt-workflow/Voltha_TT_PODTests.robot
+++ b/tests/tt-workflow/Voltha_TT_PODTests.robot
@@ -64,6 +64,10 @@
 
 ${suppressaddsubscriber}    True
 
+# flag to choose if mac-learning is enabled, or disabled (i.e. mac-address is configured)
+# example: -v with_maclearning:True
+${with_maclearning}    False
+
 # flag to choose the subscriber provisioning command type in ONOS
 # TT often provision a single services for a subscriber (eg: hsia, voip, ...) one after the other.
 # if set to True, command used is "volt-add-subscriber-unitag"
@@ -102,7 +106,7 @@
     [Teardown]    Run Keywords    Collect Logs
     ...           AND             Stop Logging    SanityTestTT
     Run Keyword If    ${has_dataplane}    Clean Up Linux
-    Perform Sanity Test TT
+    Perform Sanity Test TT    maclearning_enabled=${with_maclearning}
 
 Sanity E2E Test for TT (MCAST)
     [Documentation]    Validates E2E Ping Connectivity and object states for the given scenario:
@@ -294,7 +298,7 @@
     [Documentation]    Tear down steps for the suite
     Start Logging Setup or Teardown  Teardown-${SUITE NAME}
     Run Keyword If    ${has_dataplane}    Clean Up Linux
-    Run Keyword If    ${teardown_device}    Delete All Devices And Verify
+    Run Keyword If    ${teardown_device}    Delete All Devices And Verify    maclearning_enabled=${with_maclearning}
     Close All ONOS SSH Connections
     # remove pre-loaded tech profiles
     Set Suite Variable    ${TechProfile}    ${EMPTY}