Skip to content

Commit

Permalink
[sonic-frr-mgmt-framework]: refactor the way of load srv6 locator opc…
Browse files Browse the repository at this point in the history
…ode config (sonic-net#20954)

[sonic-frr-mgmt-framework]: refactor the way of load srv6 locator opcode config

Signed-off-by: linsongnan <[email protected]>
  • Loading branch information
LARLSN authored Nov 29, 2024
1 parent 96d7461 commit 2e3e028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-frr-mgmt-framework/frrcfgd/frrcfgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2078,7 +2078,7 @@ class BGPConfigDaemon:
('icmo_ttl', 'ttl {}', handle_ip_sla_common),
('icmp_tos', 'tos {}', handle_ip_sla_common),
]
srv6_locator_key_map = [(['opcode_prefix', 'opcode_act', 'opcode_vrf'], '{no:no-prefix}opcode {} {} vrf {}', hdl_srv6_locator)]
srv6_locator_key_map = [(['opcode_prefix', 'opcode_act', 'opcode_data'], '{no:no-prefix}opcode {} {} {}', hdl_srv6_locator)]


tbl_to_key_map = {'BGP_GLOBALS': global_key_map,
Expand Down

0 comments on commit 2e3e028

Please sign in to comment.