]> git.puffer.fish Git - matthieu/frr.git/commitdiff
'service quagga reload' breaks with four top level keywords
authorDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 1 Oct 2015 18:23:00 +0000 (11:23 -0700)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 1 Oct 2015 18:23:00 +0000 (11:23 -0700)
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Vivek Venkataraman <vivek@cumulusnetworks.com>
Ticket: CM-7757
Reviewed By: Donald and Vivek

tools/quagga-reload.py

index cc3910760d96e2a4c9ccbb8974236dae7bd312af..343d61ae780f9f2fc9d94eaa0c154f299d69513f 100755 (executable)
@@ -219,7 +219,23 @@ end
 
         # the keywords that we know are single line contexts. bgp in this case
         # is not the main router bgp block, but enabling multi-instance
-        oneline_ctx_keywords = ("ip ", "ipv6 ", "log ", "hostname ", "zebra ", "ptm-enable", "debug ", "service ", "enable ", "password ", "access-list ", "bgp ")
+        oneline_ctx_keywords = ("access-list ",
+                                "bgp ",
+                                "debug ",
+                                "dump ",
+                                "enable ",
+                                "hostname ",
+                                "ip ",
+                                "ipv6 ",
+                                "log ",
+                                "password ",
+                                "ptm-enable",
+                                "router-id ",
+                                "service ",
+                                "table ",
+                                "username ",
+                                "zebra ")
+
 
         for line in self.lines: