Search in sources :

Example 1 with AddDnsZoneNetwork

use of com.sequenceiq.freeipa.api.v1.dns.model.AddDnsZoneNetwork in project cloudbreak by hortonworks.

the class FreeIpaCreationHandler method addDnsZoneForSubnetIdsRequest.

private AddDnsZoneForSubnetIdsRequest addDnsZoneForSubnetIdsRequest(EnvironmentDto environmentDto) {
    AddDnsZoneForSubnetIdsRequest addDnsZoneForSubnetIdsRequest = new AddDnsZoneForSubnetIdsRequest();
    addDnsZoneForSubnetIdsRequest.setEnvironmentCrn(environmentDto.getResourceCrn());
    AddDnsZoneNetwork addDnsZoneNetwork = new AddDnsZoneNetwork();
    addDnsZoneNetwork.setNetworkId(environmentDto.getNetwork().getNetworkId());
    addDnsZoneNetwork.setSubnetIds(environmentDto.getNetwork().getSubnetIds());
    addDnsZoneForSubnetIdsRequest.setAddDnsZoneNetwork(addDnsZoneNetwork);
    return addDnsZoneForSubnetIdsRequest;
}
Also used : AddDnsZoneForSubnetIdsRequest(com.sequenceiq.freeipa.api.v1.dns.model.AddDnsZoneForSubnetIdsRequest) AddDnsZoneNetwork(com.sequenceiq.freeipa.api.v1.dns.model.AddDnsZoneNetwork)

Aggregations

AddDnsZoneForSubnetIdsRequest (com.sequenceiq.freeipa.api.v1.dns.model.AddDnsZoneForSubnetIdsRequest)1 AddDnsZoneNetwork (com.sequenceiq.freeipa.api.v1.dns.model.AddDnsZoneNetwork)1