vpp l3 plugin should avoid dependency on vpp_papi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-vpp |
Fix Released
|
Undecided
|
Naveen Joy |
Bug Description
Vpp l3 plugin has a dependency on vpp agent for reading the etcd namespace keys [LEADIN, ROUTERS_DIR etc]. For this it imports vpp agent modules (server.py, vpp.py) which introduces a dependency on vpp and vpp_papi.py
python -c "from networking_
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
import vpp
File "/usr/lib/
import vpp_papi
ImportError: No module named vpp_papi
In distributed scenarios where neutron server runs in its own container/
A refactoring is needed to move this attributes to a common class.
description: | updated |
Changed in networking-vpp: | |
status: | New → Fix Committed |
assignee: | nobody → Naveen Joy (najoy) |
Reviewed: https:/ /review. openstack. org/545985 /git.openstack. org/cgit/ openstack/ networking- vpp/commit/ ?id=d8c2f8d862b 9928519edd26b50 61cc43499f9298
Committed: https:/
Submitter: Zuul
Branch: master
commit d8c2f8d862b9928 519edd26b5061cc 43499f9298
Author: Naveen Joy <email address hidden>
Date: Mon Feb 19 13:02:54 2018 -0800
Create a common constants module to avoid unwanted dependencies
Move all the shared constants between the server, agent and the
plugins to a common constants file to avoid unnecessary dependencies
between modules.
Change-Id: I89573b22e0ff24 6ff4fe607af207a 9226045e7bb
Closes-Bug: #1750255