You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/networking/networking.md
+102-2Lines changed: 102 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,12 +217,112 @@ To be able to encrypt the networks, `openvswitch-ipsec` package must be installe
217
217
218
218
More information available on [XO official documentation for SDN controller](https://xen-orchestra.com/docs/sdn_controller.html).
219
219
220
-
### OpenFlow rules
220
+
### OpenFlow Rules
221
221
222
222
:::tip
223
-
This feature is coming very soon!
223
+
`xcp-ng-xapi-plugins` >= 0.15.0 is required. To check the version, run `yum info xcp-ng-xapi-plugins`.
224
224
:::
225
225
226
+
Using Open vSwitch OpenFlow rules, you can setup traffic rules limiting some network accesses directly at the hypervisor vswitch level. No need for an additional layer of firewalling or filtering setup or equipment.
227
+
228
+
There are 3 ways to configure OpenFlow rules:
229
+
- Through [Xen Orchestra](https://docs.xen-orchestra.com/sdn_controller#openflow-rules)'s web UI (currently only available for per VIF rules)
230
+
- Using `xo-cli` as explained in the [Xen Orchestra documentation](https://docs.xen-orchestra.com/sdn_controller#xapi-plugin)
231
+
- Manually, by using the `xe` command on your hosts
232
+
233
+
We recommend using Xen Orchestra or `xo-cli`, depending on your use case. This documentation will focus on how to set up rules manually.
234
+
235
+
:::warning
236
+
The procedure below explains how to set up rules temporarily, but the rules won't persist after reboot.
237
+
:::
238
+
239
+
Keep in mind that these steps must be performed on every host where you want the rules applied. For non-cross-pool private networks, you can run the commands from one host for each host UUID in your pool. For cross-pool private networks, repeat the process for each pool involved.
240
+
241
+
To set rules manually, you can call the plugin using `xe`:
0 commit comments