Hi Team

We have a requirement to batch write requests to NETCONF device to ensure 
atomicity.

So far we are discovering NETCONF devices data and mount it under topology 
"topology-netconf" in ODL and the writes could be on different sub trees of 
that node from RESTCONF.
Now, we want to batch some specific set of write operations. So, how can this 
be achieved?

Here are the high-level steps that we follow for a single write request to the 
device

1. Using RESTCONF, Modify the subtree under topology-netconf
2. DTCL will be notified for this change
3. Inside DTCL, Adapt to the NETCONF device model
4. Using NetconfDeviceDataBroker, write the adapted data object to the NETCONF 
device
5. if the request is successfully committed to the device, write the object in 
the Operational DataStore.


Without using RPC's is there any provision to batch NETCONF request to the 
device using RESTCONF and DTCL's?


NOTE:  We are not using yang-ext URL's that are generated from the schemas 
discovered from the device.
Reason behind is that we adapted device models to application models (device 
models are augmented to NetconfNode in ODL),
hence the writes from RESTCONF are on the application models.

Thanks
Vikram


_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to