poe
AsterNOS YANG Model for Power Over Ethernet(POE).
module: asternos-poe +--rw poe +--rw poe_max_power? uint32
augment /if:interfaces/if:interface: +--rw poe +--rw enable-mode? enumeration +--rw delay? uint16 +--rw priority? enumeration +--rw max-power? enumeration +--rw legacy-detect? boolean +--rw power-off-time-range? -> /time-range:time-ranges/time-range/name
rpcs: +---x reinitialize-poe | +--ro output | +--ro data? <anydata> +---x show-interface-poe-diagnose | +--ro output | +--ro data? <anydata> +---x show-interface-poe-status +---w input | +---w interface-name? cmn:ethernet-port-name | +---w detail? boolean +--ro output +--ro data? <anydata>Resources
Section titled “Resources”Resource List
Section titled “Resource List”| Path | Access |
|---|---|
| /poe | Read-Write |
| /poe/poe_max_power | Read-Write |
| /?/interfaces/interface/poe | Read-Write |
| /?/interfaces/interface/poe/enable-mode | Read-Write |
| /?/interfaces/interface/poe/delay | Read-Write |
| /?/interfaces/interface/poe/priority | Read-Write |
| /?/interfaces/interface/poe/max-power | Read-Write |
| /?/interfaces/interface/poe/legacy-detect | Read-Write |
| /?/interfaces/interface/poe/power-off-time-range | Read-Write |
Detailed Nodes
Section titled “Detailed Nodes”Path
/poe
Node Type
container
Description
Config the global POE setting for device
Access
Read-Write
/poe/poe_max_power
Section titled “/poe/poe_max_power”Path
/poe/poe_max_power
Node Type
leaf
Description
Set max poe power supply of the system.
This operation may power off some PD.
102S_HPW1 series: 1..150.
204Y_HPW1 series: 1..370.
204Y_HPW2 series: 1..740.
206Y_HPW4 series: 1..1440.
206Y_HPW8 series: 1..2880.
Access
Read-Write
Data Type
Constraints
Valid range: 1 to 2880
/?/interfaces/interface/poe
Section titled “/?/interfaces/interface/poe”Path
/?/interfaces/interface/poe
Node Type
container
Description
poe function of interface.
Access
Read-Write
/?/interfaces/interface/poe/enable-mode
Section titled “/?/interfaces/interface/poe/enable-mode”Path
/?/interfaces/interface/poe/enable-mode
Node Type
leaf
Description
The poe enable mode of interface.
enable: port POE enable.
high_inrush: port POE enable with ignored inrush check. At the end of port power up flow, ILIM state is ignored and the port will continue to regular ON state.
force: port POE enable withh force power.To supply power to non-compliant PDs that would otherwise be rejected by the standard handshake. Force power mode presents a significant risk of damage to legacy non-PoE devices if connected, as it removes the intrinsic safety protection. It should be enabled only on ports connected to known PoE-capable equipment.
Access
Read-Write
Data Type
Constraints
Enumeration with options:
- disable
- enable
- high-inrush
- force
/?/interfaces/interface/poe/delay
Section titled “/?/interfaces/interface/poe/delay”Path
/?/interfaces/interface/poe/delay
Node Type
leaf
Description
This command is used to delay the activation of Power over Etthernet (POE) power supply on an interface based on actual usage requirements. When the uplink link state stabilizes, andthe protocols are running correctly, PoE power is supplied to the connected POE devices. This delay mechanism is usefulfor ensuring that PoE devices receive power only when the network is stable and ready to support them.
Access
Read-Write
Data Type
Constraints
Valid range: 0 to 3600
/?/interfaces/interface/poe/priority
Section titled “/?/interfaces/interface/poe/priority”Path
/?/interfaces/interface/poe/priority
Node Type
leaf
Description
Set poe power supply priority of this interface.
Access
Read-Write
Data Type
Constraints
Enumeration with options:
- low
- high
- critical
/?/interfaces/interface/poe/max-power
Section titled “/?/interfaces/interface/poe/max-power”Path
/?/interfaces/interface/poe/max-power
Node Type
leaf
Description
Set Maximum poe power supply, WARNING: not support 90w currently.
Access
Read-Write
Data Type
Constraints
Enumeration with options:
- 15w
- 30w
- 30w-at
- 60w
- 90w
/?/interfaces/interface/poe/legacy-detect
Section titled “/?/interfaces/interface/poe/legacy-detect”Path
/?/interfaces/interface/poe/legacy-detect
Node Type
leaf
Description
Set poe legacy detection
Access
Read-Write
Data Type
Constraints
Valid in [true, false]
/?/interfaces/interface/poe/power-off-time-range
Section titled “/?/interfaces/interface/poe/power-off-time-range”Path
/?/interfaces/interface/poe/power-off-time-range
Node Type
leaf
Description
Set poe power-off period rules.
Access
Read-Write
Data Type
Constraints
LeafRef pointing to: asternos-poe-base:poe-config/poe/leafref