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.

This example creates one centralized router called R2.

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