def test_node_set_console_mode(self):
        node_show = self.show_node(self.node['uuid'])

        self.assertEqual('False', node_show['console_enabled'])

        self.ironic('node-set-console-mode',
                    params='{0} true'.format(self.node['uuid']))
        node_show = self.show_node(self.node['uuid'])

        self.assertEqual('True', node_show['console_enabled'])
Test steps:
dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/tests/functional/test_node.py/NodeSanityTestIronicClient.test_node_set_console_mode