Fixes Bug 1091752. Partially implements bp nova-api-samples. Change-Id: I2db83ac32283795ab0cbf254c6adbd352806b297