summaryrefslogtreecommitdiff
path: root/tools/frr-reload.py
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2022-04-24 11:48:08 -0700
committerChirag Shah <chirag@nvidia.com>2022-04-24 11:56:47 -0700
commit2a502f07a8e20ecc3deb409b053bc5e12ceb67f4 (patch)
treefa2b63d09ee58f3a85d32beb805c75e5b21ddc1a /tools/frr-reload.py
parent411d1a2950e9ed21a7d8fb65d8121a39bd01198e (diff)
tools: string literals -> comments
Convert string literals to comment. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'tools/frr-reload.py')
-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 9b96243d98..f47f9a7eb0 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)