The current way to add ports to an Open vSwitch bridge does not allow complex port configurations. Use a dedicated uci config section per port instead of the current port:type syntax. This way we can easily support more features like setting the VLAN tag or the OpenFlow port number. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
21 lines
380 B
Text
21 lines
380 B
Text
config ovs ovs
|
|
option disabled 1
|
|
|
|
config ovn_northd north
|
|
option disabled 1
|
|
|
|
config ovn_controller controller
|
|
option disabled 1
|
|
|
|
config ovs_bridge
|
|
option disabled 1
|
|
option name 'my-bridge'
|
|
option controller 'tcp:192.168.0.1'
|
|
|
|
config ovs_port
|
|
option disabled 1
|
|
option bridge 'my-bridge'
|
|
option port 'ovs-port1'
|
|
option ofport '1'
|
|
option tag '123'
|
|
option type 'internal'
|