Followup to I7736373d03c23884158e4a1d41defafb4e2b8a4c

that patch erroneously replaced dict.values() with dict.items(),
and now ExtraRouteSet can not be created due to AttributeError
('tuple' has no attribute 'has_interface').

Story: 2010142
Task: 45778
Change-Id: I2643b319f3a91f98097b96639f7298b25724aa62
(cherry picked from commit 65a68d97d0)
This commit is contained in:
Pavlo Shchelokovskyy 2022-07-13 15:21:40 +03:00 committed by Takashi Kajinami
parent 08a0a218ef
commit 54beb1df94
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class ExtraRouteSet(neutron.NeutronResource):
def add_dependencies(self, deps):
super(ExtraRouteSet, self).add_dependencies(deps)
for resource in self.stack.items():
for resource in self.stack.values():
# depend on any RouterInterface in this template with the same
# router as this router
if resource.has_interface('OS::Neutron::RouterInterface'):