l2pt
6 min
asternos yang model for layer 2 protocol tunneling on ports \<font color="#1d50a2">yang tree diagram\</font> module asternos l2pt + rw l2pts + rw l2pt \[ifname protocol type] + rw ifname if\ interface ref + rw protocol type enumeration + rw enable? boolean \<font color="#1d50a2">resources\</font> \<font color="#1d50a2">resource list\</font> path access /l2pts read write /l2pts/l2pt read write /l2pts/l2pt/ifname read write /l2pts/l2pt/protocol type read write /l2pts/l2pt/enable read write \<font color="#1d50a2">detailed nodes\</font> \<font color="#1d50a2">/l2pts\</font> path /l2pts node type container description configuration of the layer 2 protocol tunneling access read write \<font color="#1d50a2">/l2pts/l2pt\</font> path /l2pts/l2pt node type list description layer 2 protocol tunneling access read write \<font color="#1d50a2">/l2pts/l2pt/ifname\</font> path /l2pts/l2pt/ifname node type leaf description the name of the interface access read write data type \<yang type interface ref> constraints multiple constraints leafref pointing to asternos interfaces\ interface ref must condition starts with( , 'ethernet') \<font color="#1d50a2">/l2pts/l2pt/protocol type\</font> path /l2pts/l2pt/protocol type node type leaf description l2 protocol type access read write data type \<yang type enumeration> constraints enumeration with options stp lacp cdp pvstp \<font color="#1d50a2">/l2pts/l2pt/enable\</font> path /l2pts/l2pt/enable node type leaf description enable layer 2 protocol tunneling access read write data type \<yang type boolean> constraints valid in \[true, false]
