MPLS implementation using P4

I wrote this document as part of my work on software defined networks at Rise ACREO in Stockholm.