| commit | e0c02e2d023807407986faef9baa4993e75d861c | [log] [tgz] |
|---|---|---|
| author | Pengfei Lu <1990.lpf@gmail.com> | Tue Jul 07 15:41:31 2015 +0800 |
| committer | Gerrit Code Review <gerrit@onlab.us> | Wed Jul 08 01:05:14 2015 +0000 |
| tree | bea356aa9421538d884d68c9a956de3a440558f8 | |
| parent | 7583b956187ae45c8a7c978fd6d76a760bda8e99 [diff] |
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
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.