Bug-6346: Allow over-ride of non-module capabilities
[netconf.git] / netconf / sal-netconf-connector / src / main / yang / odl-sal-netconf-connector-cfg.yang
index fa6a411954d25a620017687067a25ffb14b69c1d..ec5f31c1019e7ae2b6a96a6a733132f6aa34ae00 100644 (file)
@@ -93,6 +93,22 @@ module odl-sal-netconf-connector-cfg {
                 }
             }
 
+            container non-module-capabilities {
+                leaf override {
+                    type boolean;
+                    default false;
+                    description "Whether to override or merge this list of non-module based capabilities with non-module
+                                 based capabilities from device";
+                }
+
+                leaf-list capability {
+                    type string;
+                    description "Set a list of non-module based capabilities to override or merge non-module capabilities
+                                 provided in device's hello message. Can be used for devices that do not report or
+                                 incorrectly report non-module based capabilities in their hello message";
+                }
+            }
+
             leaf reconnect-on-changed-schema {
                 type boolean;
                 default false;