24 lines
699 B
JSON
24 lines
699 B
JSON
{"_href": "/ws.v1/lswitch/%(ls_uuid)s/lport/%(uuid)s",
|
|
"lswitch":
|
|
{"display_name": "%(ls_name)s",
|
|
"uuid": "%(ls_uuid)s",
|
|
"tags": [
|
|
{"scope": "os_tid",
|
|
"tag": "%(ls_tenant_id)s"}
|
|
],
|
|
"type": "LogicalSwitchConfig",
|
|
"_schema": "/ws.v1/schema/LogicalSwitchConfig",
|
|
"port_isolation_enabled": false,
|
|
"transport_zones": [
|
|
{"zone_uuid": "%(ls_zone_uuid)s",
|
|
"transport_type": "stt"}
|
|
],
|
|
"_href": "/ws.v1/lswitch/%(ls_uuid)s"},
|
|
"link_status_up": false,
|
|
"_schema": "/ws.v1/schema/LogicalSwitchPortStatus",
|
|
"admin_status_enabled": true,
|
|
"fabric_status_up": true,
|
|
"link_status_up": true,
|
|
"type": "LogicalSwitchPortStatus"
|
|
}
|