summaryrefslogtreecommitdiff
path: root/data/config-mode-dependencies
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-29 09:58:41 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-29 11:40:43 +0200
commit42ff4d8a7ba7d01037a1e985cb803cd3355a33f2 (patch)
tree477a4482800b262334c788f432861e22878c4e53 /data/config-mode-dependencies
parent400df973d3518e9f18cb84b52ca89e08a399e461 (diff)
downloadvyos-1x-42ff4d8a7ba7d01037a1e985cb803cd3355a33f2.tar.gz
vyos-1x-42ff4d8a7ba7d01037a1e985cb803cd3355a33f2.zip
conntrack: T5376: Fixes for conntrack-sync configdep
Fixes `KeyError: 'conntrack_sync'` Ignore `ConfigError("ConfigError('Interface eth1 requires an IP address!')")` due to calling conntrack-sync too early
Diffstat (limited to 'data/config-mode-dependencies')
-rw-r--r--data/config-mode-dependencies/vyos-1x.json21
1 files changed, 17 insertions, 4 deletions
diff --git a/data/config-mode-dependencies/vyos-1x.json b/data/config-mode-dependencies/vyos-1x.json
index 72a3d1153..6c86642c7 100644
--- a/data/config-mode-dependencies/vyos-1x.json
+++ b/data/config-mode-dependencies/vyos-1x.json
@@ -1,10 +1,23 @@
{
"conntrack": {"conntrack_sync": ["conntrack_sync"]},
- "firewall": {"conntrack": ["conntrack"], "group_resync": ["conntrack", "nat", "policy-route"]},
+ "firewall": {
+ "conntrack": ["conntrack"],
+ "conntrack_sync": ["conntrack_sync"],
+ "group_resync": ["conntrack", "nat", "policy-route"]
+ },
"http_api": {"https": ["https"]},
- "load_balancing_wan": {"conntrack": ["conntrack"]},
- "nat": {"conntrack": ["conntrack"]},
- "nat66": {"conntrack": ["conntrack"]},
+ "load_balancing_wan": {
+ "conntrack": ["conntrack"],
+ "conntrack_sync": ["conntrack_sync"]
+ },
+ "nat": {
+ "conntrack": ["conntrack"],
+ "conntrack_sync": ["conntrack_sync"]
+ },
+ "nat66": {
+ "conntrack": ["conntrack"],
+ "conntrack_sync": ["conntrack_sync"]
+ },
"pki": {
"ethernet": ["interfaces-ethernet"],
"openvpn": ["interfaces-openvpn"],