HewlettPackard / python-redfish-utility

Python-based utility for interacting with devices supporting a Redfish Service
Other
86 stars 41 forks source link

ilorest serverclone requires lot of effort #36

Closed ygiri1 closed 1 year ago

ygiri1 commented 3 years ago

Hi Team,

i recently used iloreset serverclone saved all the changes applied to server001 and when did change required fields like IP address and Hostname and ILO License. I didn't know it would even change the serial number. In fact serial number is a unique property to every other server. why serverclone is updating such property when its never required.

and in the json file have already updated the autoneg and Full Duplex with Boolean values. I don't know why I got this message.

Patching '#Manager.v1_5_1.Manager'. Loading configuration... Committing changes... The operation completed successfully. "AutoNeg" requires Property "SpeedMbps+FullDuplex" to be specified.

in IPV4, there was 2 area need to update the IP Address, Subnet Mask, and Gateway. like which one needs to be updated exactly.

/redfish/v1/Managers/1/EthernetInterfaces/IPv4Addresses /redfish/v1/Managers/1/EthernetInterfaces/IPv4StaticAddresses

rajeevkallur commented 3 years ago

We will investigate this and get back to you.

sahanaramavana commented 2 years ago

Hi @ygiri1 ,

Have you verified the same on the released version of our tool which is 3.5.1 .

kindly let us know if you are seeing serial number getting overridden, because unless we use the flag uniqueoverride it wouldnt be overriding the system specific values.

Thanks & Regards, iLORest Team

rajeevkallur commented 1 year ago

Please use --uniqueoverride along with serverclone command as serialnumber is unique. Documentation for this is available below https://hewlettpackard.github.io/python-redfish-utility/#serverclone-command