From nso cli i can rename device name to some new name
rename devices device old_name new_name
commit no-networking
i am trying this but getting error:
with ncs.maapi.Maapi() as m:with ncs.maapi.Session(m, 'azhar', 'system'):with m.start_write_trans(...