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