Task Details:
=============
Task ID : AETHER-2167 : Implement helm charts for deploying prom-label-proxy
Task Link : https://jira.opennetworking.org/browse/AETHER-2167
Features/Root Cause Analysis :
==============================
* config model helm chart for prom label proxy
* prom-label-proxy helm chart
* getting initial config not done deliberatlywq
Unit Test:
=============
* Integration testing with prometheus done
* Integration testing with Grafana pending
Change-Id: I1b94feee56cb7046dd1affb036c3d02585aedcaf
diff --git a/config-models/plproxy-1.x/files/yang/prom-label-proxy.yang b/config-models/plproxy-1.x/files/yang/prom-label-proxy.yang
new file mode 100755
index 0000000..294b5de
--- /dev/null
+++ b/config-models/plproxy-1.x/files/yang/prom-label-proxy.yang
@@ -0,0 +1,32 @@
+// SPDX-FileCopyrightText: 2021 Open Networking Foundation
+//
+// SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+
+module prom-label-proxy {
+ namespace "http://opennetworking.org/promlabelproxy/config/";
+ prefix plp;
+ organization "Open Networking Foundation.";
+ contact "Amit Wankhede";
+ description "A Aether groups and prom label configuration";
+
+ revision "2021-09-24" {
+ description "Prom label proxy user configuration";
+ reference "RFC 6087";
+ }
+
+ container user-groups {
+ description "The top level container";
+ list user-group {
+ key "name";
+ description "A list of user groups";
+ leaf name { type string;description "name of user group";}
+ list label {
+ key "name";
+ description "A list of labels";
+ leaf name { type string;mandatory true;description "name of label";}
+ leaf value { type string;mandatory true;description "value of label";}
+ }
+ }
+ }
+
+}