diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-02-17 12:35:26 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-17 12:35:26 +0200 | 
| commit | 692edf5b1de37fdee2bc861c725d3b0a99ce8d28 (patch) | |
| tree | 4f77c03c2d6021cd08f9ab08110b67fdce1c5e2b /src | |
| parent | c2238596f7994e51974e9a517fb7ab7e948e955f (diff) | |
| download | vyos-1x-692edf5b1de37fdee2bc861c725d3b0a99ce8d28.tar.gz vyos-1x-692edf5b1de37fdee2bc861c725d3b0a99ce8d28.zip | |
T7136: sflow check listen address for the vrfsever-sever-patch-1
Add check list to VRF address for the sFlow agent address
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/system_sflow.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/conf_mode/system_sflow.py b/src/conf_mode/system_sflow.py index 41119b494..a22dac36f 100755 --- a/src/conf_mode/system_sflow.py +++ b/src/conf_mode/system_sflow.py @@ -54,7 +54,7 @@ def verify(sflow):      # Check if configured sflow agent-address exist in the system      if 'agent_address' in sflow:          tmp = sflow['agent_address'] -        if not is_addr_assigned(tmp): +        if not is_addr_assigned(tmp, include_vrf=True):              raise ConfigError(                  f'Configured "sflow agent-address {tmp}" does not exist in the system!'              ) | 
