Add ipmi_cmd_type support to get_lan_print_dict

Support ipmi_cmd_tyep of either 'inband' or 'external' for function
get_lan_print_dict.  The value defaults to external.

Updated 'Test Inband IPMI Factory Reset' to call 'Get Lan Print Dict'
with ipmi_cmd_type=inband to maintain prior functionality.

Change-Id: I3676e8c86bb9464d1067f309252a7904df993ed2
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/openpower/test_inband_factory_reset.robot b/openpower/test_inband_factory_reset.robot
index fd3344a..5983331 100644
--- a/openpower/test_inband_factory_reset.robot
+++ b/openpower/test_inband_factory_reset.robot
@@ -18,7 +18,7 @@
 
     REST Power On  stack_mode=skip
 
-    ${network_info}=  Get Lan Print Dict
+    ${network_info}=  Get Lan Print Dict  ipmi_cmd_type=inband
     Should Not Be Empty  ${network_info}
 
     # Call reset method.