From 080c2e946200c3d2513ad8b8e32d0a2ce18c87d5 Mon Sep 17 00:00:00 2001 From: Diego Pino Garcia Date: Mon, 3 Jul 2017 11:32:05 +0000 Subject: [PATCH] Add alarms capabilities --- src/program/lwaftr/setup.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/program/lwaftr/setup.lua b/src/program/lwaftr/setup.lua index 0f76a0e5c0..eebeae3f1a 100644 --- a/src/program/lwaftr/setup.lua +++ b/src/program/lwaftr/setup.lua @@ -26,7 +26,10 @@ local engine = require("core.app") local alarm_notification = false -local capabilities = {['ietf-softwire']={feature={'binding', 'br'}}} +local capabilities = { + ['ietf-softwire']={feature={'binding', 'br'}}, + ['ietf-alarms']={feature={'operator-actions', 'alarm-shelving', 'alarm-history'}}, +} require('lib.yang.schema').set_default_capabilities(capabilities) local function convert_ipv4(addr)