This patchset modifies how we verify the integrity of an existing node when processing Attach() call. The changes: - Vericifaction includes only element/models relationship: this should stay constant during node's lifetime. - Allow updating of CID, PID, VID and CRPL. - Some general cleanup related to saving node configuration. Inga Stotland (4): mesh: On node attach, verify element/model composition only mesh: Avoid saving duplicate fields in node config mesh: Allow updating CID, PID, VID & CRPL on node attach mesh: Remove redundant call to save node configuration mesh/mesh-config-json.c | 56 +++++++++++++++++++++++++++++++++-------- mesh/mesh-config.h | 4 +++ mesh/node.c | 29 +++++++++++++++------ 3 files changed, 71 insertions(+), 18 deletions(-) -- 2.21.3