Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   ovs-vsctl    ( 8 )

утилита для запроса и настройки ovs-vswitchd (utility for querying and configuring ovs-vswitchd)

  Name  |  Synopsis  |  Description  |  Options  |  Commands  |    Examples    |  Configuration cookbook  |  Exit  |  See also  |

Примеры (Examples)

Create a new bridge named br0 and add port eth0 to it:

ovs-vsctl add-br br0 ovs-vsctl add-port br0 eth0

Alternatively, perform both operations in a single atomic transaction:

ovs-vsctl add-br br0 -- add-port br0 eth0

Delete bridge br0, reporting an error if it does not exist:

ovs-vsctl del-br br0

Delete bridge br0 if it exists:

ovs-vsctl --if-exists del-br br0

Set the qos column of the Port record for eth0 to point to a new QoS record, which in turn points with its queue 0 to a new Queue record:

ovs-vsctl -- set port eth0 qos=@newqos -- --id=@newqos create qos type=linux-htb other-config:max-rate=1000000 queues:0=@newqueue -- --id=@newqueue create queue other-config:min-rate=1000000 other-config:max-rate=1000000