service_chaining bfdd support multihop

This commit is contained in:
wangmenglan
2024-06-26 17:43:09 +08:00
committed by 付明卫
parent 997368401b
commit 637886d615
2 changed files with 2 additions and 1 deletions

View File

@@ -83,6 +83,6 @@ enable=1
default_gw_mac=aa:aa:aa:aa:aa:aa
path=/run/frr/bfdd.vty
device={{ .Values.sce_config.vxlan_config.endpoint_nic }}
local_address=127.0.0.1
local_address={{ .Values.sce_config.vxlan_config.endpoint_ip }}
gateway={{ .Values.sce_config.vxlan_config.endpoint_gateway }}
icmp_cycle_time_s=10

View File

@@ -244,6 +244,7 @@ spec:
{{- end }}
ip a a {{ .Values.sce_config.vxlan_config.endpoint_ip }}/{{ .Values.sce_config.vxlan_config.endpoint_mask }} dev {{ .Values.sce_config.vxlan_config.endpoint_nic }} noprefixroute
ip rule add dport 3784 table 10
iptables -t mangle -A PREROUTING -p udp --dport 3784 -j TTL --ttl-set 255
{{- end }}
securityContext:
privileged: true