Adding onos instances and masters command

Change-Id: I4ca3674dc56ea2d4475efbbcefb8f4d0674a27e2
diff --git a/VERSION b/VERSION
index 04b10b4..ebf14b4 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.1.7
+2.1.8
diff --git a/cord-robot/CORDRobot/rf-resources/ONOS.resource b/cord-robot/CORDRobot/rf-resources/ONOS.resource
index 25bfb87..cd7abb9 100644
--- a/cord-robot/CORDRobot/rf-resources/ONOS.resource
+++ b/cord-robot/CORDRobot/rf-resources/ONOS.resource
@@ -122,6 +122,14 @@
     ...    onos_xc.log    sr-xconnect
     ...    host=${server_ip}    port=${server_port}
     ${onos_xc}    Get Binary File    /tmp/onos_xc.log
+    CORDRobot.write_log_of_onos_cli_command    /tmp
+    ...    onos_instances.log    nodes
+    ...    host=${server_ip}    port=${server_port}
+    ${onos_instances}    Get Binary File    /tmp/onos_instances.log
+    CORDRobot.write_log_of_onos_cli_command    /tmp
+    ...    onos_masters.log    masters
+    ...    host=${server_ip}    port=${server_port}
+    ${onos_masters}    Get Binary File    /tmp/onos_masters.log
     Log    ${onos_apps}
     Log    ${onos_devices}
     Log    ${onos_xc}
@@ -141,3 +149,5 @@
     Log    ${onos_dhcpl2relay_stats}
     Log    ${onos_aaa_stats}
     Log    ${onos_cfg_settings}
+    Log    ${onos_instances}
+    Log    ${onos_masters}