Feature #8690

Update net-routing-setup to work for an exclusive-IP, DHCP, non-global zone

Added by C Fraire 24 days ago.

Status:NewStart date:2017-09-29
Priority:NormalDue date:
Assignee:C Fraire% Done:

90%

Category:networking
Target version:-
Difficulty:Bite-size Tags:needs-triage

Description

For a DHCP global zone, net-routing-setup (svc:/network/routing-setup:default) will use DHCP Router if defined as a signal to disable routeadm/default-ipv4-routing. net-routing-setup does nothing for an exclusive-IP, DHCP, non-global zone, but it could do easily the same.

Also, net-routing-setup only tries once to fetch Router from dhcpagent (dhcpinfo), which generally works for a global zone. For fast-booting non-global zones, there needs to be a few seconds allowance — so update to retry checks for a short interval. (The repeating query will be OK as well for a global zone).

Also available in: Atom