#!/usr/bin/env python
+# SPDX-License-Identifier: ISC
#
# test_ripng_topo1.py
# Copyright (c) 2017 by
# Network Device Education Foundation, Inc. ("NetDEF")
#
-# 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 NETDEF DISCLAIMS ALL WARRANTIES
-# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NETDEF 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.
-#
"""
test_ripng_topo1.py: Test of RIPng Topology
tgen.gears["r%s" % i].start()
# For debugging after starting FRR daemons, uncomment the next line
- # CLI(net)
+ # tgen.mininet_cli()
def teardown_module(module):
fatal_error = net["r%s" % i].checkRouterRunning()
assert fatal_error == "", fatal_error
- # For debugging after starting FRR daemons, uncomment the next line
- # CLI(net)
-
def test_converge_protocols():
global fatal_error
fatal_error = net["r%s" % i].checkRouterRunning()
assert fatal_error == "", fatal_error
- # For debugging after starting FRR daemons, uncomment the next line
- # CLI(net)
-
def test_ripng_status():
global fatal_error
fatal_error = net["r%s" % i].checkRouterRunning()
assert fatal_error == "", fatal_error
- # For debugging after starting FRR daemons, uncomment the next line
- # CLI(net)
-
def test_ripng_routes():
global fatal_error
fatal_error = net["r%s" % i].checkRouterRunning()
assert fatal_error == "", fatal_error
- # For debugging after starting FRR daemons, uncomment the next line
- # CLI(net)
-
def test_zebra_ipv6_routingTable():
global fatal_error
fatal_error = net["r%s" % i].checkRouterRunning()
assert fatal_error == "", fatal_error
- # For debugging after starting FRR daemons, uncomment the next line
- # CLI(net)
-
def test_shutdown_check_stderr():
global fatal_error