Test NextHopFaceId tag and LP field
Topology
B--A--C
Steps
- Start NFD on A, B, and C.
- On A, create routes for prefix /P toward B and C. The cost toward B is lower than the cost toward C.
- On B, start ndn-traffic-server on /P, serving payload "BBBBBBBB".
- On C, start ndn-traffic-server on /P, serving payload "CCCCCCCC".
- On A, execute a consumer to enable local fields and then express an Interest for /P/1, without NextHopFaceId tag. Expect Data with payload "BBBBBBBB".
- On A, execute a consumer to enable local fields and then express an Interest for /P/2, with NextHopFaceId=faceB. Expect Data with payload "BBBBBBBB".
- On A, execute a consumer to enable local fields and then express an Interest for /P/3, with NextHopFaceId=faceC. Expect Data with payload "CCCCCCCC".
- On A, execute a consumer to enable local fields and then express an Interest for /P/4, with NextHopFaceId=null-face. Expect either timeout or Nack.
- On A, execute a consumer to disable local fields and then express an Interest for /P/5, with NextHopFaceId=faceC. Expect either timeout or Data with payload "BBBBBBBB".