We need to use vrouter-port-control script to send add/delete port notifications to agent. This script sends http messages for add/delete to agent. It also ensures that port info is persisted in file (Agent reads those files and re-adds port during restarts).
You can look at /usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py to see how vrouter-port-control script is being used.
The vrouter-port-control script is present in controller repo under src/vnsw/agent/port_ipc/
Hi Ignatious,
We need to use vrouter- port-control script to send add/delete port notifications to agent. This script sends http messages for add/delete to agent. It also ensures that port info is persisted in file (Agent reads those files and re-adds port during restarts).
You can look at /usr/lib/ python2. 7/dist- packages/ nova/virt/ libvirt/ vif.py to see how vrouter- port-control script is being used.
The vrouter- port-control script is present in controller repo under src/vnsw/ agent/port_ ipc/
Regards,
Ashok