__init__.robot created to get FW version
Resolves openbmc/openbmc-test-automation#1703
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
Change-Id: Id97dc9845d01e9ef60f3ef333210722a36e09e6c
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
diff --git a/lib/common_utils.robot b/lib/common_utils.robot
index 4e6595b..2e23d0b 100755
--- a/lib/common_utils.robot
+++ b/lib/common_utils.robot
@@ -834,6 +834,19 @@
[Return] ${pnor_attrs}
+GET BMC PNOR Version
+ [Documentation] Return BMC & PNOR version from openbmc shell.
+
+ ${bmc_version}= GET BMC Version
+ ${pnor_version}= GET PNOR Version
+ Log ${bmc_version}
+ Rprint Vars bmc_version
+ Log ${pnor_version}
+ Rprint Vars pnor_version
+
+ [Return] ${bmc_version} ${pnor_version}
+
+
Copy Address Translation Utils To HOST OS
[Documentation] Copy address translation utils to host OS.
diff --git a/redfish/__init__.robot b/redfish/__init__.robot
new file mode 100644
index 0000000..e2dea32
--- /dev/null
+++ b/redfish/__init__.robot
@@ -0,0 +1,15 @@
+*** Settings ***
+Documentation Get system environment for test suite.
+
+Resource ../lib/common_utils.robot
+
+Suite Setup Get System Environment
+
+*** Keyword ***
+
+Get System Environment
+ [Documentation] System environment details.
+
+ Run Keyword And Ignore Error Get BMC PNOR Version
+
+