Page MenuHomePhabricator

vyos.config return_effective_values does not convert the output to a list
Closed, ResolvedPublicBUG

Description

>>> import vyos.config
>>> c=vyos.config.Config()

>>> c.return_effective_values("system name-server")
"'1.1.1.1' '1.1.1.2'"

Compare and contrast with correct output of return_values:

>>> c.return_values("system name-server")
['1.1.1.1', '1.1.1.2']

Details

Difficulty level
Easy (less than an hour)
Version
1.2.0
Why the issue appeared?
Implementation mistake

Event Timeline

pasik added a subscriber: pasik.Jul 5 2019, 9:53 PM
dmbaturin closed this task as Resolved.Jul 10 2019, 6:01 PM
dmbaturin claimed this task.
dmbaturin triaged this task as Unbreak Now! priority.
dmbaturin changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.
dmbaturin removed a project: VyOS 1.3 Equuleus.
syncer moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.2) board.
syncer moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.