Merge "Add agent_token param to docstrings"

This commit is contained in:
Zuul 2020-05-28 12:47:02 +00:00 committed by Gerrit Code Review
commit 9e5bd3b20e
3 changed files with 3 additions and 0 deletions

View File

@ -184,6 +184,7 @@ class HeartbeatController(rest.RestController):
before sending agent_version was introduced so agent v3.0.0 (the
last release before sending agent_version was introduced) will be
assumed.
:param agent_token: randomly generated validation token.
:raises: NodeNotFound if node with provided UUID or name was not found.
:raises: InvalidUuidOrName if node_ident is not valid name or UUID.
:raises: NoValidHost if RPC topic for node could not be retrieved.

View File

@ -3089,6 +3089,7 @@ class ConductorManager(base_manager.BaseConductorManager):
agent_version, in these cases assume agent v3.0.0 (the last release
before sending agent_version was introduced).
:param callback_url: URL to reach back to the ramdisk.
:param agent_token: randomly generated validation token.
:raises: NoFreeConductorWorker if there are no conductors to process
this heartbeat request.
"""

View File

@ -905,6 +905,7 @@ class ConductorAPI(object):
:param node_id: node ID or UUID.
:param callback_url: URL to reach back to the ramdisk.
:param topic: RPC topic. Defaults to self.topic.
:param agent_token: randomly generated validation token.
:param agent_version: the version of the agent that is heartbeating
"""
new_kws = {}