Fix a KeyError introduced by the recent change. [1]
The unit tests are taken from the PS1 of the original patch. [2]
Note that super's get_network doesn't fill in provider network
attributes. The ml2 version does it by explicitly calling
self.type_manager.extend_network_dict_provider.
Reviewed: https:/ /review. openstack. org/651021 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=0ce7f6e1b62 5f50756b821c706 7940f2aee0930d
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 0ce7f6e1b625f50 756b821c7067940 f2aee0930d
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon Apr 8 09:35:43 2019 +0900
Fix a KeyError
Fix a KeyError introduced by the recent change. [1]
The unit tests are taken from the PS1 of the original patch. [2]
Note that super's get_network doesn't fill in provider network type_manager. extend_ network_ dict_provider.
attributes. The ml2 version does it by explicitly calling
self.
[1] https:/ /review. openstack. org/#/c/ 648522 /review. openstack. org/#/c/ 648522/ 1
[2] https:/
Closes-Bug: #1823294 370a5f930746030 cead6a895d9 48333e1aff5f6dd 043cb9e68f)
Co-Authored-By: Harald Jensås <email address hidden>
Change-Id: I17b4df558cc7fa
(cherry picked from commit c760a83a5d9111e