'Test that GET / returns expected resources.
The versions document returned by Neutron returns a few other
resources other than just available API versions: it also
states the status of each API version and provides links to
schema.'

@decorators.attr(type='smoke')
@decorators.idempotent_id('cac8a836-c2e0-4304-b556-cd299c7281d1')
def test_api_version_resources(self):

    result = self.network_versions_client.list_versions()
    expected_versions = 'v2.0'
    expected_resources = ('id', 'links', 'status')
    received_list = result.values()
    for item in received_list:
        for version in item:
            for resource in expected_resources:
                self.assertIn(resource, version)
            self.assertIn(version['id'], expected_versions)
