Stop manadatory flag propagation in range-value/* 06/48306/1
authorMichal Rehak <mirehak@cisco.com>
Mon, 14 Nov 2016 09:05:40 +0000 (10:05 +0100)
committerMichal Rehak <mirehak@cisco.com>
Mon, 14 Nov 2016 09:34:35 +0000 (10:34 +0100)
    - caused by /tenants/tenant/policy/subject-feature-instance/
      range-value/{min;max}
    - added presence statement to range-value container

Resolves: BUG-7167

Change-Id: I2f0706f671696cc885f545400124c8aa2cfc3bc7
Signed-off-by: Michal Rehak <mirehak@cisco.com>
groupbasedpolicy/src/main/yang/model/policy.yang

index c0ff0e510aa08801bb416e46d9145af5e2b37d19..16242a61601ea1d6bccef59fb62a150a75879876 100755 (executable)
@@ -461,6 +461,7 @@ module policy {
                 type int64;
             }
             container range-value {
+                presence "optional range choice";
                 leaf min {
                     type int64;
                     mandatory true;