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

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



   ovn-nbctl    ( 8 )

утилита управления базами данных Open Virtual Network на севере (Open Virtual Network northbound db management utility)

LOGICAL ROUTER COMMANDS

lr-add Creates a new, unnamed logical router, which initially has no ports. The router does not have a name, other commands must refer to this router by its UUID.

[--may-exist | --add-duplicate] lr-add router Creates a new logical router named router, which initially has no ports.

The OVN northbound database schema does not require logical router names to be unique, but the whole point to the names is to provide an easy way for humans to refer to the routers, making duplicate names unhelpful. Thus, without any options, this command regards it as an error if router is a duplicate name. With --may-exist, adding a duplicate name succeeds but does not create a new logical router. With --add-duplicate, the command really creates a new logical router with a duplicate name. It is an error to specify both options. If there are multiple logical routers with a duplicate name, configure the logical routers using the UUID instead of the router name.

[--if-exists] lr-del router Deletes router. It is an error if router does not exist, unless --if-exists is specified.

lr-list Lists all existing routers on standard output, one per line.