Skip to content
Snippets Groups Projects

FirmwareImage: Keep config extn in activate

Merged Vivek Dutta requested to merge fw_image into devel
  • In Download() operate command a. if AutoActivate=true, then only use the provided KeepConfig value b. in case of KeepConfig not provided use default download_keep_config=1 c. if AutoActivate=false or not provided then ignore Keepconfig value, d. By default don't copy config
  • In Activate() operate command a. Add a vendor extension for KeepConfig b. If KeepConfig not provided then use "1" as default keep config value

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • requested review from @amin.benromdhane

  • Requirement update:

    Manual test done with dmcli:

    dmcli do "Device.DeviceInfo.FirmwareImage.[Status==Available].Download()"" URL=file:///tmp/last.itb AutoActivate=1 X_IOWRT_EU_KeepConfig=0
    
    dmcli do "Device.DeviceInfo.FirmwareImage.1.Download()" URL=file:///tmp/last.itb AutoActivate=1 X_IOWRT_EU_KeepConfig=1
    
    dmcli do "Device.DeviceInfo.FirmwareImage.2.Download()" URL=file:///tmp/last.itb AutoActivate=1
    
    dmcli do "Device.DeviceInfo.FirmwareImage.1.Download()" URL=file:///tmp/last.itb
    
    dmcli do "Device.DeviceInfo.FirmwareImage.1.Download()" URL=file:///tmp/last.itb AutoActivate=0
    
    dmcli do "Device.DeviceInfo.FirmwareImage.1.Activate()"
    
    dmcli do "Device.DeviceInfo.FirmwareImage.1.Activate()" X_IOWRT_EU_KeepConfig=0
    
    dmcli do "Device.DeviceInfo.FirmwareImage.2.Activate()" X_IOWRT_EU_KeepConfig=0
  • Amin Ben Romdhane approved this merge request

    approved this merge request

  • merged

Please register or sign in to reply
Loading