DMTF / Redfishtool

A Python34 program that implements a command line tool for accessing the Redfish API.
Other
224 stars 68 forks source link

Properly populate url to accept IPv6 addresses #72

Closed wido closed 4 years ago

wido commented 4 years ago

URLs with IPv6 addresses in them should use [ ] around the address

This then works:

$ redfishtool -r 2001:db8:100::482 -u ADMIN -p ADMIN Systems reset ForceOn

Debugging will show this URL is generated:

Transport.ProcessRequest: url=http://[2001:db8:100::482]/redfish/v1/

Signed-off-by: Wido den Hollander wido@widodh.nl

mraineri commented 4 years ago

Approved 1/9