Zdenek Styblik
2013-12-09 09:54:16 UTC
On Mon, Dec 9, 2013 at 10:01 AM, Zdenek Styblik
Z.
Hello Charles,
here is my review of your patch.
~~~
+# printf "view bmcview included %s 80\n" "${BMC_OID}"
+# printf "com2sec -Cn bmc_ctx bmc_sec default bmc_cmty\n"
+# printf "group bmc_grp v1 bmc_sec\n"
+# printf "access bmc_grp bmc_ctx any noauth exact bmcview none none\n"
+# printf "proxy -Cn bmc_ctx -v 1 %s\n" "${PROXY_TOKEN}"
+ printf "proxy -v 1 %s\n" "${PROXY_TOKEN}"
~~~
Why are we going to keep commented stuff around?
~~~
+ mkdir ${SNMPD_BMC_CONF_DIR}
+ [ $? -ne 0 ] && RETVAL=7
~~~
-> ``mkdir ${SNMPD_BMC_CONF_DIR} || RETVAL=7''
I'd add a white space here and there.
I haven't tested your changes and review is based on reading-through.
Best regards,
Z.
I forgot to add ipmitool-devel@ on CC.here is my review of your patch.
~~~
+# printf "view bmcview included %s 80\n" "${BMC_OID}"
+# printf "com2sec -Cn bmc_ctx bmc_sec default bmc_cmty\n"
+# printf "group bmc_grp v1 bmc_sec\n"
+# printf "access bmc_grp bmc_ctx any noauth exact bmcview none none\n"
+# printf "proxy -Cn bmc_ctx -v 1 %s\n" "${PROXY_TOKEN}"
+ printf "proxy -v 1 %s\n" "${PROXY_TOKEN}"
~~~
Why are we going to keep commented stuff around?
~~~
+ mkdir ${SNMPD_BMC_CONF_DIR}
+ [ $? -ne 0 ] && RETVAL=7
~~~
-> ``mkdir ${SNMPD_BMC_CONF_DIR} || RETVAL=7''
I'd add a white space here and there.
I haven't tested your changes and review is based on reading-through.
Best regards,
Z.
Z.
--
Zdenek Styblik
Zdenek Styblik