[WIP} add frappy.update()
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user