Ask Your Question

Can multiple l3-agent instances run on one host?

asked 2013-06-05 03:45:51 -0600

kong gravatar image

updated 2013-07-01 00:39:53 -0600

fifieldt gravatar image

Hi all:

When I read the code of the latest quantum master brantch, I found that the behavior of "add network to dhcp agent" and "add router to l3 agent" is not the same. Because I have not the newest installation for now, so I came here to ask for help!

'add network to dhcp agent': after some verifacation, will directly add a record in the NetworkDhcpAgentBinding table;

"add router to l3 agent": after some verifacation, method 'autoschedulerouters' is called:

        result = self.auto_schedule_routers(context,

the parameter '' means that there are some l3-agent instances on the host(if not, I think this method will not make sense), then the code will pick one that may be different with the agent you want host the router, so strange!

I wander whether it's a bug. Please let me know if I am missing something here.

--Lingxian Kong

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-25 13:09:01 -0600

PerfectSine gravatar image

updated 2013-07-26 16:35:05 -0600

smaffulli gravatar image

Are you talking about something like this? In this fashion I am able to run an L3 router for each of my public and private networks on a single quantum node.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-06-05 03:45:51 -0600

Seen: 347 times

Last updated: Jul 26 '13