Ejemplo n.º 1
0
Archivo: fib.py Proyecto: qmiinh/openr
    def routes(cli_opts, labels, json):  # noqa: B902
        """ Request Mpls routing table of the current host """

        fib.FibMplsRoutesCmd(cli_opts).run(labels, json)
Ejemplo n.º 2
0
 def print_fib_mpls_routes(self):
     if not self.print_routes:
         return
     fib.FibMplsRoutesCmd(self.cli_opts).run([], False)