Rob_74473
Jul 18, 2018Cirrus
Modifying a node in python
I am trying to update a couple node params, but I'm getting an error I don't understand. The error is: KeyError('uri',) The kwargs I'm passing to update: {'description': 'sadSad::managed::my.host.com', 'name': 'C100_tools_abuse_1.2.3.4_NODE', 'partition': 'Common', 'session': 'user-disabled', 'state': 'user-down'}
The method: mgmt.tm.ltm.nodes.node.update(**add_args) where add_args are itemized above.
The question is, what is 'uri'? I'm not specifying that, so does the error mean that it is missing? And, if it is missing, what should I set 'uri' to?