Exemple #1
0
    def set_node_overload(cli_opts):  # noqa: B902
        ''' Set overload bit to stop transit traffic through node. '''

        lm.SetNodeOverloadCmd(cli_opts).run()
Exemple #2
0
    def set_node_overload(cli_opts, yes):  # noqa: B902
        """Set overload bit to stop transit traffic through node."""

        lm.SetNodeOverloadCmd(cli_opts).run(yes)