Package: redfish-utilities
Redfish TackleboxCopyright 2019-2022 DMTF. All rights reserved.AboutRedfish Tacklebox contains a set of Python3 utilities to perform common management operations with a Redfish service.
The utilities can be used as part of larger management applications, or be used as standalone command line tools.Installationpip install redfish_utilitiesBuilding from Sourcepython setup.py sdist
pip install dist/redfish_utilities-x.x.x.tar.gzBuilding DockerPull the container from Docker Hub:dockerpulldmtf/redfish-utilities:latestBuild a container from local source:dockerbuild-tdmtf/redfish-utilities:latest.Build a container from GitHub:dockerbuild-tdmtf/redfish-utilities:latesthttps://github.com/DMTF/Redfish-Tacklebox.gitRequirementsExternal modules:redfish:https://pypi.python.org/pypi/redfishXlsxWriter:https://pypi.org/project/XlsxWriterYou may install the external modules by running:pip install -r requirements.txtUtilitiesDiscoverusage: rf_discover.py [-h]

A tool to discover Redfish services

optional arguments:
  -h, --help  show this help message and exitExample:rf_discover.pyThe tool will perform an SSDP request to find all available Redfish services.
Once all the responses are collected, it will print each service with its UUID and service root.Sensor Listusage: rf_sensor_list.py [-h] --user USER --password PASSWORD --rhost RHOST

A tool to walk a Redfish service and list sensor info

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --id, -i              Construct sensor names using 'Id' values
  --name, -n            Construct sensor names using 'Name' values
  --debug               Creates debug file showing HTTP traces and exceptionsExample:rf_sensor_list.py -u root -p root -r https://192.168.1.100The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the chassis collection for the service, and reads their respective power and thermal resources.
Using the information from those resources, it will build a sensor table and print the information collected.System Inventoryusage: rf_sys_inventory.py [-h] --user USER --password PASSWORD --rhost RHOST
                           [--details] [--noabsent] [--write [WRITE]]

A tool to walk a Redfish service and list component information

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --details, -details   Indicates if the full details of each component should
                        be shown
  --noabsent, -noabsent
                        Indicates if absent devices should be skipped
  --write [WRITE], -w [WRITE]
                        Indicates if the inventory should be written to a
                        spreadsheet and what the file name should be if given
  --workaround, -workaround
                        Indicates if workarounds should be attempted for non-
                        conformant services
  --debug               Creates debug file showing HTTP traces and exceptionsExample:rf_sys_inventory.py -u root -p root -r https://192.168.1.100 -detailsThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the chassis collection for the service, and collects component information for processors, memory, drives, PCIe devices, network adapters, and storage controllers.
Using the information collected, it will build an inventory table and print the information.Logsusage: rf_logs.py [-h] --user USER --password PASSWORD --rhost RHOST
                  [--manager [MANAGER]] [--system [SYSTEM]]
                  [--chassis [CHASSIS]] [--log LOG] [--details] [--clear]

A tool to manage logs on a Redfish service

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --manager [MANAGER], -m [MANAGER]
                        The ID of the manager containing the log service
  --system [SYSTEM], -s [SYSTEM]
                        The ID of the system containing the log service
  --chassis [CHASSIS], -c [CHASSIS]
                        The ID of the chassis containing the log service
  --log LOG, -l LOG     The ID of the resource containing the log service
  --details, -details   Indicates details to be shown for each log entry
  --clear, -clear       Indicates if the log should be cleared
  --debug               Creates debug file showing HTTP traces and exceptionsExample:rf_logs.py -u root -p root -r https://192.168.1.100 -m BMCThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then attempt to locate the appropriate log service via the following logic:If themanagerargument is provided, it will traverse the manager collection for the matching manager.If thesystemargument is provided, it will traverse the system collection for the matching system.If thechassisargument is provided, it will traverse the chassis collection for the matching chassis.If any of the above arguments are provided without a specified Id, but the collection contains exactly one member, then that member is used.If none of the above arguments are provided, then the tool will try to use a manager in the manager collection if there is only one member present.Within the member, the tool will find the matching log service based on thelogargument.Iflogis not specified, and there is exactly one log service in the member, then the tool will use that one log service.Once the desired log service is found, the tool will either perform theClearLogaction ifclearis provided, or read and display the log entries.Power/Resetusage: rf_power_reset.py [-h] --user USER --password PASSWORD --rhost RHOST
                         [--system SYSTEM]
                         [--type {On,ForceOff,GracefulShutdown,GracefulRestart,ForceRestart,Nmi,ForceOn,PushPowerButton,PowerCycle,Suspend,Pause,Resume}]
                         [--info]

A tool to perform a power/reset operation of a system

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --system SYSTEM, -s SYSTEM
                        The ID of the system to reset
  --type {On,ForceOff,GracefulShutdown,GracefulRestart,ForceRestart,Nmi,ForceOn,PushPowerButton,PowerCycle,Suspend,Pause,Resume}, -t {On,ForceOff,GracefulShutdown,GracefulRestart,ForceRestart,Nmi,ForceOn,PushPowerButton,PowerCycle,Suspend,Pause,Resume}
                        The type of power/reset operation to perform
  --info, -info         Indicates if reset and power information should be
                        reported
  --debug               Creates debug file showing HTTP traces and exceptionsExample:rf_power_reset.py -u root -p root -r https://192.168.1.100 -t GracefulRestartThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the system collection for the service to find the matching system specified by thesystemargument.
It will perform theResetaction with the specified reset type from thetypeargument.Ifsystemis not specified, and if the service has exactly one system, it will perform the operation on the one system.Iftypeis not specified, it will attempt aGracefulRestart.Boot Overrideusage: rf_boot_override.py [-h] --user USER --password PASSWORD --rhost RHOST
                           [--system SYSTEM] [--target TARGET] [--uefi UEFI]
                           [--reset]

A tool to perform a one time boot override of a system

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --system SYSTEM, -s SYSTEM
                        The ID of the system to set
  --info, -info         Indicates if boot information should be reported
  --target TARGET, -t TARGET
                        The target boot device; if this argument is omitted
                        the tool will display the current boot settings
  --uefi UEFI, -uefi UEFI
                        If target is 'UefiTarget', the UEFI Device Path of the
                        device to boot. If target is 'UefiBootNext', the UEFI
                        Boot Option string of the device to boot.
  --mode MODE, -m MODE  The requested boot mode ('UEFI' or 'Legacy')
  --reset, -reset       Signifies that the system is reset after the boot
                        override is set
  --workaround, -workaround
                        Indicates if workarounds should be attempted for non-
                        conformant services
  --debug               Creates debug file showing HTTP traces and exceptionsExample:rf_boot_override.py -u root -p root -r https://192.168.1.100 -t Pxe -resetThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the system collection for the service to find the matching system specified by thesystemargument.Ifsystemis not specified, and if the service has exactly one system, it will perform the operation on the one system.The tool will then perform an operation on theBootobject within the matching system.Iftargetis specified, it will update theBootobject to set the boot override to betarget.Ifresetis provided, it will reset the system after updating theBootobject.Iftargetis not specified, it will display the current boot override settings for the system.Manager Configurationusage: rf_manager_config.py [-h] --user USER --password PASSWORD --rhost RHOST
                            [--manager MANAGER] [--debug]
                            {info,reset,getnet,setnet,resettodefaults,settime,getprotocol,setprotocol}
                            ...

A tool to manage managers in a service

positional arguments:
  {info,reset,getnet,setnet,resettodefaults,settime,getprotocol,setprotocol}
    info                Displays information about a manager
    reset               Resets a manager
    getnet              Displays information about an Ethernet interface
    setnet              Configures an Ethernet interface
    resettodefaults     Resets a manager to default settings
    settime             Sets the date-time on a manager
    getprotocol         Displays network protocol information about a manager
    setprotocol         Configures network protocol settings on a manager

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --manager MANAGER, -m MANAGER
                        The ID of the manager to target
  --debug               Creates debug file showing HTTP traces and exceptionsInfousage: rf_manager_config.py info [-h]

optional arguments:
  -h, --help  show this help message and exitExample:rf_manager_config.py -u root -p root -r https://192.168.1.100 infoThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the manager specified by themanagerargument, and displays the manager instance.Ifmanageris not specified, and if the service has exactly one manager, it will perform the operation on the one manager.Resetusage: rf_manager_config.py reset [-h]
                                  [--type {On,ForceOff,GracefulShutdown,GracefulRestart,ForceRestart,Nmi,ForceOn,PushPowerButton,PowerCycle}]
                                  [--info]

optional arguments:
  -h, --help            show this help message and exit
  --type {On,ForceOff,GracefulShutdown,GracefulRestart,ForceRestart,Nmi,ForceOn,PushPowerButton,PowerCycle}, -t {On,ForceOff,GracefulShutdown,GracefulRestart,ForceRestart,Nmi,ForceOn,PushPowerButton,PowerCycle}
                        The type of power/reset operation to perform
  --info, -info         Indicates if reset information should be reportedExample:rf_manager_config.py -u root -p root -r https://192.168.1.100 reset -t GracefulRestartThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the manager collection for the service to find the matching manager specified by themanagerargument.
It will perform theResetaction with the specified reset type from thetypeargument.Ifmanageris not specified, and if the service has exactly one manager, it will perform the operation on the one manager.Iftypeis not specified, it will attempt aGracefulRestart.Set Timeusage: rf_manager_config.py settime [-h] [--datetime DATETIME] [--offset OFFSET]

optional arguments:
  -h, --help            show this help message and exit
  --datetime DATETIME, -dt DATETIME
                        The date-time value to set
  --offset OFFSET, -o OFFSET
                        The date-time offset value to setExample:rf_manager_config.py -u root -p root -r https://192.168.1.100 settime -dt 2023-07-27T12:00:00-05:00Example:rf_manager_config.py -u root -p root -r https://192.168.1.100 settime -o=-05:00The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the manager specified by themanagerargument, and applies thedatetimeandoffsetvalues to the manager instance.Ifmanageris not specified, and if the service has exactly one manager, it will perform the operation on the one manager.Get Network Interfaceusage: rf_manager_config.py getnet [-h] [--id ID]

optional arguments:
  -h, --help      show this help message and exit
  --id ID, -i ID  The identifier of the Ethernet interface to displayExample:rf_manager_config.py -u root -p root -r https://192.168.1.100 getnet -i NIC2The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the manager specified by themanagerargument, locate the Ethernet interface specified by theidargument, and displays the interface instance.Ifmanageris not specified, and if the service has exactly one manager, it will perform the operation on the one manager.Ifidis not specified, and if the manager has exactly one Ethernet interface, it will perform the operation on the one interface.Set Network Interfaceusage: rf_manager_config.py setnet [-h] [--id ID] [--ipv4address IPV4ADDRESS]
                                   [--ipv4netmask IPV4NETMASK]
                                   [--ipv4gateway IPV4GATEWAY]
                                   [--dhcpv4 {On,Off}]
                                   [--ipv6addresses IPV6ADDRESSES [IPV6ADDRESSES ...]]
                                   [--ipv6gateways IPV6GATEWAYS [IPV6GATEWAYS ...]]
                                   [--dhcpv6 {Stateful,Stateless,Disabled,Enabled}]
                                   [--vlan {On,Off}] [--vlanid VLANID]
                                   [--vlanpriority VLANPRIORITY]

optional arguments:
  -h, --help            show this help message and exit
  --id ID, -i ID        The identifier of the Ethernet interface to configure
  --ipv4address IPV4ADDRESS, -ipv4address IPV4ADDRESS
                        The static IPv4 address to set
  --ipv4netmask IPV4NETMASK, -ipv4netmask IPV4NETMASK
                        The static IPv4 subnet mask to set
  --ipv4gateway IPV4GATEWAY, -ipv4gateway IPV4GATEWAY
                        The static IPv4 gateway to set
  --dhcpv4 {On,Off}, -dhcpv4 {On,Off}
                        The DHCPv4 configuration to set
  --ipv6addresses IPV6ADDRESSES [IPV6ADDRESSES ...], -ipv6addresses IPV6ADDRESSES [IPV6ADDRESSES ...]
                        The static IPv6 addresses to set with prefix length
  --ipv6gateways IPV6GATEWAYS [IPV6GATEWAYS ...], -ipv6gateways IPV6GATEWAYS [IPV6GATEWAYS ...]
                        The static IPv6 default gateways to set with prefix
                        length
  --dhcpv6 {Stateful,Stateless,Disabled,Enabled}, -dhcpv6 {Stateful,Stateless,Disabled,Enabled}
                        The DHCPv6 configuration to set
  --vlan {On,Off}, -vlan {On,Off}
                        The VLAN enabled configuration to set
  --vlanid VLANID, -vlanid VLANID
                        The VLAN ID to set
  --vlanpriority VLANPRIORITY, -vlanpriority VLANPRIORITY
                        The VLAN priority to setExample:rf_manager_config.py -u root -p root -r https://192.168.1.100 setnet -i NIC2 -ipv4address 192.168.1.101 -ipv4gateway 192.168.1.1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the manager specified by themanagerargument, locate the Ethernet interface specified by theidargument, and apply the requested settings to the interface.Ifmanageris not specified, and if the service has exactly one manager, it will perform the operation on the one manager.Ifidis not specified, and if the manager has exactly one Ethernet interface, it will perform the operation on the one interface.Reset to Defaultsusage: rf_manager_config.py resettodefaults [-h]
                                            [--type {ResetAll,PreserveNetworkAndUsers,PreserveNetwork}]
                                            [--info]

optional arguments:
  -h, --help            show this help message and exit
  --type {ResetAll,PreserveNetworkAndUsers,PreserveNetwork}, -t {ResetAll,PreserveNetworkAndUsers,PreserveNetwork}
                        The type of reset-to-defaults operation to perform
  --info, -info         Indicates if reset-to-defaults information should be
                        reportedExample:rf_manager_config.py -u root -p root -r https://192.168.1.100 resettodefaults -t ResetAllThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the manager collection for the service to find the matching manager specified by themanagerargument.
It will perform theResetToDefaultsaction with the specified reset type from thetypeargument.Ifmanageris not specified, and if the service has exactly one manager, it will perform the operation on the one manager.Iftypeis not specified, it will attempt to perform the action withPreserveNetworkAndUsers.Get Network Protocol Informationusage: rf_manager_config.py getprotocol [-h]

optional arguments:
  -h, --help  show this help message and exitExample:rf_manager_config.py -u root -p root -r https://192.168.1.100 getprotocolThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the manager collection for the service to find the matching manager specified by themanagerargument and displays its network protocol information.Ifmanageris not specified, and if the service has exactly one manager, it will perform the operation on the one manager.Set Network Protocol Informationusage: rf_manager_config.py setprotocol [-h] --protocol PROTOCOL [--enable]
                                        [--disable] [--port PORT]

required arguments:
  --protocol PROTOCOL, -prot PROTOCOL
                        The protocol to set

optional arguments:
  -h, --help            show this help message and exit
  --enable, -en         Enable the selected protocol
  --disable, -dis       Disable the selected protocol
  --port PORT, -port PORT
                        The port number to assign the protocolExample:rf_manager_config.py -u root -p root -r https://192.168.1.100 getprotocolThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the manager collection for the service to find the matching manager specified by themanagerargument and apply the configuration specified by theenable,disable, andportarguments to the protocol specified by theprotocolargument.Ifmanageris not specified, and if the service has exactly one manager, it will perform the operation on the one manager.BIOS Settingsusage: rf_bios_settings.py [-h] --user USER --password PASSWORD --rhost RHOST
                           [--system SYSTEM] [--attribute name value]

A tool to manager BIOS settings for a system

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --system SYSTEM, -s SYSTEM
                        The ID of the system to manage
  --attribute name value, -a name value
                        Sets a BIOS attribute to a new value; can be supplied
                        multiple times to set multiple attributes
  --workaround, -workaround
                        Indicates if workarounds should be attempted for non-
                        conformant services
  --debug               Creates debug file showing HTTP traces and exceptionsExample:rf_bios_settings.py -u root -p root -r https://192.168.1.100 -a BiosMode LegacyThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then traverses the system collection for the service to find the matching system specified by thesystemargument.Ifsystemis not specified, and if the service has exactly one system, it will perform the operation on the one system.The tool will then get the BIOS resource for the matching system.Ifattributeis specified, it will update the BIOS resource with the new attribute value.Ifattributeis not specified, it will display the BIOS settings.Accountsusage: rf_accounts.py [-h] --user USER --password PASSWORD --rhost RHOST
                      [--add name password role] [--delete DELETE]
                      [--setname old_name new_name]
                      [--setpassword name new_password]
                      [--setrole name new_role] [--enable ENABLE]
                      [--disable DISABLE] [--unlock UNLOCK]

A tool to manage user accounts on a Redfish service

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --add name password role, -add name password role
                        Adds a new user account
  --delete DELETE, -delete DELETE
                        Deletes a user account with the given name
  --setname old_name new_name, -setname old_name new_name
                        Sets a user account to a new name
  --setpassword name new_password, -setpassword name new_password
                        Sets a user account to a new password
  --setrole name new_role, -setrole name new_role
                        Sets a user account to a new role
  --enable ENABLE, -enable ENABLE
                        Enables a user account with the given name
  --disable DISABLE, -disable DISABLE
                        Disabled a user account with the given name
  --unlock UNLOCK, -unlock UNLOCK
                        Unlocks a user account with the given name
  --debug               Creates debug file showing HTTP traces and exceptionsThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
Based on the parameters, it will display, add, delete, or modify user accounts.Theaddargument is used to create a new user accountExample:rf_accounts.py -u root -p root -r https://192.168.1.100 -add new_name new_password new_roleThedeleteargument is used to delete a user account based on the given user nameExample:rf_accounts.py -u root -p root -r https://192.168.1.100 -delete user_to_deleteThesetnameargument is used to change the name of a user accountExample:rf_accounts.py -u root -p root -r https://192.168.1.100 -setname user_to_change new_nameThesetpasswordargument is used to change the password of a user accountExample:rf_accounts.py -u root -p root -r https://192.168.1.100 -setpassword user_to_change new_passwordThesetroleargument is used to change the role of a user accountExample:rf_accounts.py -u root -p root -r https://192.168.1.100 -setrole user_to_change new_roleTheenableargument is used to enable a user accountExample:rf_accounts.py -u root -p root -r https://192.168.1.100 -enable user_to_changeThedisableargument is used to disable a user accountExample:rf_accounts.py -u root -p root -r https://192.168.1.100 -disable user_to_changeTheunlockargument is used to unlock a user accountExample:rf_accounts.py -u root -p root -r https://192.168.1.100 -unlock user_to_changeIf none of the above arguments are given, a table of the user accounts is providedExample:rf_accounts.py -u root -p root -r https://192.168.1.100Updateusage: rf_update.py [-h] --user USER --password PASSWORD --rhost RHOST --image
                    IMAGE [--target TARGET]

A tool to perform an update with a Redfish service

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)
  --image IMAGE, -i IMAGE
                        The URI or filepath of the image

optional arguments:
  -h, --help            show this help message and exit
  --target TARGET, -t TARGET
                        The target resource to apply the image
  --applytime {Immediate,OnReset,AtMaintenanceWindowStart,InMaintenanceWindowOnReset,OnStartUpdateRequest}, -at {Immediate,OnReset,AtMaintenanceWindowStart,InMaintenanceWindowOnReset,OnStartUpdateRequest}
                        The apply time for the update
  --debug               Creates debug file showing HTTP traces and exceptionsExample:rf_update.py -u root -p root -r https://192.168.1.100 -i image.binThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It then builds a request payload to perform aSimpleUpdateaction against the update service using the image specified by theimageargument.
The optionaltargetargument is used in the request if attempting to update a particular system, device, manager, or other resource.
Once theSimpleUpdateis requested, it monitors the progress of the update, and displays response messages reported by the service about the update once complete.Event Serviceusage: rf_event_service.py [-h] --user USER --password PASSWORD --rhost RHOST
                           {subscribe,unsubscribe,info} ...

A tool to manage the event service on a Redfish service

positional arguments:
  {info,subscribe,unsubscribe}
    info                Displays information about the event service and
                        subscriptions
    subscribe           Creates an event subscription to a specified URL
    unsubscribe         Deletes an event subscription

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --debug               Creates debug file showing HTTP traces and exceptionsInfousage: rf_event_service.py info [-h]

optional arguments:
  -h, --help  show this help message and exitExample:rf_event_service.py -u root -p root -r https://192.168.1.100 infoThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the event service and event subscriptions and display their information.Subscribeusage: rf_event_service.py subscribe [-h] --destination DESTINATION
                                     [--context CONTEXT] [--expand]
                                     [--format FORMAT]
                                     [--resourcetypes RESOURCETYPES [RESOURCETYPES ...]]
                                     [--registries REGISTRIES [REGISTRIES ...]]

required arguments:
  --destination DESTINATION, -dest DESTINATION
                        The URL where events are sent for the subscription

optional arguments:
  -h, --help            show this help message and exit
  --context CONTEXT, -c CONTEXT
                        The context string for the subscription that is
                        supplied back in the event payload
  --expand, -e          Indicates if the origin of condition in the event is
                        to be expanded
  --format FORMAT, -f FORMAT
                        The format of the event payloads
  --resourcetypes RESOURCETYPES [RESOURCETYPES ...], -rt RESOURCETYPES [RESOURCETYPES ...]
                        A list of resource types for the subscription
  --registries REGISTRIES [REGISTRIES ...], -reg REGISTRIES [REGISTRIES ...]
                        A list of registries for the subscription
  --eventtypes EVENTTYPES [EVENTTYPES ...], -et EVENTTYPES [EVENTTYPES ...]
                        A list of event types for the subscription; this
                        option has been deprecated in favor of other methods
                        such as 'resource types' and 'registries'Example:rf_event_service.py -u root -p root -r https://192.168.1.100 subscribe -dest http://someremotelistener/redfish_event_handlerThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the event service and perform a POST operation on the event destination collection to create a new subscription.
The subscription will specify the destination to be thedestinationargument, and other optional arguments are provided as additional settings on the subscription.Unsubscribeusage: rf_event_service.py unsubscribe [-h] --id ID

required arguments:
  --id ID, -i ID  The identifier of the event subscription to be deleted

optional arguments:
  -h, --help      show this help message and exitExample:rf_event_service.py -u root -p root -r https://192.168.1.100 unsubscribe --id 1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the event service and traverse the members of the event destination collection to find a member with theIdproperty matching theidargument.
If a match is found, it will perform a DELETE on the member.Virtual Mediausage: rf_virtual_media.py [-h] --user USER --password PASSWORD --rhost RHOST
                           [--system SYSTEM]
                           {info,insert,eject} ...

A tool to manage virtual media of a system

positional arguments:
  {info,insert,eject}
    info                Displays information about the virtual media for a
                        system
    insert              Inserts virtual media for a system
    eject               Ejects virtual media from a system

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --system SYSTEM, -s SYSTEM
                        The ID of the system containing the virtual media
  --debug               Creates debug file showing HTTP traces and exceptionsInfousage: rf_virtual_media.py info [-h]

optional arguments:
  -h, --help  show this help message and exitExample:rf_virtual_media.py -u root -p root -r https://192.168.1.100 infoThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the system specified by thesystemargument, find its virtual media collection, and display the virtual media instances.Insertusage: rf_virtual_media.py insert [-h] --image IMAGE [--id ID] [--notinserted]
                                  [--writable]
                                  [--mediatypes MEDIATYPES [MEDIATYPES ...]]

required arguments:
  --image IMAGE, -image IMAGE
                        The URI of the image to insert

optional arguments:
  -h, --help            show this help message and exit
  --id ID, -i ID        The identifier of the virtual media instance to insert
  --notinserted, -notinserted
                        Indicates if the media is to be marked as not inserted
                        for the system
  --writable, -writable
                        Indicates if the media is to be marked as writable for
                        the system
  --mediatypes MEDIATYPES [MEDIATYPES ...], -mt MEDIATYPES [MEDIATYPES ...]
                        A list of acceptable media types for the virtual mediaExample:rf_virtual_media.py -u root -p root -r https://192.168.1.100 insert -image http://somefileserver/my_media.isoThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the system specified by thesystemargument, find its virtual media collection.
It will then iterate through the virtual media collection, and insert the virtual media specified by theimageargument in an appropriate slot.Ejectusage: rf_virtual_media.py eject [-h] --id ID

required arguments:
  --id ID, -i ID  The identifier of the virtual media instance to eject

optional arguments:
  -h, --help      show this help message and exitExample:rf_virtual_media.py -u root -p root -r https://192.168.1.100 eject --id 1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the system specified by thesystemargument, find its virtual media collection.
It will then locate the virtual media instance with matchingIdproperty with theidargument, and then eject the media.Licensesusage: rf_licenses.py [-h] --user USER --password PASSWORD --rhost RHOST
                      [--debug]
                      {info,install,delete} ...

A tool to manage licenses on a Redfish service

positional arguments:
  {info,install,delete}
    info                Displays information about the licenses installed on
                        the service
    install             Installs a new license
    delete              Deletes a license

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --debug               Creates debug file showing HTTP traces and exceptionsInfousage: rf_licenses.py info [-h] [--details]

optional arguments:
  -h, --help           show this help message and exit
  --details, -details  Indicates if the full details of each license should be
                       shownExample:rf_licenses.py -u root -p root -r https://192.168.1.100 infoThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the license service, find its license collection, and display the licenses.Installusage: rf_licenses.py install [-h] --license LICENSE

required arguments:
  --license LICENSE, -l LICENSE
                        The filepath or URI to the license to install

optional arguments:
  -h, --help            show this help message and exitExample:rf_licenses.py -u root -p root -r https://192.168.1.100 install --license /home/user/my_license.xmlThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the license service.
If the license referenced by thelicenseargument is local file, it will insert the contents of the license file in the license collection.
Otherwise, it will install the new license with theInstallaction found on the license service.Deleteusage: rf_licenses.py delete [-h] --license LICENSE

required arguments:
  --license LICENSE, -l LICENSE
                        The identifier of the license to delete

optional arguments:
  -h, --help            show this help message and exitExample:rf_licenses.py -u root -p root -r https://192.168.1.100 delete --license 1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the license service and find the license requested by thelicenseargument.
If the matching license is found, it will delete the license.Certificatesusage: rf_certificates.py [-h] --user USER --password PASSWORD --rhost RHOST
                          [--debug]
                          {info,csrinfo,csr,install,delete} ...

A tool to manage certificates on a Redfish service

positional arguments:
  {info,csrinfo,csr,install,delete}
    info                Displays information about the certificates installed
                        on the service
    csrinfo             Displays information about options supported for
                        generating certificate signing requests
    csr                 Generates a certificate signing request
    install             Installs a certificate on the service
    delete              Deletes a certificate on the service

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --debug               Creates debug file showing HTTP traces and exceptionsInfousage: rf_certificates.py info [-h] [--details]

optional arguments:
  -h, --help           show this help message and exit
  --details, -details  Indicates if the full details of each certificate
                       should be shownExample:rf_certificates.py -u root -p root -r https://192.168.1.100 infoThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the certificate service, find its certificate locations, and display the certificates.Certificate Signing Request Infousage: rf_certificates.py csrinfo [-h]

optional arguments:
  -h, --help  show this help message and exitExample:rf_certificates.py -u root -p root -r https://192.168.1.100 csrinfoThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the certificate service, find theGenerateCSRaction, and display the information obtained from its action info.Certificate Signing Requestusage: rf_certificates.py csr [-h] --certificatecollection
                              CERTIFICATECOLLECTION --commonname COMMONNAME
                              --organization ORGANIZATION --organizationalunit
                              ORGANIZATIONALUNIT --city CITY --state STATE
                              --country COUNTRY [--email EMAIL]
                              [--keyalg KEYALG] [--keylen KEYLEN]
                              [--keycurve KEYCURVE] [--out OUT]

required arguments:
  --certificatecollection CERTIFICATECOLLECTION, -col CERTIFICATECOLLECTION
                        The URI of the certificate collection where the signed
                        certificate will be installed
  --commonname COMMONNAME, -cn COMMONNAME
                        The common name of the component to secure
  --organization ORGANIZATION, -o ORGANIZATION
                        The name of the unit in the organization making the
                        request
  --organizationalunit ORGANIZATIONALUNIT, -ou ORGANIZATIONALUNIT
                        The name of the unit in the organization making the
                        request
  --city CITY, -l CITY  The city or locality of the organization making the
                        request
  --state STATE, -st STATE
                        The state, province, or region of the organization
                        making the request
  --country COUNTRY, -c COUNTRY
                        The two-letter country code of the organization making
                        the request

optional arguments:
  -h, --help            show this help message and exit
  --email EMAIL, -email EMAIL
                        The email address of the contact within the
                        organization making the request
  --keyalg KEYALG, -alg KEYALG
                        The type of key-pair for use with signing algorithms
  --keylen KEYLEN, -len KEYLEN
                        The length of the key, in bits, if the key pair
                        algorithm supports key size
  --keycurve KEYCURVE, -curve KEYCURVE
                        The curve ID to use with the key if the key pair
                        algorithm supports curves
  --out OUT, -out OUT   The file, with optional path, to save the certificate
                        signing requestExample:rf_certificates.py -u root -p root -r https://192.168.1.100 csr -col /redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates -cn "manager.contoso.org" -o "Contoso" -ou "Contoso HW Div" -l "Portland" -st "Oregon" -c "US"The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the certificate service, find theGenerateCSRaction, invoke theGenerateCSRaction with the provided arguments, and display the certificate signing request produced by the service.Installusage: rf_certificates.py install [-h] --destination DESTINATION --certificate
                                  CERTIFICATE [--key KEY]

required arguments:
  --destination DESTINATION, -dest DESTINATION
                        The installation URI of the certificate; either a
                        certificate collection to insert, or an existing
                        certificate to replace
  --certificate CERTIFICATE, -cert CERTIFICATE
                        The file, and optional path, of the certificate to
                        install

optional arguments:
  -h, --help            show this help message and exit
  --key KEY, -key KEY   The file, and optional path, of the private key for
                        the certificate to installExample:rf_licenses.py -u root -p root -r https://192.168.1.100 install --destination /redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/1 --cert /home/user/my_new_cert.pemThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then inspect the URI referenced by thedestinationargument.
If thedestinationis discovered to be a certificate collection, it will install the contents provided by thecertificateandkeyarguments into the referenced collection.
Otherwise, it will locate the certificate service, find theReplaceCertificateaction, and invoke the action with the contents provided by thecertificateandkeyarguments to replace the certificate referenced by thedestinationargument.Deleteusage: rf_certificates.py delete [-h] --certificate CERTIFICATE

required arguments:
  --certificate CERTIFICATE, -cert CERTIFICATE
                        The URI of the certificate to delete

optional arguments:
  -h, --help            show this help message and exitExample:rf_certificates.py -u root -p root -r https://192.168.1.100 delete --certificate /redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then delete the certificate referenced by thecertificateargument.Diagnostic Datausage: rf_diagnostic_data.py [-h] --user USER --password PASSWORD --rhost
                             RHOST [--manager [MANAGER]] [--system [SYSTEM]]
                             [--chassis [CHASSIS]] [--log LOG]
                             [--type {Manager,PreOS,OS,OEM}]
                             [--oemtype OEMTYPE] [--directory DIRECTORY]

A tool to collect diagnostic data from a log service on a Redfish service

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --manager [MANAGER], -m [MANAGER]
                        The ID of the manager containing the log service
  --system [SYSTEM], -s [SYSTEM]
                        The ID of the system containing the log service
  --chassis [CHASSIS], -c [CHASSIS]
                        The ID of the chassis containing the log service
  --log LOG, -l LOG     The ID of the log service
  --type {Manager,PreOS,OS,OEM}, -type {Manager,PreOS,OS,OEM}
                        The type of diagnostic data to collect; defaults to
                        'Manager' if not specified
  --oemtype OEMTYPE, -oemtype OEMTYPE
                        The OEM-specific type of diagnostic data to collect;
                        this option should only be used if the requested type
                        is 'OEM'
  --directory DIRECTORY, -d DIRECTORY
                        The directory to save the diagnostic data; defaults to
                        the current directory if not specified
  --debug               Creates debug file showing HTTP traces and exceptionsExample:rf_diagnostic_data.py -u root -p root -r https://192.168.1.100 -m BMCThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then attempt to locate the appropriate log service via the following logic:If themanagerargument is provided, it will traverse the manager collection for the matching manager.If thesystemargument is provided, it will traverse the system collection for the matching system.If thechassisargument is provided, it will traverse the chassis collection for the matching chassis.If any of the above arguments are provided without a specified Id, but the collection contains exactly one member, then that member is used.If none of the above arguments are provided, then the tool will try to use a manager in the manager collection if there is only one member present.Within the member, the tool will find the matching log service based on thelogargument.Iflogis not specified, and there is exactly one log service in the member, then the tool will use that one log service.Once the desired log service is found, the tool perform theGetDiagnosticDataaction and specify the type of diagnostic data to collect based on thetypeandoemtypearguments.  Once the action is complete, it will download the diagnostic data from the service and save it on the local system.Power Equipmentusage: rf_power_equipment.py [-h] --user USER --password PASSWORD --rhost
                             RHOST [--debug]
                             {list,status,outlets,outletinfo,mainsinfo,branchinfo}
                             ...

A tool to manage power equipment

positional arguments:
  {list,status,outlets,outletinfo,mainsinfo,branchinfo}
    list                Displays a list of the available power equipment
    status              Displays the status of an instance of power equipment
    outlets             Displays the outlet summary of an instance of power
                        equipment
    outletinfo          Displays the status of an outlet for an instance of
                        power equipment
    mainsinfo           Displays the status of a mains circuit for an instance
                        of power equipment
    branchinfo          Displays the status of a branch circuit for an
                        instance of power equipment

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)

optional arguments:
  -h, --help            show this help message and exit
  --debug               Creates debug file showing HTTP traces and exceptionsListusage: rf_power_equipment.py list [-h]

optional arguments:
  -h, --help  show this help message and exitExample:rf_power_equipment.py -u root -p root -r https://192.168.1.100 listThe tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the power equipment monitored by the service and construct a table of the available equipment categorized by the equipment type.Statususage: rf_power_equipment.py status [-h] --type
                                    {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                                    [--equipment EQUIPMENT]

required arguments:
  --type {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}, -t {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                        The type of power equipment to get

optional arguments:
  -h, --help  show this help message and exit
  --equipment EQUIPMENT, -pe EQUIPMENT
                        The identifier of the power equipment to getExample:rf_power_equipment.py -u root -p root -r https://192.168.1.100 status -t RackPDU -pe 1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the equipment specified by theequipmentargument for the type specified by thetypeargument, and displays the equipment instance with summary information about any mains and branch circuits found.Ifequipmentis not specified, and if the service has exactly one equipment of the desired type, it will perform the operation on the one equipment.Outletsusage: rf_power_equipment.py outlets [-h] --type
                                     {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                                     [--equipment EQUIPMENT]

required arguments:
  --type {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}, -t {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                        The type of power equipment to get

optional arguments:
  -h, --help  show this help message and exit
  --equipment EQUIPMENT, -pe EQUIPMENT
                        The identifier of the power equipment to getExample:rf_power_equipment.py -u root -p root -r https://192.168.1.100 outlets -t RackPDU -pe 1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the equipment specified by theequipmentargument for the type specified by thetypeargument, and displays the outlet summary for the equipment.Ifequipmentis not specified, and if the service has exactly one equipment of the desired type, it will perform the operation on the one equipment.Outlet Inforf_power_equipment.py outletinfo --help
usage: rf_power_equipment.py outletinfo [-h] --type
                                        {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                                        [--equipment EQUIPMENT]
                                        [--outlet OUTLET]

required arguments:
  --type {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}, -t {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                        The type of power equipment to get
                        
optional arguments:
  -h, --help            show this help message and exit
  --equipment EQUIPMENT, -pe EQUIPMENT
                        The identifier of the power equipment to get
  --outlet OUTLET, -o OUTLET
                        The identifier of the outlet to getExample:rf_power_equipment.py -u root -p root -r https://192.168.1.100 outletinfo -t RackPDU -pe 1 -o A1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the equipment specified by theequipmentargument for the type specified by thetypeargument.
It will then locate the outlet specified by theoutletargument, and displays the outlet info.Ifequipmentis not specified, and if the service has exactly one equipment of the desired type, it will perform the operation on the one equipment.Ifoutletis not specified, and if the equipment has exactly one outlet, it will perform the operation on the one outlet.Mains Infousage: rf_power_equipment.py mainsinfo [-h] --type
                                       {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                                       [--equipment EQUIPMENT] [--mains MAINS]

required arguments:
  --type {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}, -t {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                        The type of power equipment to get
                        
optional arguments:
  -h, --help            show this help message and exit
  --equipment EQUIPMENT, -pe EQUIPMENT
                        The identifier of the power equipment to get
  --mains MAINS, -m MAINS
                        The identifier of the mains circuit to getExample:rf_power_equipment.py -u root -p root -r https://192.168.1.100 mainsinfo -t RackPDU -pe 1 -m Input1The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the equipment specified by theequipmentargument for the type specified by thetypeargument.
It will then locate the mains circuit specified by themainsargument, and displays the mains circuit info.Ifequipmentis not specified, and if the service has exactly one equipment of the desired type, it will perform the operation on the one equipment.Ifmainsis not specified, and if the equipment has exactly one mains circuit, it will perform the operation on the one mains circuit.Branch Infousage: rf_power_equipment.py branchinfo [-h] --type
                                        {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                                        [--equipment EQUIPMENT]
                                        [--branch BRANCH]

required arguments:
  --type {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}, -t {FloorPDU,RackPDU,Switchgear,TransferSwitch,PowerShelf,ElectricalBus}
                        The type of power equipment to get
                        
optional arguments:
  -h, --help            show this help message and exit
  --equipment EQUIPMENT, -pe EQUIPMENT
                        The identifier of the power equipment to get
  --branch BRANCH, -b BRANCH
                        The identifier of the branch circuit to getExample:rf_power_equipment.py -u root -p root -r https://192.168.1.100 branchinfo -t RackPDU -pe 1 -b 4The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then locate the equipment specified by theequipmentargument for the type specified by thetypeargument.
It will then locate the branch circuit specified by thebranchargument, and displays the branch circuit info.Ifequipmentis not specified, and if the service has exactly one equipment of the desired type, it will perform the operation on the one equipment.Ifbranchis not specified, and if the equipment has exactly one branch circuit, it will perform the operation on the one branch circuit.Raw Requestusage: rf_raw_request.py [-h] --user USER --password PASSWORD --rhost RHOST
                         [--method {GET,HEAD,POST,PATCH,PUT,DELETE}] --request
                         REQUEST [--body BODY] [--verbose]

A tool perform a raw request to a Redfish service

required arguments:
  --user USER, -u USER  The user name for authentication
  --password PASSWORD, -p PASSWORD
                        The password for authentication
  --rhost RHOST, -r RHOST
                        The address of the Redfish service (with scheme)
  --request REQUEST, -req REQUEST
                        The URI for the request

optional arguments:
  -h, --help            show this help message and exit
  --method {GET,HEAD,POST,PATCH,PUT,DELETE}, -m {GET,HEAD,POST,PATCH,PUT,DELETE}
                        The HTTP method to perform; performs GET if not
                        specified
  --body BODY, -b BODY  The body to provide with the request; can be a JSON
                        string for a JSON request, a filename to send binary
                        data, or an unstructured string
  --verbose, -v         Indicates if HTTP response codes and headers are
                        displayedExample:rf_raw_request.py -u root -p root -r https://192.168.1.100 -req /redfish/v1/Systems/1 -m PATCH -b '{"AssetTag": "New tag"}'The tool will log into the service specified by therhostargument using the credentials provided by theuserandpasswordarguments.
It will then perform the requested method on the specified URI with an optional body, specified by themethod,request, andbodyarguments.
It will then display the response of the operation from the service.Test Event Listenerusage: rf_test_event_listener.py [-h] --listener LISTENER [--file FILE]
                                 [--id ID] [--name NAME] [--context CONTEXT]
                                 [--eventtype EVENTTYPE] [--eventid EVENTID]
                                 [--severity SEVERITY] [--message MESSAGE]
                                 [--messageid MESSAGEID]
                                 [--timestamp TIMESTAMP] [--header name value]

A tool to help verify a Redfish event listener

required arguments:
  --listener LISTENER, -l LISTENER
                        The absolute URI of the Redfish event listener (with
                        scheme)

optional arguments:
  -h, --help            show this help message and exit
  --file FILE, -file FILE
                        The filepath to a JSON file containing the event
                        payload; if this argument is specified, all other
                        arguments controlling the event data is ignored
  --id ID, -id ID       The value to specify in the Id property of the event
  --name NAME, -name NAME
                        The value to specify in the Name property of the event
  --context CONTEXT, -context CONTEXT
                        The value to specify in the Context property of the
                        event
  --eventtype EVENTTYPE, -eventtype EVENTTYPE
                        The value to specify in the EventType property of the
                        event
  --eventid EVENTID, -eventid EVENTID
                        The value to specify in the EventId property of the
                        event
  --severity SEVERITY, -severity SEVERITY
                        The value to specify in the Severity property of the
                        event
  --message MESSAGE, -message MESSAGE
                        The value to specify in the Message property of the
                        event
  --messageid MESSAGEID, -messageid MESSAGEID
                        The value to specify in the MessageId property of the
                        event
  --timestamp TIMESTAMP, -timestamp TIMESTAMP
                        The value to specify in the EventTimestamp property of
                        the event
  --header name value, -header name value
                        Name-value pairs of HTTP headers to provide with the
                        requestExample:rf_test_event_listener.py -l https://redfishlistener.contoso.orgIf thefileargument is present, the payload is constructed entirely from the contents of the referenced file.
If thefileargument is not present, all other arguments are used to build the event payload.
Once the event payload is constructed, the tool will perform aPOSToperations to the URI specified by thelistenerargument with additional HTTP headers specified by theheaderargument.Release ProcessGo to the "Actions" pageSelect the "Release and Publish" workflowClick "Run workflow"Fill out the formClick "Run workflow"