утилита управления базами данных Open Virtual Network на севере (Open Virtual Network northbound db management utility)
LOGICAL ROUTER STATIC ROUTE COMMANDS
[--may-exist
] [--policy
=POLICY] lr-route-add
router prefix
nexthop [port]
Adds the specified route to router. prefix describes an
IPv4 or IPv6 prefix for this route, such as
192.168.100.0/24
. nexthop specifies the gateway to use for
this route, which should be the IP address of one of
router logical router ports or the IP address of a logical
port. If port is specified, packets that match this route
will be sent out that port. When port is omitted, OVN
infers the output port based on nexthop.
--policy
describes the policy used to make routing
decisions. This should be one of "dst-ip" or "src-ip". If
not specified, the default is "dst-ip".
It is an error if a route with prefix already exists,
unless --may-exist
is specified.
[--if-exists
] lr-route-del
router [prefix]
Deletes routes from router. If only router is supplied,
all the routes from the logical router are deleted. If
prefix is also specified, then all the routes that match
the prefix will be deleted from the logical router.
It is an error if prefix is specified and there is no
matching route entry, unless --if-exists
is specified.
lr-route-list
router
Lists the routes on router.