Remove solved ingress apply block from unsolved load_balance tutorial (#438)

The README.md says this block is a todo
This commit is contained in:
Yarden Shoham 2021-11-09 05:24:34 +02:00 committed by GitHub
parent 9ebb7e5c86
commit deb6aceceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,10 +132,9 @@ control MyIngress(inout headers hdr,
size = 2;
}
apply {
if (hdr.ipv4.isValid() && hdr.ipv4.ttl > 0) {
ecmp_group.apply();
ecmp_nhop.apply();
}
/* TODO: apply ecmp_group table and ecmp_nhop table if IPv4 header is
* valid and TTL hasn't reached zero
*/
}
}