634fd1d23f
Blueprint nvp-distributed-router This patch adds support for NVP distributed logical routers adding a simple attribute extension. The default router type can be controlled used the default_router_type option in the nvp section of neutron configuration. In order to ensure backward compatibility, pre-existing routers will be treated as centralized routers. Change-Id: Iaab9ffb6071c93990be711ebb56c212230544a7a
23 lines
611 B
JSON
23 lines
611 B
JSON
{
|
|
"display_name": "%(display_name)s",
|
|
%(distributed_json)s
|
|
"uuid": "%(uuid)s",
|
|
"tags": [
|
|
{
|
|
"scope": "os_tid",
|
|
"tag": "%(tenant_id)s"
|
|
}
|
|
],
|
|
"routing_config": {
|
|
"type": "SingleDefaultRouteImplicitRoutingConfig",
|
|
"_schema": "/ws.v1/schema/SingleDefaultRouteImplicitRoutingConfig",
|
|
"default_route_next_hop": {
|
|
"type": "RouterNextHop",
|
|
"_schema": "/ws.v1/schema/RouterNextHop",
|
|
"gateway_ip_address": "%(default_next_hop)s"
|
|
}
|
|
},
|
|
"_schema": "/ws.v1/schema/LogicalRouterConfig",
|
|
"type": "LogicalRouterConfig",
|
|
"_href": "/ws.v1/lrouter/%(uuid)s"
|
|
} |