Add Heavy Hitter to examples master (#10)
Add Heavy Hitter to SIGCOMM 2016 in master
This commit is contained in:
@@ -14,11 +14,24 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// TODO: define headers & header instances
|
||||
|
||||
parser start {
|
||||
// TODO
|
||||
return ingress;
|
||||
}
|
||||
|
||||
// TODO: define parser states
|
||||
|
||||
action _drop() {
|
||||
drop();
|
||||
}
|
||||
|
||||
action route() {
|
||||
modify_field(standard_metadata.egress_spec, /* TODO: port field from your header */);
|
||||
// TODO: update your header
|
||||
}
|
||||
|
||||
control ingress {
|
||||
// TODO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user