BUG-48: finalize programming binding
[bgpcep.git] / rsvp / api / src / main / yang / rsvp.yang
index 556ac16e47b33873212676639f67f3ce4671339d..a6a61931e79612b6d928fa9dd4e77b4815b5b9a7 100644 (file)
@@ -47,6 +47,25 @@ module rsvp {
                }
        }
 
+       grouping tunnel-attributes {
+               leaf hold-priority {
+                       type uint8;
+                       mandatory true;
+               }
+
+               leaf setup-priority {
+                       type uint8;
+                       mandatory true;
+               }
+
+               leaf local-protection-desired {
+                       type boolean;
+                       default false;
+               }
+
+               uses attribute-filters;
+       }
+
        typedef lsp-id {
                type uint32;
                reference "https://tools.ietf.org/html/rfc3209#section-4.6.2.1";