Required_for_online valid values

Hi I can’t seem to figure out what I can put in the required_for_online statement only no works for me. In the documentation als yes and both are listed but are not avlideted by the API in 6.22. I also looked into systemd networkd and tried routable which also did not validate.

interface 0 invalid RequiredForOnline value 'routable'

Can someone tell me what is going on there?

ipv4, ipv6, both, any or no

@gibmat this should really be in the network reference doc :slight_smile:

I was just reviewing the docs and there’s an example under the “Automatic roll back of network configuration” section in Reference > System Configuration > Network which gives the option yes. Not sure if that’s a relic of a previous version, or perhaps an alias for any. Just though I’d point it out!