Page MenuHomeVyOS Platform

Extend service config-sync for sections vpn, policy, vrf
Closed, ResolvedPublicFEATURE REQUEST

Description

Extend service config-syn for sections like vpn/policy/vrf/pki/qos

set service config-sync section xxx

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

Viacheslav triaged this task as Wishlist priority.
Viacheslav created this task.

PR https://github.com/vyos/vyos-1x/pull/3132

set service config-sync mode 'load'
set service config-sync secondary address '192.0.2.1'
set service config-sync secondary key 'xxx'
set service config-sync section firewall
set service config-sync section interfaces pseudo-ethernet
set service config-sync section interfaces virtual-ethernet
set service config-sync section nat
set service config-sync section nat66
set service config-sync section protocols static
set service config-sync section pki
set service config-sync section vrf

Change some section:

vyos@r4# set nat source rule 100 outbound-interface name 'eth0'
[edit]
vyos@r4# set nat source rule 100 source address '10.0.0.0/24'
[edit]
vyos@r4# set nat source rule 100 translation address 'masquerade'
[edit]
vyos@r4# commit
INFO:vyos_config_sync:Config synchronization: Mode=load, Secondary=192.0.2.1
[edit]
vyos@r4#
Viacheslav changed the task status from Open to Needs testing.Mar 18 2024, 10:22 AM
Viacheslav renamed this task from Extend service config-syn for sections vpn, policy, vrf to Extend service config-sync for sections vpn, policy, vrf.Mar 20 2024, 2:57 PM

PR https://github.com/vyos/vyos-1x/pull/3193
Extend config-sync for sections qos and system

vyos@r4# set service config-sync section system 
Possible completions:
   conntrack            Connection Tracking
   flow-accounting      Flow accounting
   option               System Options
   sflow                sFlow
   static-host-mapping  Map host names to addresses
   sysctl               Configure kernel parameters at runtime

      
[edit]
vyos@r4# set service config-sync section qos 
Possible completions:
   interface            Interface to apply QoS policy
   policy               Service Policy definitions

      
[edit]
vyos@r4#