Adding LDAP Test Cases for multiple interfaces

    Changes: Adding two test cases:
    - Verify LDAP Login Works When Both Interfaces Are Configured
    - Verify Secure LDAP Login Works When Both Interfaces Are Configured

    Tested: Ran and tested on BMC Environment.

Change-Id: I44df91152d50034ed83cec54aeb8a74fdc63e659
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/redfish/managers/test_multiple_interfaces.robot b/redfish/managers/test_multiple_interfaces.robot
index 340d779..486221ea 100644
--- a/redfish/managers/test_multiple_interfaces.robot
+++ b/redfish/managers/test_multiple_interfaces.robot
@@ -66,12 +66,36 @@
     [Tags]  Verify_LDAP_Login_Works_When_Eth1_IP_Is_Not_Configured
     [Setup]  Run Keywords  Set Test Variable  ${CHANNEL_NUMBER}  ${2}
     ...  AND  Delete IP Address  ${OPENBMC_HOST_1}
-    [Teardown]  Run Keywords  Redfish.Login  AND
+    ...  AND  Redfish.Login
+    [Teardown]  Run Keywords  Redfish.Logout  AND
     ...  Add IP Address  ${OPENBMC_HOST_1}  ${eth1_subnet_mask}  ${eth1_gateway}
 
     Create LDAP Configuration
-    Redfish.Login  ${LDAP_USER}  ${LDAP_USER_PASSWORD}
     Redfish.Logout
+    Redfish.Login  ${LDAP_USER}  ${LDAP_USER_PASSWORD}
+
+
+Verify LDAP Login Works When Both Interfaces Are Configured
+    [Documentation]  Verify LDAP login works when both interfaces are configured.
+    [Tags]  Verify_LDAP_Login_Works_When_Both_Interfaces_Are_Configured
+    [Setup]  Redfish.Login
+    [Teardown]  Redfish.Logout
+
+    Create LDAP Configuration
+    Redfish.Logout
+    Redfish.Login  ${LDAP_USER}  ${LDAP_USER_PASSWORD}
+
+
+Verify Secure LDAP Login Works When Both Interfaces Are Configured
+    [Documentation]  Verify Secure LDAP login works when both the interfaces are configured.
+    [Tags]  Verify_Secure_LDAP_Login_Works_When_Both_Interfaces_Are_Configured
+    [Setup]  Redfish.Login
+    [Teardown]  Redfish.Logout
+
+    Create LDAP Configuration  ${LDAP_TYPE}  ${LDAP_SERVER_URI_1}  ${LDAP_BIND_DN}
+    ...  ${LDAP_BIND_DN_PASSWORD}  ${LDAP_BASE_DN}
+    Redfish.Logout
+    Redfish.Login  ${LDAP_USER}  ${LDAP_USER_PASSWORD}
 
 
 Verify SNMP Works When Eth1 IP Is Not Configured