51fc1201fc
Short aliases are introduced for the NSX plugin(s). This patch also switches to using the new plugin names/naming scheme in the unit tests. Partial-implements blueprint: nicira-plugin-renaming Change-Id: If1f1431b098bf77b9c85e0afb3d7848083d9d451
29 lines
916 B
JSON
29 lines
916 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": %(status)s,
|
|
"type": "LogicalRouterStatus",
|
|
"lport_link_up_count": %(lport_count)d
|
|
}
|
|
},
|
|
"type": "LogicalRouterConfig",
|
|
"_href": "/ws.v1/lrouter/%(uuid)s"
|
|
} |