Closed derek-shnosh closed 5 years ago
I think I've discovered why the full config is being dumped to the log, maybe you can confirm @PackeTsar.
We just had two of twelve switches only get a partial config. I'm unsure if this was because the switch didn't parse it all or because ZTP didn't send it all, since my current log message is simply log("cfact.request: Returning the merged config to TFTPy.")
If so, I'd like to instead suggest that the merged config files are written to disk somewhere; e.g. /etc'ztp/merged_cfgs
.
A write erase
and reload
resulted in the switch getting the full configuration. For now, I have put the default log message back to assist with troubleshooting if this happens again.
Update: Another switch got a partial config. Checked the log file and saw the full configuration as returned to TFPTy. Like before, this was resolved by a write erase
and reload
.
Goals
Concerns
identity
andtemplatename
variables pass through fromdef get_template
?