summaryrefslogtreecommitdiffstats
path: root/v3po/api
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
commit91ed838793842d1006ff058dd87930013a321f7f (patch)
tree5dbc6f19eb835b183fd5efe9b8b991d92fa15b0a /v3po/api
parent90ab4a03a5b3ff662324019e497d832f7e396323 (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')
-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;
+ }
}
}