How to routing with P4

Hi!
I’m studying INT(In-band Network Telemetry) with P4 in the university.
I’m beginner in network field and programmable data plane, so I would like to know if the following thing I am trying to do is possible.

  1. Creating a system where the path to a server is uniquely determined by the connecting host.
  2. Using INT to verify that the correct path was taken.

If you are possible, I would like to know useful research paper.

The tutorials repository contains an exercise called MRI (Multi-hop Route Inspection) [1] that demonstrates at least the second feature, and perhaps also the first one (for a simple static routing table initialized at the beginning of the experiment runs).

The top-level instructions for that repository explain how to install the software required to run the tutorial. Some of the other exercises may be of interest to you as well.

[1] tutorials/exercises/mri at master · p4lang/tutorials · GitHub