Netconf callhome does not obey default datastore values as defined
in odl-netconf-device.yang model.
We have to set datastore lock to true manually when creating
configuration node.
This way we can prevent error when we are unable to connect callhome
device because of already closed session.
JIRA: NETCONF-942
Change-Id: I98bc0e01d8d5bd3c2fdd3f4c57546656db61569c
Signed-off-by: Ivan Hrasko <[email protected]>
.setUsername("omitted")
.setPassword("omitted")
.build())
+ .setLockDatastore(true)
.build())
.build();
}