Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 784edb4

Browse files
committed
T7175: VPP remove unused config_changed variable
1 parent 1cb7b84 commit 784edb4

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/conf_mode/vpp_sflow.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from vyos import ConfigError
1717
from vyos.config import Config
1818
from vyos.configdiff import Diff
19-
from vyos.configdict import node_changed
2019
from vyos.vpp.utils import cli_ifaces_list
2120
from vyos.vpp import VPPControl
2221

@@ -63,14 +62,6 @@ def get_config(config=None) -> dict:
6362
config['remove'] = True
6463
return config
6564

66-
config_changed = node_changed(
67-
conf,
68-
base,
69-
key_mangling=('-', '_'),
70-
recursive=True,
71-
expand_nodes=Diff.DELETE | Diff.ADD,
72-
)
73-
7465
# Add list of VPP interfaces to the config
7566
config.update({'vpp_ifaces': cli_ifaces_list(conf)})
7667

0 commit comments

Comments
 (0)