AETHER-2578: Oapi-codegen does not tolerate two fields named id in the same model
Change-Id: I95268efc142b89e522005024fdf5b7718588e399
diff --git a/config-models/aether-4.x/files/yang/onf-site.yang b/config-models/aether-4.x/files/yang/onf-site.yang
index 96b99a7..7118c97 100755
--- a/config-models/aether-4.x/files/yang/onf-site.yang
+++ b/config-models/aether-4.x/files/yang/onf-site.yang
@@ -48,8 +48,8 @@
}
list small-cell {
- key "id";
- leaf id {
+ key "small-cell-id";
+ leaf small-cell-id {
type yg:yang-identifier;
description
"Id of small cell";
@@ -93,8 +93,8 @@
"URL of monitoring prometheus";
}
list edge-device {
- key "id";
- leaf id {
+ key "edge-device-id";
+ leaf edge-device-id {
type yg:yang-identifier;
description
"Id of edge monitoring device";