Creating routers in the CLI

Routers in Neutron are associated with projects and can only be managed by users associated with the project. Unlike networks, routers cannot be shared among projects. However, shared networks can be attached to routers and potentially route traffic between different projects. Users with the admin role can associate routers with other projects during the router creation process.

To create a standalone router, use the openstack router create command shown here:

openstack router create
[--enable | --disable]
[--project <project>]
[--project-domain <project-domain>]
<name>

The router will be created without any interfaces attached and will immediately be scheduled to an L3 agent. A corresponding network namespace should be visible on the node hosting the respective L3 agent and can be found using the ip netnslist command.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset