
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
29 lines
910 B
JSON
29 lines
910 B
JSON
{
|
|
"display_name": "%(display_name)s",
|
|
%(distributed_json)s
|
|
"uuid": "%(uuid)s",
|
|
"tags": %(tags_json)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",
|
|
"_relations": {
|
|
"LogicalRouterStatus": {
|
|
"_href": "/ws.v1/lrouter/%(uuid)s/status",
|
|
"lport_admin_up_count": %(lport_count)d,
|
|
"_schema": "/ws.v1/schema/LogicalRouterStatus",
|
|
"lport_count": %(lport_count)d,
|
|
"fabric_status": true,
|
|
"type": "LogicalRouterStatus",
|
|
"lport_link_up_count": %(lport_count)d
|
|
}
|
|
},
|
|
"type": "LogicalRouterConfig",
|
|
"_href": "/ws.v1/lrouter/%(uuid)s"
|
|
} |