Page MenuHomeVyOS Platform

Add support for list of defaultValues
Closed, ResolvedPublicFEATURE REQUEST

Description

Sometime (PPPoE server is one of em) ona simple defaultValue in the XML is not enough - several are set.

In order to support a list of defaultValues you can now simply list them as a whitespace separated string.

Example:
<defaultValue>pap chap mschap mschap-v2</defaultValue>

will generate a list ['pap', 'chap', 'mschap', 'mschap-v2'] when retrieved by vyos.xml.defaults()

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)