def routes(cli_opts, labels, json): # noqa: B902 """ Request Mpls routing table of the current host """ fib.FibMplsRoutesCmd(cli_opts).run(labels, json)
def print_fib_mpls_routes(self): if not self.print_routes: return fib.FibMplsRoutesCmd(self.cli_opts).run([], False)