Esempio n. 1
0
    def routes(cli_opts, prefixes, labels, json):  # noqa: B902
        """ Request routing table of the current host """

        fib.FibRoutesComputedCmd(cli_opts).run(prefixes, labels, json)
Esempio n. 2
0
 def print_fib_routes_computed(self):
     if not self.print_routes:
         return
     fib.FibRoutesComputedCmd(self.cli_opts).run([], False)