Fix test_port_resource_request_inherited_policy test

In 'test_port_resource_request_inherited_policy' test a QoS policy
is assigned to a network. The network used in this test is created
in resource_setup(), which is run as part of setUpClass() phase.
Resources allocated in resource_setup() are shared by all tests
in the class, and are cleaned up in tearDownClass() only after all
test had been run. This means that
test_port_resource_request_inherited_policy test leaks network QoS
policy, that can impact all subsequent tests. Depending on the
order in which tests are run, this can break tests that are
checking port's resource_request attribute.

To avoid affecting other tests, create a dedicated provider network
in test_port_resource_request_inherited_policy test.

Related-Bug: #1922237
Change-Id: Id8758ef4fe56fe7e0e7792270d6ee585313592a6
1 file changed