def routes( cli_opts: Bunch, # noqa: B902 prefixes: List[str], labels: List[int], json: bool, ): """ Get and print all the routes on fib agent """ return_code = fib.FibRoutesInstalledCmd(cli_opts).run( prefixes, labels, json) sys.exit(return_code)
def routes(cli_opts, prefixes, json): # noqa: B902 ''' Get and print all the routes on fib agent ''' return_code = fib.FibRoutesInstalledCmd(cli_opts).run(prefixes, json) sys.exit(return_code)
def print_fib_routes_installed(self): if not self.print_routes: return fib.FibRoutesInstalledCmd(self.cli_opts).run([])
def routes(cli_opts, prefixes): # noqa: B902 ''' Get and print all the routes on fib agent ''' fib.FibRoutesInstalledCmd(cli_opts).run(prefixes)