IETF-OPSAWG-WG / lxnm

L3 VPN Yang Model
8 stars 11 forks source link

Parent termination point #364

Closed boucadair closed 2 years ago

boucadair commented 2 years ago

In order to ease correlation between SAPs, we can consider including the module the interface to which a SAP is bound. With the current structure, we don't have any hint about sub-interfaces that are linked to the same interface, etc.

OLD:

      leaf attachment-id {
        type nt:tp-id;
        description
          "Indicates the identifier of the interface to 
           which the SAP is attached. This interface can 
           be a physical or logical interface.";
      }

NEW:

      leaf attachment-id {
        type nt:tp-id;
        description
          "Indicates the identifier of the interface to 
           which the SAP is attached. This interface can 
           be a physical or logical interface.";
      }
      leaf parent-termination-point {
        type nt:tp-id;
        description
          "Indicates the parent termination point to 
           which the SAP is attached to. A termination
           point can be a physical port, an interface, etc.";
      }