summaryrefslogtreecommitdiffstats
path: root/v3po/api/src
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-09-30 12:28:28 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-09-30 14:55:31 +0200
commit43485e2862128bc5fa1bee776babcda06d5510d8 (patch)
tree84cb1e7aaf0717b06db1164fad63d83758708fa1 /v3po/api/src
parent99f0fde138ac6543c04e8a816bd7fc7cd64247e5 (diff)
HONEYCOMB-234: update YANG model to support egress ACLs
- marks existing ACL support as ingress - updates postman collection Change-Id: I7ae39cb6698d9aafbe932d57725f138194b52e70 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api/src')
-rw-r--r--v3po/api/src/main/yang/v3po.yang28
-rw-r--r--v3po/api/src/main/yang/vpp-vlan.yang14
2 files changed, 36 insertions, 6 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang
index bb2cfe5dd..96844b885 100644
--- a/v3po/api/src/main/yang/v3po.yang
+++ b/v3po/api/src/main/yang/v3po.yang
@@ -531,11 +531,21 @@ module v3po {
}
container acl {
- uses acl-base-attributes;
+ container ingress {
+ uses acl-base-attributes;
+ }
+ container egress {
+ uses acl-base-attributes;
+ }
}
container ietf-acl {
- uses ietf-acl-base-attributes;
+ container ingress {
+ uses ietf-acl-base-attributes;
+ }
+ container egress {
+ uses ietf-acl-base-attributes;
+ }
}
}
@@ -611,11 +621,21 @@ module v3po {
}
container acl {
- uses acl-base-attributes;
+ container ingress {
+ uses acl-base-attributes;
+ }
+ container egress {
+ uses acl-base-attributes;
+ }
}
container ietf-acl {
- uses ietf-acl-base-attributes;
+ container ingress {
+ uses ietf-acl-base-attributes;
+ }
+ container egress {
+ uses ietf-acl-base-attributes;
+ }
}
}
diff --git a/v3po/api/src/main/yang/vpp-vlan.yang b/v3po/api/src/main/yang/vpp-vlan.yang
index 15c2af29a..95a770961 100644
--- a/v3po/api/src/main/yang/vpp-vlan.yang
+++ b/v3po/api/src/main/yang/vpp-vlan.yang
@@ -160,11 +160,21 @@ module vpp-vlan {
}
container acl {
- uses v3po:acl-base-attributes;
+ container ingress {
+ uses v3po:acl-base-attributes;
+ }
+ container egress {
+ uses v3po:acl-base-attributes;
+ }
}
container ietf-acl {
- uses v3po:ietf-acl-base-attributes;
+ container ingress {
+ uses v3po:ietf-acl-base-attributes;
+ }
+ container egress {
+ uses v3po:ietf-acl-base-attributes;
+ }
}
}