Subject: [Netconf] rename operation for YANG Patch

From: Andy Bierman <[email-masked]>
Date: Thu, 2 Apr 2015 08:00:54 -0700

Hi,

It would be very easy to add a "rename" operation to the YANG Patch
draft.  This would allow an operator to efficiently change the value
of list keys without deleting and re-creating entries.

Since deletion and re-creation will cause a disruption in network
services, IMO it is important that this is fixed in RESTCONF.
Unlike NETCONF (which has a multi-step procedure with
locking and candidate config) there is no way to efficiently
rename an entry in RESTCONF.

The 'move' operation almost does a 'rename', but it is not expected
to have a payload.  A 'rename' operation would be similar to 'move'
except the keys that are changing would be specified.

Is there support to add this operation to YANG Patch?

Andy