IETF-OPSAWG-WG / lxnm

L3 VPN Yang Model
8 stars 11 forks source link

L2-NM lag-interface list #335

Closed sbarguil closed 3 years ago

sbarguil commented 3 years ago

Issue opened based on email from Julian. I am puzzled why lag-interface container has a list of lag-interfaces. I would think an individual vpn-network-access would only ever have at most one lag-interface?

container lag-interface {
  if-feature "vpn-common:lag-interface";

  description
    "Container of LAG interface attributes
     configuration";

    list lag-interface {
      key "lag-interface-number";
      description
        "List of LAG interfaces";

        leaf lag-interface-number {
          type uint32;
          description
            "LAG interface number";
        }
    }
}
julianL999 commented 3 years ago

We can remove "lag-interface-number" as well, as that was the index for each list item, and we have removed the list.