Skip to content

Commit

Permalink
Merge pull request #2110 from jvoss/frr_static_interface_mangle
Browse files Browse the repository at this point in the history
static: T5398: do not mangle interface names in FRR
  • Loading branch information
c-po committed Jul 25, 2023
2 parents c473f64 + 20ac831 commit 688755a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf_mode/protocols_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def get_config(config=None):
base_path = ['protocols', 'static']
# eqivalent of the C foo ? 'a' : 'b' statement
base = vrf and ['vrf', 'name', vrf, 'protocols', 'static'] or base_path
static = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True)
static = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True, no_tag_node_value_mangle=True)

# Assign the name of our VRF context
if vrf: static['vrf'] = vrf
Expand Down

0 comments on commit 688755a

Please sign in to comment.