A YANG Data Model for Layer 2 Virtual Private Network (L2VPN) Service Delivery

This document defines a YANG data model that can be used to configure a Layer 2 Provider Provisioned VPN service. It is up to a management system to take this as an input and generate specific configurations models to configure the different network elements to deliver the service. How configuration of network elements is done is out of scope of the document. The YANG model in this document includes support for point-to-point Virtual Private Wire Services (VPWS) and multipoint Virtual Private LAN services (VPLS) that use Pseudowires signaled using the Label Distribution Protocol (LDP) and the Border Gateway Protocol (BGP) as described in RFC4761 and RFC6624. The YANG model in this document conforms to the Network Management Datastore Architecture defined in RFC8342.