'worker'

def work(self):

    self.check_params()
    self.bfd_dict = self.get_bfd_dict()
    self.get_existing()
    self.get_proposed()
    xml_str = ''
    if self.session_name:
        xml_str += self.config_session()
    if xml_str:
        self.netconf_load_config(xml_str)
        self.changed = True
    self.get_end_state()
    self.results['changed'] = self.changed
    self.results['proposed'] = self.proposed
    self.results['existing'] = self.existing
    self.results['end_state'] = self.end_state
    if self.changed:
        self.results['updates'] = self.updates_cmd
    else:
        self.results['updates'] = list()
    self.module.exit_json(**self.results)
