NETCONF Configuration Guide
YANG API Reference
l2pt
8 min
asternos l2pt module description asternos yang model for layer 2 protocol tunneling on ports yang tree diagram module asternos l2pt + rw l2pts + rw l2pt \[ifname protocol type] + rw ifname if\ interface ref + rw protocol type enumeration + rw enable? boolean resources resource list 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 detailed nodes /l2pts path /l2pts node type container description configuration of the layer 2 protocol tunneling access read write /l2pts/l2pt path /l2pts/l2pt node type list description layer 2 protocol tunneling access read write /l2pts/l2pt/ifname path /l2pts/l2pt/ifname node type leaf description the name of the interface access read write data type constraints multiple constraints leafref pointing to asternos interfaces\ interface ref must condition starts with( , 'ethernet') /l2pts/l2pt/protocol type path /l2pts/l2pt/protocol type node type leaf description l2 protocol type access read write data type constraints enumeration with options stp lacp cdp pvstp /l2pts/l2pt/enable path /l2pts/l2pt/enable node type leaf description enable layer 2 protocol tunneling access read write data type constraints valid in \[true, false]
