Skip to content

Commit 6413cd8

Browse files
committed
fix lint
Signed-off-by: oilbeater <[email protected]>
1 parent a79e8ed commit 6413cd8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/advance/ovn-eip-fip-snat.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ spec:
260260
nextHopIP: 10.10.204.254
261261
policy: policySrc
262262
enableExternal: true # vpc enableExternal will automatically create an lrp association to the public network specified above
263-
addExternalSubnets: # configure addExternalSubnets to support connecting multiple additional public networks
263+
addExternalSubnets: # configure addExternalSubnets to support connecting multiple additional public networks
264264
- extra
265265
```
266266
@@ -286,7 +286,7 @@ router 87ad06fd-71d5-4ff8-a1f0-54fa3bba1a7f (vpc1)
286286
# k ko nbctl lr-route-list vpc1
287287
IPv4 Routes
288288
Route Table <main>:
289-
192.168.0.1/28 10.10.204.254 src-ip
289+
192.168.0.1/28 10.10.204.254 src-ip
290290
0.0.0.0/0 10.5.204.254 dst-ip
291291
# The route currently supports automatic maintenance
292292
# Additional public networks require manual routing configuration in the vpc. In the above example, the source IP address is 192.168.0.1/28 and will be forwarded to the additional public network.

docs/advance/ovn-eip-fip-snat.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,12 @@ metadata:
253253
spec:
254254
namespaces:
255255
- vpc1
256-
staticRoutes: # 配置路由规则:vpc下的某个子网需要基于哪一个额外的公网网络的路由需要手动添加,以下示例仅供参考,用户需根据自己的实际情况进行配置
256+
staticRoutes: # 配置路由规则:vpc 下的某个子网需要基于哪一个额外的公网网络的路由需要手动添加,以下示例仅供参考,用户需根据自己的实际情况进行配置
257257
- cidr: 192.168.0.1/28
258258
nextHopIP: 10.10.204.254
259259
policy: policySrc
260-
enableExternal: true # 开启enableExternal后vpc会自动连接名为external的ls
261-
addExternalSubnets: # 配置addExternalSubnets支持连接多个额外的公网网络
260+
enableExternal: true # 开启 enableExternal 后 vpc 会自动连接名为 external 的 ls
261+
addExternalSubnets: # 配置 addExternalSubnets 支持连接多个额外的公网网络
262262
- extra
263263
```
264264
@@ -284,10 +284,10 @@ router 87ad06fd-71d5-4ff8-a1f0-54fa3bba1a7f (vpc1)
284284
# k ko nbctl lr-route-list vpc1
285285
IPv4 Routes
286286
Route Table <main>:
287-
192.168.0.1/28 10.10.204.254 src-ip
287+
192.168.0.1/28 10.10.204.254 src-ip
288288
0.0.0.0/0 10.5.204.254 dst-ip
289289
# 目前会为默认公网网络配置默认路由
290-
# 额外公网网络需要在vpc手动配置路由,上述实例中源IP地址为192.168.0.1/28会转发至额外公网网络
290+
# 额外公网网络需要在 vpc 手动配置路由,上述实例中源 IP 地址为 192.168.0.1/28 会转发至额外公网网络
291291
# 用户可根据情况手动配置路由规则
292292
```
293293

0 commit comments

Comments
 (0)