XCAT- Add nodes to group and get list of nodes added in a group.

This change includes:
    Adding BMC nodes to a group
    Verify added BMC nodes
    Get list of nodes added in a group.

This resolves openbmc/openbmc-test-automation#657

Change-Id: I9bd9668cfe8605728113d9f4f92cf5f7b64f4a68
Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
diff --git a/xcat/xcat_testing.robot b/xcat/xcat_testing.robot
index 7a6fb1f..22c1898 100644
--- a/xcat/xcat_testing.robot
+++ b/xcat/xcat_testing.robot
@@ -43,6 +43,15 @@
     \  Power Off Via XCAT  ${bmc}
     \  Validate Power Status Via XCAT  ${bmc}  ${poweroff_flag}
 
+Add Nodes To Group List
+    [Documentation]  Add BMC nodes into group.
+    [Tags]  Move_Added_Nodes_To_Group
+
+    # Add BMC nodes to group and validate.
+    : FOR  ${bmc}  IN  @{BMC_LIST}
+    /  Add Nodes To Group  ${bmc}  ${GROUP}
+    /  Validate Node Added In Group  ${bmc}  ${GROUP}
+
 *** Keywords ***
 
 Validate XCAT Setup