class VrfValidation {

    protected void vrfServiceValidation(org.onap.so.db.catalog.beans.Service service)
            throws VrfBondingServiceException {
        if (!"BONDING".equalsIgnoreCase(service.getServiceType())
                || !"INFRASTRUCTURE-VPN".equalsIgnoreCase(service.getServiceRole())) {
            throw new VrfBondingServiceException("Service: " + service.getModelName()
                    + " does not have service type of BONDING and does not have service role of INFRASTRUCTURE-VPN");
        }
    }

}