commit | c4b3e2779c7b963402d85e537a6d7ef5ddaf91be | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Mon Nov 01 17:13:48 2021 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Mon Nov 01 17:14:24 2021 -0700 |
tree | b1ffabea9d9ad1cb15ea383a2f8d45b0e0a27e6f | |
parent | ebb99ae46f5a83a1e9f4c2b01ee715472310f3a8 [diff] |
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-application.yang b/config-models/aether-4.x/files/yang/onf-application.yang index 7c61fd5..cb21a6c 100755 --- a/config-models/aether-4.x/files/yang/onf-application.yang +++ b/config-models/aether-4.x/files/yang/onf-application.yang
@@ -63,8 +63,8 @@ } list endpoint { - key "id"; - leaf id { + key "endpoint-id"; + leaf endpoint-id { type yg:yang-identifier; description "Id of this endpoint";
diff --git a/config-models/aether-4.x/files/yang/onf-device-group.yang b/config-models/aether-4.x/files/yang/onf-device-group.yang index db8a18a..87295db 100755 --- a/config-models/aether-4.x/files/yang/onf-device-group.yang +++ b/config-models/aether-4.x/files/yang/onf-device-group.yang
@@ -63,8 +63,8 @@ list imsis { // TODO: imsi-range-from cannot be used as a list index - key "id"; - leaf id { + key "imsi-id"; + leaf imsi-id { type yg:yang-identifier; description "Id of this imsi-range";
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";