openstack router create

Creates a router in centralized mode.

Syntax

openstack router create [ router-name --centralized ]

Parameters

router-name --centralized
Creates a router in centralized mode.

Usage Guidelines

In centralized mode, routing is configured only on the border leaf pairs.

When you create a router, the default mode is centralized. You can create a router with or without the --centralized option and achieve the same result.

Note

Note

EFA does not support routers configured in distributed mode, although the feature was supported in a previous release. The functionality to configure distributed mode is turned off.

Each of these examples creates 1 centralized router called R2.

$ openstack router create R2
 
$ openstack router create R2 --centralized