poors_man_pce

 https://github.com/shusugmt/gobgp-tutorial

https://packetpushers.net/want-create-pce-prototype/

root@ubuntu:~/work/poors_man_pce# ls
avoid_node_link_color.py          bgp_ls_topo_data.json                 functions_dict.py  pcep
avoid_node.py                     bwconstraint_excludelink_dijkstra.py  __init__.py        plain_dijkstra.py
bandwidth_constraint_dijkstra.py  dboperations.py                       message_broker.py  poors_man_pce.py
bgp_ls_all_topo1.json             draw_graph.gpickle                    pce_cmdshell.py    __pycache__
bgp_ls_all_topo.json              draw_graph.py                         PCE_Config.json    README.md
bgp_ls_pull.py                    exclude_link_dijkstra.py              pce.db             test.py
root@ubuntu:~/work/poors_man_pce# python3 poors_man_pce.py 
Traceback (most recent call last):
  File "poors_man_pce.py", line 5, in <module>
    import zmq,pickle,functions_dict
ModuleNotFoundError: No module named 'zmq'
root@ubuntu:~/work/poors_man_pce# 
  apt install python3-pip

  pip3 install networkx

  pip3 install pyzmq 
  pip3 install pika
 
  pip3 install gevent

  pip3 install google

  pip3 install protobuf

  pip3 install tornado
原文地址:https://www.cnblogs.com/dream397/p/13536126.html