Files
vmware-nsx/neutron/tests/unit/vmware/apiclient/fake.py
Aaron Rosen 57bf3ace1b NSX: Fix fake_api_client to raise NotFound
If one quries NSX doing GET /ws.v1/lswitch/LS_UUID/lport and LS_UUID
is a UUID that does not exist in NSX. NSX raises a 404. If LS_UUID is *
NSX returns an empty result string. This patch fixes the fake_api_client
so that it's behavior is correct.

Change-Id: Id66299d6ae3cfa43a65d4cb28f34348d64d8ed65
Closes-bug: 1311291
2014-04-22 12:47:55 -07:00

28 KiB