HomeVyOS Platform

Python/ifconfig: T1712: always start DHCP when configured

Description

Python/ifconfig: T1712: always start DHCP when configured

DHCP was only started when the interface operstate was set to up but this is
wrong. An interface can be configured as DHCP interface and DHCP client must
be launched even when the physical interface becomes available n-minutes
later. DHCP client then can ask for an IP assignemnt by DHCP.

Tested by starting DHCP client on a not connected ethernet interface. Address
was assigned later on after link became ready.

Details

Provenance
c-poAuthored on Oct 18 2019, 4:07 PM
Parents
rVYOSONEXca4f0dc76f91: Python/ifconfig: T1557: get_status() must use admin state not operstate
Branches
Loading...
Tags
Loading...