public static boolean foundOnlyDeprecatedVnicProfileMapping(Action action) { return action.isSetVnicProfileMappings() && (!action.isSetRegistrationConfiguration() || !action.getRegistrationConfiguration().isSetVnicProfileMappings()); } }
@Override public Response register(Action action) { ImportVmFromConfParameters params = new ImportVmFromConfParameters(); if (action.isSetRegistrationConfiguration()) { validateClusterMappings(action); validateRoleMappings(action);