So I am using the Python3 tikapy for the api, and I want to edit something based off the results I get.
So I write interface/print, I get back a bunch of data I parse it then want it to send back an edit for the comment,
how would I go about using the id to edit a vlan to have the comment room404?
In terms of protocol flow:
/interface/set
=numbers=*01
=comment=room404
(replace *01 with the actual ID you get from the print)
Thank you,
Now that I have that we are trying to set the dhcp-server lease to static we tried this
client.talk([‘/ip/dhcp-server/lease/set’, ‘=.id=*1A1’, ‘=dynamic=false’ ])
Are we going about it the wrong? Also tried no.
There’s a separate command called “make-static”. e.g.
client.talk(['/ip/dhcp-server/lease/make-static, '=numbers=*1A1'])