Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: optimize ovs #3403

Merged
merged 1 commit into from
Apr 30, 2024
Merged

doc: optimize ovs #3403

merged 1 commit into from
Apr 30, 2024

Conversation

ty-dc
Copy link
Collaborator

@ty-dc ty-dc commented Apr 24, 2024

Thanks for contributing!

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #3402

Special notes for your reviewer:

@ty-dc ty-dc added the release/none no release note label Apr 24, 2024
@@ -121,7 +121,7 @@ Spiderpool 可用作 Underlay 网络场景下提供固定 IP 的一种解决方
~# ovs-vsctl add-port br1 eth0
~# ip addr add <IP地址>/<子网掩码> dev br1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里添加 IP 是否 必做呢 ? 原eth0有IP,则可上移,但是主机重启这个IP 这样配就失效了

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@weizhoublue weizhoublue changed the title ovs: do not modify the host's default route doc: optimize ovs Apr 24, 2024
@ty-dc ty-dc force-pushed the docs/ovs branch 3 times, most recently from ab8127d to 119384e Compare April 25, 2024 07:03
```

请把以上命令配置在系统行动脚本中,以在主机重启时能够生效
请把以上命令配置在系统行动脚本中,以在主机重启时能够生效,如下是 ubuntu 中使用 netplan 的示例,对于其他操作系统您可以考虑使用 nmcli,在 /etc/netplan 目录下创建 12-br1.yaml 后,通过 netplan apply 生效。
Copy link
Collaborator

@weizhoublue weizhoublue Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ty-dc
Copy link
Collaborator Author

ty-dc commented Apr 26, 2024

/hold

@weizhoublue weizhoublue added cherrypick-release-v0.9 cherrypick-release-v0.8 Cherry-pick the PR to branch release-v0.8. labels Apr 29, 2024
@ty-dc ty-dc force-pushed the docs/ovs branch 2 times, most recently from 8e158b5 to ed9aee1 Compare April 29, 2024 15:36
valid_lft forever preferred_lft forever
```

### 使用 NetworkManager 持久化 OVS Bridge
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

标题 要 对称,这两个 不对称

Ubuntu 使用 netplan 持久化 OVS Bridge
使用 NetworkManager 持久化 OVS Bridge

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好了

1. 使用 NetworkManager 持久化 OVS Bridge,你需要安装 OVS NetworkManager 插件,示例如下:

```bash
~# sudo dnf install -y NetworkManager-ovs openvswitch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这为什么 这里出现安装 openvswitch ,Ubuntu 就不出现
这个应该出现在 先决条件

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@ty-dc ty-dc force-pushed the docs/ovs branch 4 times, most recently from 65d3f31 to f8eb56b Compare April 30, 2024 02:26
@weizhoublue weizhoublue merged commit b50e6c5 into spidernet-io:main Apr 30, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick-release-v0.8 Cherry-pick the PR to branch release-v0.8. cherrypick-release-v0.9 release/none no release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize spiderpool ovs usage docs
2 participants