Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFR: New-Style Agent Heartbeat #41

Merged
merged 5 commits into from
Jan 28, 2014
Merged

RFR: New-Style Agent Heartbeat #41

merged 5 commits into from
Jan 28, 2014

Conversation

russellhaering
Copy link
Contributor

In conjunction with rackerlabs/teeth-overlord#48, this PR modifies the agent to send heartbeats by performing a PUT to /v1/agents with a payload like:

{
    "mode": "STANDBY",
    "version": "15",
    "hardware": [
        {
            "type": "mac_address",
            "id": "a:b:c:d",
        },
        {
            "type": "mac_address",
            "id": "0:1:2:3",
        }
    ]
}

We might want to rethink the mode field later, but for now this just causes us to send hardware information that the overlord can use to attempt to identify the chassis the agent is running on.

@jimrollenhagen
Copy link
Contributor

LGTM, +1

russellhaering added a commit that referenced this pull request Jan 28, 2014
@russellhaering russellhaering merged commit c821fd7 into master Jan 28, 2014
@jimrollenhagen jimrollenhagen deleted the new_agent_hearbeat branch March 21, 2014 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants