Committed by
Gerrit Code Review
Add an ACL application
- change both of the constructors in AclRule.class to be private
- change AclRule.class to be final
- remove useless reference
|URL|Notes|
|-|-|
|GET onos/v1/acl | Lists all existing ACL rules.|
|GET onos/v1/acl/remove/{id} | Removes an existing ACL rule by id|
|GET onos/v1/acl/clear | Clears ACL and reset all|
|POST onos/v1/acl/add | Adds a new ACL rule|
|Key|Value|Notes|
|-|-|-|
|ipProto | string | "TCP" or "UDP" or "ICMP" (ignoring case)|
|srcIp | IPv4 address[/mask] | Either src-ip or dst-ip must be specified.|
|dstIp | IPv4 address[/mask] | Either src-ip or dst-ip must be specified.|
|dstTpPort | number | Valid when nw-proto == "TCP" or "UDP".|
|action | string | "DENY" or "ALLOW" (ignoring case), set to "DENY" if not specified.|
Change-Id: I55170d5f50814eabef43b1bf2ee33af41b5987e4
Showing
13 changed files
with
1512 additions
and
0 deletions
apps/acl/pom.xml
0 → 100644
This diff is collapsed. Click to expand it.
apps/acl/src/main/webapp/WEB-INF/web.xml
0 → 100644
-
Please register or login to post a comment