class AAINetworkResources {

    public void updateSubnet(L3Network network, Subnet subnet) {
        AAIResourceUri subnetURI = AAIUriFactory.createResourceUri(
                AAIFluentTypeBuilder.network().l3Network(network.getNetworkId()).subnet(subnet.getSubnetId()));
        org.onap.aai.domain.yang.Subnet aaiSubnet = aaiObjectMapper.mapSubnet(subnet);
        injectionHelper.getAaiClient().update(subnetURI, aaiSubnet);
    }

}