commit | 416057415fe4815acda7a51d7bb235aefec8c975 | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@onlab.us> | Mon Jun 19 15:46:44 2017 +0900 |
committer | Carmelo Cascone <carmelo@onlab.us> | Wed Jun 21 17:10:21 2017 +0000 |
tree | b6c30c2ec88e414b4be356b262c02f725c1d7b98 | |
parent | edeaf4a49e6c19b7fce75f4c11467a6e7c8c4513 [diff] |
Support for generic table IDs in flow rules This change is needed to let appications specify tables in flow rules using indentifiers that are not numeric, e.g. using table names as in a P4 program. This change deprecates the FlowRule.tableId() method, in favor of FlowRule.table(), which returns an object of type TableId. However, it does not deprecate the .forTable(int tableId) builder method, since it is used extensivelly in the ONOS code base and from external applications. Deprecating FlowRule.tableId() does not seem to be such a painful move since it is used less frequently, e.g. only 22 usages in the ONOS tree. Change-Id: Idaaaab53d0c1e20a1f9c7de84de09ec3a42648b5
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.