commit 85c5f871a56bdaeaa3b8005b69765dea3f54ab59
Author: Lucas Alvares Gomes <email address hidden>
Date: Wed Oct 11 15:36:06 2017 +0100
Simplify the L3 {create, update}_router() methods
This patch is moving some of the logic from the {create,
update}_router() methods of the L3 driver into the OVNClient. In
summary, two things is being done in this patch:
* Remove the "networks" parameter from the {create, update}_router()
method in OVNClient. Now the list of network is fetched within these
methods.
* Remove the "delta" parameter from the update_router() method in
OVNClient. We are already passing the new and old version of the
router to that method, we know the differences we don't need to have
an extra parameter for it.
This patch is related to the work to that is being done at bug #1605089
which uses the OVNClient to recovery the resources that are out of sync
and by having OVNClient to handle the bulky work does simplify the
synchronization work.
Reviewed: https:/ /review. openstack. org/511268 /git.openstack. org/cgit/ openstack/ networking- ovn/commit/ ?id=85c5f871a56 bdaeaa3b8005b69 765dea3f54ab59
Committed: https:/
Submitter: Zuul
Branch: master
commit 85c5f871a56bdae aa3b8005b69765d ea3f54ab59
Author: Lucas Alvares Gomes <email address hidden>
Date: Wed Oct 11 15:36:06 2017 +0100
Simplify the L3 {create, update}_router() methods
This patch is moving some of the logic from the {create, _router( ) methods of the L3 driver into the OVNClient. In
update}
summary, two things is being done in this patch:
* Remove the "networks" parameter from the {create, update}_router()
method in OVNClient. Now the list of network is fetched within these
methods.
* Remove the "delta" parameter from the update_router() method in
OVNClient. We are already passing the new and old version of the
router to that method, we know the differences we don't need to have
an extra parameter for it.
This patch is related to the work to that is being done at bug #1605089
which uses the OVNClient to recovery the resources that are out of sync
and by having OVNClient to handle the bulky work does simplify the
synchronization work.
Related-Bug: #1605089 75e5062cca81717 a3ecad17015
Change-Id: I8f0afb841e042f