Skip to content

Disabled port state flaps during reset #11

@rothcar

Description

@rothcar

If I disable a port in poed, then reset the agent, it appears to briefly re-enable the port, potentially creating an unsafe config.

root@localhost:~# poecli set -p 1 -e 0
root@localhost:~# poecli show -p 1

Port  Status             En/Dis   Priority  Protocol        Class  PWR Consump  PWR Limit    Voltage    Current
----  -----------------  -------  --------  --------------  -----  -----------  -----------  ---------  --------
1     Port Off (0x1A)    disable    low     IEEE802.3AF/AT    4         0 (mW)   30000 (mW)    0.0 (V)    0 (mA)

root@localhost:~# systemctl restart poed
root@localhost:~# poecli show -p 1

Port  Status             En/Dis   Priority  Protocol        Class  PWR Consump  PWR Limit    Voltage    Current
----  -----------------  -------  --------  --------------  -----  -----------  -----------  ---------  --------
1     Port Off (0x1B)    enable     low     IEEE802.3AF/AT    0         0 (mW)   30000 (mW)    0.0 (V)    0 (mA)

root@localhost:~# poecli show -p 1

Port  Status             En/Dis   Priority  Protocol        Class  PWR Consump  PWR Limit    Voltage    Current
----  -----------------  -------  --------  --------------  -----  -----------  -----------  ---------  --------
1     Port Off (0x1A)    disable    low     IEEE802.3AF/AT    4         0 (mW)   30000 (mW)    0.0 (V)    0 (mA)

root@localhost:~# poecli show -p 1

Port  Status             En/Dis   Priority  Protocol        Class  PWR Consump  PWR Limit    Voltage    Current
----  -----------------  -------  --------  --------------  -----  -----------  -----------  ---------  --------
1     Port Off (0x1A)    disable    low     IEEE802.3AF/AT    4         0 (mW)   30000 (mW)    0.0 (V)    0 (mA)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions