public OperationFuture < Network > release ( Network network , DataCenter dataCenter ) { DataCenterMetadata dataCenterMetadata = dataCenterService . findByRef ( dataCenter ) ; NetworkMetadata networkMetadata = findByRef ( network ) ; networkClient . release ( networkMetadata . getId ( ) , dataCenterMetadata . getId ( ) ) ; return new OperationFuture <> ( network , new NoWaitingJobFuture ( ) ) ; }
Release the network for datacenter