summaryrefslogtreecommitdiffstats
path: root/acl/acl-api/src/main/yang/vpp-acl.yang
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-01-11 18:27:43 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-01-16 11:15:21 +0000
commit3d4bfd545b1ea1f64b5aa32af80061002176f5d0 (patch)
tree94326a0fc73e80cefec12e334d0e558a3b3f9ce3 /acl/acl-api/src/main/yang/vpp-acl.yang
parentc4fb60c6d78c2b686650733488690d164e3b0e15 (diff)
HC2VPP-38 / HONEYCOMB-336 - removed mandatory from ace-ip-version
Removed mandatory statements Fixed multiple NPE Change-Id: I30af417b0594d9634a9352f7721285257fbcee1e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'acl/acl-api/src/main/yang/vpp-acl.yang')
-rw-r--r--acl/acl-api/src/main/yang/vpp-acl.yang2
1 files changed, 0 insertions, 2 deletions
diff --git a/acl/acl-api/src/main/yang/vpp-acl.yang b/acl/acl-api/src/main/yang/vpp-acl.yang
index 79dac9322..53818139d 100644
--- a/acl/acl-api/src/main/yang/vpp-acl.yang
+++ b/acl/acl-api/src/main/yang/vpp-acl.yang
@@ -163,7 +163,6 @@ module vpp-acl {
choice ace-ip-version {
description
"IP version used in this Access List Entry.";
- mandatory true;
case ace-ipv4 {
uses packet-fields:acl-ipv4-header-fields;
}
@@ -228,7 +227,6 @@ module vpp-acl {
choice ace-ip-version {
description
"IP version used in this Access List Entry.";
- mandatory true;
case ace-ipv4 {
uses vpp-macip-ace-ipv4-header-fields;
}