Add an example JSON file for LED

Update led-manager to use JSON instead of yaml.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ia5b54189a63da71b3d76658f9458593eff735f07
diff --git a/example/led-group-config.json b/example/led-group-config.json
new file mode 100644
index 0000000..7b93f45
--- /dev/null
+++ b/example/led-group-config.json
@@ -0,0 +1,89 @@
+{
+    "leds": [
+        {
+            "group": "bmc_booted",
+            "members": [
+                {
+                    "name": "heartbeat",
+                    "Action": "On"
+                }
+            ]
+        },
+        {
+            "group": "power_on",
+            "members": [
+                {
+                    "name": "power",
+                    "Action": "On",
+                    "Priority": "On"
+                }
+            ]
+        },
+        {
+            "group": "enclosure_fault",
+            "members": [
+                {
+                    "name": "front_fault",
+                    "Action": "On"
+                }
+            ]
+        },
+        {
+            "group": "enclosure_identify",
+            "members": [
+                {
+                    "name": "front_id",
+                    "Action": "Blink",
+                    "DutyOn": 50,
+                    "Period": 1000
+                },
+                {
+                    "name": "rear_id",
+                    "Action": "Blink",
+                    "DutyOn": 50,
+                    "Period": 1000
+                }
+            ]
+        },
+        {
+            "group": "fan_fault",
+            "members": [
+                {
+                    "name": "front_fault",
+                    "Action": "On"
+                },
+                {
+                    "name": "fan0",
+                    "Action": "On"
+                },
+                {
+                    "name": "rear_fault",
+                    "Action": "On"
+                }
+            ]
+        },
+        {
+            "group": "fan_identify",
+            "members": [
+                {
+                    "name": "front_id",
+                    "Action": "Blink",
+                    "DutyOn": 50,
+                    "Period": 1000
+                },
+                {
+                    "name": "rear_id",
+                    "Action": "Blink",
+                    "DutyOn": 50,
+                    "Period": 1000
+                },
+                {
+                    "name": "fan0",
+                    "Action": "Blink",
+                    "DutyOn": 50,
+                    "Period": 1000
+                }
+            ]
+        }
+    ]
+}
\ No newline at end of file