code: def agent_updated(self, context, admin_state_up, host):
          
          self._host_notification(context, 'agent_updated',
                                  {'admin_state_up': admin_state_up}, host)
docs: Updates cfg agent on <host> to enable or disable it.