Note: This will export the license in base 64 string format', dest = "export_local", required = False) add_argument( '-export-local', help = 'Export iDRAC license locally, pass in the license ID you want to export. add_argument( '-get', help = 'Get current iDRAC licenses', action = "store_true", required = False) add_argument( '-script-examples', help = 'Get executing script examples', action = "store_true", dest = "script_examples", required = False) By default, this argument is not required and script ignores validating SSL cert for all Redfish calls.', required = False) add_argument( '-ssl', help = 'SSL cert verification for all Redfish calls, pass in value \"true \" or \"false \". All Redfish calls will use X-Auth token instead of username/password', required = False) add_argument( '-x', help = 'Pass in X-Auth session token for executing Redfish calls. If you do not pass in argument -p, script will prompt to enter user password which will not be echoed to the screen.', required = False) add_argument( '-p', help = 'iDRAC password. add_argument( '-u', help = 'iDRAC username', required = False) add_argument( '-ip', help = 'iDRAC IP address', required = False) Supported script operations are: view current licenses, export / import / delete licenses") ArgumentParser( description = "Python script using Redfish API with OEM extension to manage iDRAC license(s). # implied, including the implied warranties of MERCHANTABILITY or FITNESS There is NO WARRANTY for this software, express or # This software is licensed to you under the GNU General Public License, Python script using Redfish API with OEM extension to manage iDRAC license(s).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |