Drop mandatory flag to allow inclusion in augmentations 66/3666/1
authorRobert Varga <rovarga@cisco.com>
Thu, 12 Dec 2013 08:28:48 +0000 (09:28 +0100)
committerRobert Varga <rovarga@cisco.com>
Thu, 12 Dec 2013 08:28:48 +0000 (09:28 +0100)
Change-Id: I4cc225eae087c1de25caaf7b0b2e35fce2ec9b34
Signed-off-by: Robert Varga <rovarga@cisco.com>
rsvp/api/src/main/yang/rsvp.yang

index da7230a07979222ea1a83ae5622c9dfd36d96bb7..5774d7994dcd242da0496973c35beea7f6beffd2 100644 (file)
@@ -33,29 +33,26 @@ module rsvp {
        grouping attribute-filters {
                leaf include-any {
                        type attribute-filter;
-                       mandatory true;
                }
 
                leaf exclude-any {
                        type attribute-filter;
-                       mandatory true;
                }
 
                leaf include-all {
                        type attribute-filter;
-                       mandatory true;
                }
        }
 
        grouping tunnel-attributes {
                leaf hold-priority {
                        type uint8;
-                       mandatory true;
+                       default 0;
                }
 
                leaf setup-priority {
                        type uint8;
-                       mandatory true;
+                       default 0;
                }
 
                leaf local-protection-desired {