vmware-nsx/quantum/tests/unit/nicira/etc/fake_get_lport.json
Salvatore Orlando bfb1555120 Allow tox to run plugin specific unit tests
Fixes bug 1041316

This patch covers linuxbridge, nec, nicira, and ryu plugins.

Change-Id: I024a46bc9b49ffe60cdbe9fa275f30ac9d829a9a
2012-08-24 14:40:29 -07:00

19 lines
651 B
JSON

{"display_name": "%(uuid)s",
"_relations":
{"LogicalPortStatus":
{"type": "LogicalSwitchPortStatus",
"fabric_status_up": false,
"_href": "/ws.v1/lswitch/%(ls_uuid)s/lport/%(uuid)s/status",
"_schema": "/ws.v1/schema/LogicalSwitchPortStatus"}
},
"tags":
[{"scope": "q_port_id", "tag": "%(quantum_port_id)s"},
{"scope": "vm_id", "tag": "%(quantum_device_id)s"},
{"scope": "os_tid", "tag": "%(tenant_id)s"}],
"uuid": "%(uuid)s",
"admin_status_enabled": true,
"type": "LogicalSwitchPortConfig",
"_schema": "/ws.v1/schema/LogicalSwitchPortConfig",
"_href": "/ws.v1/lswitch/%(ls_uuid)s/lport/%(uuid)s"
}