Set objects indirection API in network service

We need to set the
nova.objects.baseNovaObject.indirection_api global inside the network
service to point to the conductor API so that the object actions will
 be done by RPC to conductor.

Part of blueprint: nova-network-objects

Change-Id: I9e2c643eae7d09f5037485386e6ea53b75587980
Sync module units from oslo

Module units landed in Nova first, then was accepted by oslo with
minor changes. This patch removes nova specific unit module and
test, replaces with module units in oslo.

commit in Oslo:'Add unit constants' f9308560c36918cc

Change-Id: I6054c18a56f59d33a69f4714be19d34fbe9de335
Co-Authored-By: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
Make test_different_fname_concurrency less racy

This test case makes a bad assumption about when a greenthread will run
and signal its done event.  The test code yields once using a sleep and
expects that the done event will get signaled before the test code runs
again.  This may not be the case.  Instead, yield up to 10 times waiting
for the done event to occur.

I was not able to reproduce this failure locally, but we're seeing it
regularly in CI.  It seems that this should resolve it.

Change-Id: I978ae9eef5bb1ac296055dc1613406e4284a625f
Closes-bug: #1270654
Merge "Sync module units from oslo"
Merge "Set objects indirection API in network service"
Merge "Make test_different_fname_concurrency less racy"