diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-03-14 13:32:00 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-18 10:22:28 +0000 |
commit | 84314fc310eb0b414c4060a6daeba1765af0cfa8 (patch) | |
tree | 28776671e04bc1c58a80ab8e4425c712665f0d44 /src/migration-scripts/salt | |
parent | 42f3b83dd89893ca077bf41275d58a40294832f6 (diff) | |
download | vyos-1x-84314fc310eb0b414c4060a6daeba1765af0cfa8.tar.gz vyos-1x-84314fc310eb0b414c4060a6daeba1765af0cfa8.zip |
T6121: Extend service config-sync to new sections
Extend `service config-sync` with new sections:
- LeafNodes: pki, policy, vpn, vrf (syncs the whole sections)
- Nodes: interfaces, protocols, service (syncs subsections)
In this cae the Node allows to uses the next level section
i.e subsection
For example any of the subsection of the node `interfaces`:
- set service config-sync section interfaces pseudo-ethernet
- set service config-sync section interfaces virtual-ethernet
Example of the config:
```
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
```
(cherry picked from commit 25b611f504521181f85cb4460bfdfd702c377b5e)
Diffstat (limited to 'src/migration-scripts/salt')
0 files changed, 0 insertions, 0 deletions