diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2021-07-26 19:04:19 +0300 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2021-07-29 11:02:34 +0300 |
commit | 4a4c1634e61a670a6bbbcd6cac467b62e48dbff3 (patch) | |
tree | b94ebfe8fcdf550edd347dcdf16013977d48bfc4 /net/openvswitch/README.md | |
parent | a167eed8379371acc6d48a286b61d6dca6532b1c (diff) |
openvswitch: support setting OpenFlow datapath ID
By default, Open vSwitch will generate the OpenFlow datapath ID of a
bridge based on the MAC address of one of its ports. Due to this, it's
possible that the datapath ID changes when new ports are added. When the
datapath ID changes, Open vSwitch disconnects from the controller, as
there is no way to notify the controller that the datapath ID has
changed.
Add an option to set the datapath ID so that the above situation can be
avoided. The option takes either exactly 16 hex characters, or when
prefixed with 0x, between 1 and 16 hex characters.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'net/openvswitch/README.md')
-rw-r--r-- | net/openvswitch/README.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/openvswitch/README.md b/net/openvswitch/README.md index 2bbb02629..5ed04d771 100644 --- a/net/openvswitch/README.md +++ b/net/openvswitch/README.md @@ -72,11 +72,12 @@ set to 0 to launch the respective daemons. The ovs_bridge section also supports the options below, for initialising a virtual bridge with an OpenFlow controller. -| Name | Type | Required | Default | Description | -|------------|---------|----------|--------------------------------|------------------------------------------------------------| -| disabled | boolean | no | 0 | If set to true, disable initialisation of the named bridge | -| name | string | no | Inherits UCI config block name | The name of the switch in the OVS daemon | -| controller | string | no | (none) | The endpoint of an OpenFlow controller for this bridge | +| Name | Type | Required | Default | Description | +|-------------|---------|----------|--------------------------------|------------------------------------------------------------| +| disabled | boolean | no | 0 | If set to true, disable initialisation of the named bridge | +| name | string | no | Inherits UCI config block name | The name of the switch in the OVS daemon | +| controller | string | no | (none) | The endpoint of an OpenFlow controller for this bridge | +| datapath_id | string | no | (none) | The OpenFlow datapath ID for this bridge | The ovs_port section can be used to add ports to a bridge. It supports the options below. |