Fix IP feature ordering. 79/5779/4
authorNeale Ranns <nranns@cisco.com>
Thu, 16 Mar 2017 19:49:09 +0000 (15:49 -0400)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 17 Mar 2017 19:41:56 +0000 (19:41 +0000)
commit180279b912827c30494ec1b90ee4325a15cb337c
tree996598cfabfd253efd0ab8a3f52562cd7e1e8366
parent696e88da9799056036f329676213f3c0c0a1db9c
Fix IP feature ordering.

Drop comes before lookup when enabled. is_first_or_last is not required when setting a feature, the anchor is added in find_config_with_features().
Don't make the PG interfaces automatically L3 enabled, this way we can have tests that check the L3 protocol disbaled behaviour.

Change-Id: Icef22a920b27ff9cec6ab2da6b05f05c532cb60f
Signed-off-by: Neale Ranns <nranns@cisco.com>
12 files changed:
src/vnet/devices/devices.c
src/vnet/feature/feature.c
src/vnet/feature/feature.h
src/vnet/interface_output.c
src/vnet/ip/ip4_forward.c
src/vnet/pg/stream.c
test/test_ip4.py
test/test_ip6.py
test/test_ip_mcast.py
test/test_mpls.py
test/vpp_interface.py
test/vpp_ip_route.py