summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2022-04-24 20:48:08 +0200
committerChirag Shah <chirag@nvidia.com>2022-04-24 20:56:47 +0200
commit2a502f07a8e20ecc3deb409b053bc5e12ceb67f4 (patch)
treefa2b63d09ee58f3a85d32beb805c75e5b21ddc1a /tools
parenttools: frr-reload fix bgp nbr delete (diff)
downloadfrr-2a502f07a8e20ecc3deb409b053bc5e12ceb67f4.tar.xz
frr-2a502f07a8e20ecc3deb409b053bc5e12ceb67f4.zip
tools: string literals -> comments
Convert string literals to comment. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/frr-reload.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index 9b96243d9..f47f9a7eb 100755
--- a/tools/frr-reload.py
+++ b/tools/frr-reload.py
@@ -901,15 +901,11 @@ def bgp_remove_neighbor_cfg(lines_to_del, del_nbr_dict):
lines_to_del.remove((ctx_keys, line))
-"""
-This method handles deletion of bgp peer group config.
-The objective is to delete config lines related to peers
-associated with the peer-group and move the peer-group
-config line to the end of the lines_to_del list.
-"""
-
-
def delete_move_lines(lines_to_add, lines_to_del):
+ # This method handles deletion of bgp peer group config.
+ # The objective is to delete config lines related to peers
+ # associated with the peer-group and move the peer-group
+ # config line to the end of the lines_to_del list.
bgp_delete_nbr_remote_as_line(lines_to_add)