l2pt
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? booleanResources
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
<YANG type interface-ref>
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
<YANG type enumeration>
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
<YANG type boolean>
Constraints
Valid in [true, false]