

def set_node_maintenance(self, node_id, maintenance_mode, params=''):
    self.ironic('node-set-maintenance', params='{0} {1} {2}'.format(node_id, maintenance_mode, params))

dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/tests/functional/base.py FunctionalTestBase.set_node_maintenance/original