The networking_cisco.apps.saf.server.dfa_listen_dcnm
Module¶
-
class
networking_cisco.apps.saf.server.dfa_listen_dcnm.
DCNMListener
(name, ip, user, password, pqueue=None, c_pri=100, d_pri=100)¶ Bases:
object
This AMQP client class listens to DCNM’s AMQP notification and interacts with openstack for further tenant and network information. It also communicates with CPNR to populate DHCP data.
-
process_amqp_msgs
()¶ Process AMQP queue messages.
It connects to AMQP server and calls callbacks to process DCNM events, i.e. routing key containing ‘.cisco.dcnm.’, once they arrive in the queue.
-