
Applied M. Camp's comments on patchset 4. Also, some additional formatting changes such as tidying line ends <= 79 characters, reformatting very wide ascii table as list table to control line widths, etc. Resolved conflict in _includes/data-networks-overview.rest Change-Id: I8a2a80f21d3630849900e85dc2495da1668648af Signed-off-by: Ron Stone <ronald.stone@windriver.com> Signed-off-by: Stone <ronald.stone@windriver.com>
1.2 KiB
1.2 KiB
Add and Maintain Routes for a VXLAN Network
You can add or delete routing table entries for hosts on a VXLAN network using the CLI.
The worker node must be locked.
To add routes, use the following command.
~(keystone_admin)]$ system host-route-add <node> <ifname> <network> <prefix> <gateway> <metric>
where
- node
-
is the name or UUID of the worker node
- ifname
-
is the name of the interface
- network
-
is an IPv4 or IPv6 network address
- prefix
-
is the netmask length for the network address
- gateway
-
is the default gateway
- metric
-
is the cost of the route (the number of hops)
To delete routes, use the following command.
~(keystone_admin)]$ system host-route-delete <uuid> <ifname> <network> <prefix> <gateway> <metric>
where uuid is the UUID of the route to be deleted.
To list existing routes, including their UUIDs, use the following command.
~(keystone_admin)]$ system host-route-list worker-0