[WIP} add frappy.update()

This commit is contained in:
2023-10-17 13:39:55 +02:00
parent 15a839bf6c
commit aa40e0255b

View File

@ -332,12 +332,16 @@ class FrappyConfig(Device):
session.log.info(all_info(allcfg))
if proposed:
info = all_info(proposed, '')
session.log.warning('please consider to call:')
info = all_info(proposed, 'proposed configuration: ')
session.log.warning(info)
session.log.warning('please consider to call: frappy.update() for above configuration')
if '?' in info:
session.log.warning("but create cfg files first for items marked with '?'")
def update(self):
proposed = self.to_consider(self.check_services())[0]
self.show_config(self.start_services(**proposed))
def initial_restart_cfg(self, service):
"""get cfg for (re)start of the service