summaryrefslogtreecommitdiffstats
path: root/v3po/api
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/api')
-rw-r--r--v3po/api/src/main/yang/vpp-classfier-acl.yang25
1 files changed, 14 insertions, 11 deletions
diff --git a/v3po/api/src/main/yang/vpp-classfier-acl.yang b/v3po/api/src/main/yang/vpp-classfier-acl.yang
index 99567799f..42550d95d 100644
--- a/v3po/api/src/main/yang/vpp-classfier-acl.yang
+++ b/v3po/api/src/main/yang/vpp-classfier-acl.yang
@@ -142,19 +142,22 @@ module vpp-classfier-acl {
case ace-ip-and-eth {
description
"Access List entry that can define both ip and eth rules.";
- 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;
- }
- case ace-ipv6 {
- uses packet-fields:acl-ipv6-header-fields;
+ container ace-ip-and-eth-nodes {
+
+ 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;
+ }
+ case ace-ipv6 {
+ uses packet-fields:acl-ipv6-header-fields;
+ }
}
+ uses packet-fields:acl-ip-header-fields;
+ uses packet-fields:acl-eth-header-fields;
}
- uses packet-fields:acl-ip-header-fields;
- uses packet-fields:acl-eth-header-fields;
}
}
} \ No newline at end of file