def network(site_client, attributes):
    """Return a Network object."""
    return site_client.sites(site_client.default_site).networks.post(
        {
            'cidr': '10.20.30.0/24',
            'attributes': {
                'foo': 'test_network'
            }
        }
    )