Hi, Please help to take a look at this critical issue hit after upgrade to 7.5.3 from 6.7.5.
The yang like below:
augment /exa:config/exa:system {
list ont {
tailf:callpoint config_cp;
tailf:info " ont";
key ont-id;
unique “reg-id”;
leaf ont-id {
type string;
}
leaf reg-id {
description “registration-id”;
type string;
}
}
}
Since “reg-id” is defined as “unique” in the yang model, when configuring it , confd will iterate all the onts’ reg-id to validate whether it’s unique.
But after upgrade to 7.5.3 from 6.7.5, confd incorrectly validate the uniqueness and always rejects the configuration after some configurations later.
E7-2# show running-config ont
ont CXNK1
reg-id someexalme
!
ont CXNK2
reg-id someecefnnc2
!
ont CXNK3
reg-id 2
!
ont CXNK10
!
ont CXNK11
!
E7-2# configure
Enter configuration commands, one per line. End with CNTL/Z.
E7-2(config)# ont 4
E7-2(config-ont-4)# reg-id 2
Aborted: values are not unique: 2
‘ont 4 reg-id’
‘ont CXNK3 reg-id’ =>This uniqueness failure is correct since reg-id 2 is used by CXNK3
Error: failed to apply modifications
E7-2(config-ont-4)# end
E7-2# configure
Enter configuration commands, one per line. End with CNTL/Z.
E7-2(config)# ont 5
E7-2(config-ont-5)# reg-id 5
E7-2(config-ont-5)# ont 6
E7-2(config-ont-6)# reg-id 6
E7-2(config-ont-6)# ont 7
E7-2(config-ont-7)# reg-id 7
E7-2(config-ont-7)# ont 8
E7-2(config-ont-8)# reg-id 8
E7-2(config-ont-8)# ont 9
E7-2(config-ont-9)# reg-id 9
E7-2(config-ont-9)# ont 10
E7-2(config-ont-10)# reg-id 10
Aborted: values are not unique: 10
‘ont 10 reg-id’
‘ont 10 reg-id’ ===>This uniqueness failure is wrong since reg-id 10 is not used.
Error: failed to apply modifications
Take a closer look at the above two uniqueness.
The first one is correct and prompts different ont-id with same reg-id.
E7-2(config)# ont 4
E7-2(config-ont-4)# reg-id 2
Aborted: values are not unique: 2
‘ont 4 reg-id’
‘ont CXNK3 reg-id’ **==>This uniqueness failure is correct since reg-id 2 is used by
But the second one is wrong, and prompts the same ont-id.
E7-2(config-ont-10)# reg-id 10
Aborted: values are not unique: 10
‘ont 10 reg-id’
‘ont 10 reg-id’ ===>This uniqueness failure is wrong since reg-id 10 is not used.
Error: failed to apply modifications
We use EDP and I have double checked there are no changes in our EDP and no changes returned in the responses. I also tried out the CDB with the same above yang and didn’t hit this issue.
Please help to triage this critical issue and instruct us how to address it.
Thanks.