Example #1
0
    def withdraw(cli_opts, prefixes: List[str],
                 prefix_type: str):  # noqa: B902
        """ Withdraw the prefixes being advertised from this node """

        prefix_mgr.WithdrawCmd(cli_opts).run(prefixes, prefix_type)
Example #2
0
    def withdraw(cli_opts, prefixes):  # noqa: B902
        ''' Withdraw the prefixes being advertised from this node '''

        prefix_mgr.WithdrawCmd(cli_opts).run(prefixes)
Example #3
0
    def withdraw(cli_opts, prefixes: List[str],
                 prefix_type: str):  # noqa: B902
        """ Withdraw the prefixes being advertised from this node """

        # pyre-fixme[6]: Expected `Bunch` for 1st param but got `WithdrawCli`.
        prefix_mgr.WithdrawCmd(cli_opts).run(prefixes, prefix_type)