HomeVyOS Platform

T979: Allow spaces in wireguard interface descrs

Description

T979: Allow spaces in wireguard interface descrs

Previous to this commit, setting a Wireguard interface description would
result in a validation error similar to the following:

brooks@border# set interfaces wireguard wg0 description "Tunnel"
[edit]
brooks@border# set interfaces wireguard wg0 description "Tunnel tunnel
tunnel"

  interface description is too long (limit 100 characters)
  Value validation failed
  Set failed

[edit]

This commit makes the regex less restrictive up to 100 characters.

Details

Provenance
bswinnertonAuthored on Nov 8 2018, 1:53 AM
Parents
rVYOSONEX3d3432b84dc7: Merge branch 'igmproxy' into current
Branches
Loading...
Tags
Loading...