]> git.proxmox.com Git - mirror_frr.git/blobdiff - tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1-2.py
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / tests / topotests / bgp_gr_functionality_topo1 / test_bgp_gr_functionality_topo1-2.py
index 0647ad5d0684c7896fad65ebe37e2263890dea97..13c5ba538c4a8c492e6ee412f38c7a82a4619d3c 100644 (file)
@@ -1,26 +1,13 @@
 #!/usr/bin/env python
+# SPDX-License-Identifier: ISC
 #
 # Copyright (c) 2019 by VMware, Inc. ("VMware")
 # Used Copyright (c) 2018 by Network Device Education Foundation, Inc. ("NetDEF")
 # in this file.
 #
-# Permission to use, copy, modify, and/or distribute this software
-# for any purpose with or without fee is hereby granted, provided
-# that the above copyright notice and this permission notice appear
-# in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND VMWARE DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL VMWARE BE LIABLE FOR
-# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
-# DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
-# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
-# OF THIS SOFTWARE.
-#
 
 """
-Following tests are covered to test BGP Gracefull Restart functionality.
+Following tests are covered to test BGP Graceful Restart functionality.
 Basic Common Test steps for all the test case below :
 - Create topology (setup module)
   Creating 2 routers topology, r1, r2 in IBGP
@@ -81,7 +68,7 @@ Basic Common Test steps for all the test case below :
     Global Mode : GR Restart
     PerPeer Mode :  None
     GR Mode effective : GR Restart
-23. Transition from Peer-level disbale to Global inherit helper
+23. Transition from Peer-level disable to Global inherit helper
     Global Mode : None
     PerPeer Mode :  GR Disable
     GR Mode effective : GR Disable
@@ -160,7 +147,7 @@ def setup_module(mod):
     # Required linux kernel version for this suite to run.
     result = required_linux_kernel_version("4.16")
     if result is not True:
-        pytest.skip("Kernel requirements are not met")
+        pytest.skip("Kernel requirements are not met, kernel version should be >=4.16")
 
     testsuite_run_time = time.asctime(time.localtime(time.time()))
     logger.info("Testsuite start time: {}".format(testsuite_run_time))
@@ -176,7 +163,7 @@ def setup_module(mod):
     # ... and here it calls Mininet initialization functions.
 
     # Starting topology, create tmp files which are loaded to routers
-    #  to start deamons and then start routers
+    #  to start daemons and then start routers
     start_topology(tgen)
 
     # Creating configuration from JSON