Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/p/y/python-ironicclient-0.1.4/ironicclient/v1/node.py   python-ironicclient(Download)
    def update(self, node_id, patch):
        return self._update(self._path(node_id), patch)
 
    def set_power_state(self, node_id, state):
        path = "%s/states/power" % node_id
            state = "rebooting"
        target = {'target': state}
        return self._update(self._path(path), target, method='PUT')
 
    def validate(self, node_uuid):
    def set_provision_state(self, node_uuid, state):
        path = "%s/states/provision" % node_uuid
        target = {'target': state}
        return self._update(self._path(path), target, method='PUT')
 
    def set_console_mode(self, node_uuid, enabled):
        path = "%s/states/console" % node_uuid
        target = {'enabled': enabled}
        return self._update(self._path(path), target, method='PUT')
 

src/p/y/python-ironicclient-0.1.4/ironicclient/v1/chassis.py   python-ironicclient(Download)
    def update(self, chassis_id, patch):
        return self._update(self._path(chassis_id), patch)
 

src/p/y/python-ironicclient-0.1.4/ironicclient/v1/port.py   python-ironicclient(Download)
    def update(self, port_id, patch):
        return self._update(self._path(port_id), patch)