Subject: [netmod] Inconsistent config and state ordering in ietf-hardware

From: William Lupton <[email-masked]>
Date: Wed, 3 May 2017 17:59:29 +0100

All,

I just noticed something minor but inconsistent with ietf-hardware. Whereas ietf-system and ietf-interfaces declare config before state, ietf-hardware is the other way round. If there’s no particular reason for this, perhaps they might be swapped?

% egrep '^   ? ?container' ietf-system.yang ietf-interfaces.yang ietf-hardware.yang 
ietf-system.yang:    container system {
ietf-system.yang:    container system-state {
ietf-interfaces.yang:  container interfaces {
ietf-interfaces.yang:  container interfaces-state {
ietf-hardware.yang:  container hardware-state {
ietf-hardware.yang:  container hardware {

Thanks,
William

PS, Perhaps this is moot, given the new data stores plans?