Specifications
A
Sample conf.rfw file
80
path: <URL>Specifiesanalternativeupdatebundlelocationforthistarget
usingthesamesyntaxastherequiredkeybundles:path.
phase: <0‐999>Specifiesaphasegroup.SeeSetupphasegroupsonpage 22.
post‐update: <URL>Specifiesapost‐updatescripttorunaftertheupdateisrunand
themoduleisrebootedtotheupdatedbank.
set‐bank: <0‐1>Forcesthemoduletoreboottothespecifiedbootbankbefore
startingtheupdate.Thestandbybank(thebanknotspecifiedhere)is
alwaysupdatedfirst.
update‐banks: <dual|single>Specifiesthenumberofbankstoupdate.Thedefaultis
dual.Ifasinglebankisspecified,thebankupdatedisthestandbybank,
whichisthebanknotinuseatthetimeofupdate.Thecheck‐bankor
set‐bankoptioncanbeusedtospecifytheactivebankatthetimeofthe
update.
‐ Requiredseparatorbetweeneachbundleandupdate‐targets.SeeFull
sampleconf.rfwfileonpage 83.
Formatting guidelines for conf.rfw
Theconf.rfwfilemustconformtotheseYAMLspecifications:
•Thefilemusthavetwomajorsections:bundlesandupdate‐targets
• Indentations mustbeinsertedwithspaces.Donotusetabs.
• Indentation mustbeconsistentwithinlevels.Thisexampleisincorrect:
‐
connect:telnet://root@10.0.0.1
module:ATCA‐1200
‐
•Themodulenamesinthebundlessectionmustmatchthemodulenamesinthe
update‐targetssection
•The
connecttargetsmustbeaccessiblefromthesystemrunningrfw‐update
•Thepathtargetsmustbeaccessiblefromthe moduletobeupdated
•Commentscanbeplacedinthefile,precededbya#symbol
Ifyougeneratetheconf .rfwfi lebycopyingtheFullsampleconf.rfwfileonpage 83,youneed
toproperlyformatthefilesorfw‐updatecanparseit.Modify
eachkeyinthebundlesand
update‐targetssectionssotheirindentationsareconsistentbetweenlevels.Forexample,
usefourspacestoprecede thekeynames,suchasmoduleandpath.
Note:Donotusetabstogeneratewhitespaceintheconfigurationfile.