4483fe5006
This patch is based on https://review.openstack.org/161194 It renames vmware_nsx/tests/unit/vmware/ to vmware_nsx/tests/unit/ and creates subdirectories vmware_nsx/tests/unit/dvs/ vmware_nsx/tests/unit/nsx_mh/ vmware_nsx/tests/unit/nsx_v/ vmware_nsx/tests/unit/nsx_v3/ vmware_nsx/tests/unit/nsxlib/mh/ vmware_nsx/tests/unit/nsxlib/v3/ This is part of new vmware_nsx directory structure proposed in https://goo.gl/GdWXyH. Change-Id: I16aa2455bce55f6455bb5e504ee9684c675b4257
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"
|
|
} |