Skip to content

6.3.4 PCC to writers

rod edited this page Aug 15, 2019 · 1 revision

python

All PCC data sent by PCC collector service to Rabbitmq, is consumend by the PCC to writers service. Messages are parsed for relevant values and translated into neo4j cypher query-like messages. Instead of directly updating the database with these queries, query messages are once again sent to Rabbitmq and there will be services strictly in charge of doing so.

Example of PCC data received (sent by PCC collector):

{
   "local_ip":"10.10.10.20",
   "IPv4_Router_Identifier":"10.10.10.20"
}

Example of query-like message sent after processing:

MATCH (n:Node {IPv4_Router_Identifier: '10.10.10.20', topology_id:'mpls'})
  SET n.PCC = '10.10.10.20' 
Clone this wiki locally