Skip to content

Commit

Permalink
bugfix: also dump 'mpls' state on interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Pim van Pelt committed Oct 28, 2024
1 parent 4ba8c59 commit 8f7c65d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vppcfg/vpp/dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ def cache_to_config(self):
i["addresses"] = self.cache["interface_addresses"][
iface.sw_if_index
]
if iface.sw_if_index in self.cache["interface_mpls"]:
i["mpls"] = self.cache["interface_mpls"][iface.sw_if_index]
if iface.sw_if_index in self.cache["l2xcs"]:
l2xc = self.cache["l2xcs"][iface.sw_if_index]
i["l2xc"] = self.cache["interfaces"][
Expand Down

0 comments on commit 8f7c65d

Please sign in to comment.