Provision Multiple DHCP Agents

Registered by Mark T. Voelker

The N1k team would like to be able to provision multiple DHCP agents in a COI cloud. Today we only provision a single agent on the controller.

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Approved
Assignee:
Mark T. Voelker
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon g.2
Started by
Mark T. Voelker
Completed by
Mark T. Voelker

Related branches

Sprints

Whiteboard

I took a look at this this morning, and this appears to be super easy. I think all we need to do is add one line to the node definition in site.pp for each node that you want to run an agent on:

enable_dhcp_agent => true;

After doing that one a compute node, I verified that the agent does get installed and fired up. Back on the control node we now see:

root@control01:/etc/quantum# quantum agent-list
+--------------------------------------+--------------------+---------------------+-------+----------------+
| id | agent_type | host | alive | admin_state_up |
+--------------------------------------+--------------------+---------------------+-------+----------------+
| 3b10bd24-2961-4f03-a570-9f3c2e8127b5 | Open vSwitch agent | compute01.local.lab | :-) | True |
| 784e11bc-4c56-48b6-a5d5-46469bee4cc8 | L3 agent | control01.local.lab | :-) | True |
| 84ddac25-1274-421e-9503-3933b62f4ad3 | Open vSwitch agent | control01.local.lab | :-) | True |
| 900fb6ff-df9a-425e-b936-659b6cbb77fb | DHCP agent | control01.local.lab | :-) | True |
| eeef4db8-7415-4531-81a9-898217af0722 | DHCP agent | compute01.local.lab | :-) | True |
+--------------------------------------+--------------------+---------------------+-------+----------------+
root@control01:/etc/quantum#

A pull request had been submitted here:

https://github.com/CiscoSystems/grizzly-manifests/pull/131

(?)

Work Items

Work items:
Add comments showing users how to add a dhcp agent to compute node definitions: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.