← Back to team overview

openstack team mailing list archive

[Openstack :: Folsom :: Quantum ] Working of DHCP Agent

 

Hi-

I was trying to understand how the Quantum DHCP agent Daemon works.  As I
walk through the code, to understand the working on the Daemon,

I found it to be using rpc cast and call. But was lost into the code to
find the correct data flow.

In my study I found this:




quantum/agent/dhcp_agent.py     <--- the actual daemon agent, which makes
the rpc.cast/rpc.call to fetch the data.

          * A                  | *                 <------ (Flow
representing arrows)
          *  |                  V*
quantum/db/dhcp_rpc_base.py     <---- which implements the QuantumPluginV2
to process the rpc.cast/rpc.call by the above agent.

            * A                |   *                <------ (Flow
representing arrows)
          *    |                V*
quantum/db/db_base_plugin_v2.py    <--- where the actual DB processing
happens for the requests.




I have some doubts here, (though there very preliminary)

[1] The RPC cast and call are sent to the Quantum server ?
[2] Am I in a right path of understanding the dhcp agent daemon working.

Kindly please help me understand the processes flow

Thanks in advance.

-- 
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130