Add support to log collecter CLI options for port

Changes:
    - Added CLI option for HTTPS and IPMI

Tested:
    Tested on sanndbox script.

Change-Id: Idfa5679f92f03198505abfb8604d937bea245ef9
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/ffdc_config.yaml b/ffdc/ffdc_config.yaml
index 10e5ecc..f1a9125 100644
--- a/ffdc/ffdc_config.yaml
+++ b/ffdc/ffdc_config.yaml
@@ -137,22 +137,24 @@
     # File contains the data returned from 'redfishtool GET URL'
     REDFISH_LOGS:
         COMMANDS:
-            - redfishtool -u ${username} -p ${password} -r ${hostname} -S Always
-              raw GET /redfish/v1/AccountService/Accounts
-            - redfishtool -u ${username} -p ${password} -r ${hostname} -S Always
-              raw GET
+            - redfishtool -u ${username} -p ${password} -r
+              ${hostname}:${port_https} -S Always raw GET
+              /redfish/v1/AccountService/Accounts
+            - redfishtool -u ${username} -p ${password} -r
+              ${hostname}:${port_https} -S Always raw GET
               /redfish/v1/Managers/${manager_id}/LogServices/Dump/Entries
-            - redfishtool -u ${username} -p ${password} -r ${hostname} -S Always
-              raw GET /redfish/v1/Systems/system/LogServices/Dump/Entries
-            - redfishtool -u ${username} -p ${password} -r ${hostname} -S Always
-              raw GET /redfish/v1/Systems/system/LogServices/EventLog/Entries
+            - redfishtool -u ${username} -p ${password} -r
+              ${hostname}:${port_https} -S Always raw GET
+              /redfish/v1/Systems/system/LogServices/Dump/Entries
+            - redfishtool -u ${username} -p ${password} -r
+              ${hostname}:${port_https} -S Always raw GET
+              /redfish/v1/Systems/system/LogServices/EventLog/Entries
             - plugin:
                   - plugin_name: plugin.redfish.enumerate_request
                   - plugin_args:
                         - ${hostname}
                         - ${username}
                         - ${password}
-                        - ${manager_id}
                         - /redfish/v1/
                         - json
         FILES:
@@ -168,11 +170,11 @@
     IPMI_LOGS:
         COMMANDS:
             - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
-              ${hostname} lan print
+              ${hostname} -p ${port_ipmi} lan print
             - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
-              ${hostname} fru list
+              ${hostname} -p ${port_ipmi} fru list
             - ipmitool -I lanplus -C 17 -U ${username} -P ${password} -H
-              ${hostname} user list
+              ${hostname} -p ${port_ipmi} user list
         FILES:
             - "IPMI_LAN_print.txt"
             - "IPMI_FRU_list.txt"